Closed coder5876 closed 8 years ago
Would be nice if you could ignore whitespace changes in the diff. Right now it looks like the whole file token page.jsx
got changed while in reality it's just a couple lines.
I'm musing on this...
Since uPort isn't out yet, I want users to download Metamask if it has not been injected yet (give them a notification).
So putting this on ice for now until uPort is fully out? Unless we spend time to make a choice modal?
ie, if site starts & there's no web3. Tell user: -> You need to install Metamask or use Mist. -> Or use uPort.
Choose -> refresh. Save choice in localstorage. Then have a settings cog built into the nav bar, to swap out method of interaction.
Thanks for this @christianlundkvist. Went with a slightly different, but incorporated your code.
Added uPort integration. Also changed a synchronous call
web3.eth.accounts
to asyncweb3.eth.getAccounts()
.