Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#9] Support API key #12

Merged
merged 27 commits into from
Aug 25, 2020
Merged

[#9] Support API key #12

merged 27 commits into from
Aug 25, 2020

Conversation

daenamkim
Copy link
Contributor

@daenamkim daenamkim commented Jul 27, 2020

Resoves #9

  • Support API key instead of login/password
  • Fix all broken API call, sending transaction
  • Add UI tests with mock3
  • Refactor

Copy link
Contributor

@shoenseiwaso shoenseiwaso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice updates! Will leave the bulk of the review to @n0thingness (and/or others), but one note about API keys and unique URLs.

src/App.vue Outdated Show resolved Hide resolved
src/App.vue Outdated Show resolved Hide resolved
@daenamkim
Copy link
Contributor Author

@n0thingness Please take a look at when you are available, no need to rush. :)

@william william self-assigned this Aug 21, 2020
Copy link
Collaborator

@william william left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@daenamkim , please do a review on my additional changes before merging. In the end I pulled out the Mock3 config. It is supremely dangerous to encourage users to store private Ethereum keys in plain text. Especially in the source code. And even more so because in our current setup they will be packaged with the production build.

I think we can revisit this in the future but there has to be a way to make it:

This will be the first interaction with MultiBaas for many new users, perhaps new to blockchain, and we do not want their first action to be exporting private keys insecurely 😉

Anyway, it was a good idea to add tests 👍 I kept the get balance test and marked the mint test as 'skip'.

Thanks for upgrading us to the API from the username / password and thanks for being patient about the review! 🍦

@daenamkim daenamkim merged commit 8bdbc0d into master Aug 25, 2020
@daenamkim daenamkim deleted the 9-support-api-key branch August 25, 2020 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants