Consensys / Token-Factory

Basic Token Factory dapp.
479 stars 308 forks source link

web3 environment checking #5

Closed simondlr closed 8 years ago

simondlr commented 8 years ago

This should work in Mist, Metamask or a normal RPC mode.

If not one of those are present, should it switch to a native browser lightwallet? Or recommend it, before switching to that?

Ideally, I'd want this to work on a mobile browser until we have the capabilities to sign these properly.

simondlr commented 8 years ago

For now it simply checks if web3 has not been injected (metamask). Otherwise it has flags and notifications to install Metamask.