kangarang / tcr-ui

A client-side shell to interact with token-curated registries
MIT License
68 stars 28 forks source link

Login UX warning: Registry not deployed #13

Closed kangarang closed 6 years ago

kangarang commented 6 years ago

IF: We pursue a plug-n-play style where login involves (provider + account + network + Registry contract deployed address)...

THEN: Login modal should alert the User when the User enters the address of a Registry that is not deployed on the selected network.

e.g. "Registry is not deployed at 0x123abc456def on Rinkeby Network"

Uncaught (in promise) Error: Cannot create instance of Registry; no code at address 0x1489295c2433b571dbeee70672efeab01cf3234c

IF: there IS code there... what do?

kangarang commented 6 years ago

and how should the default address be determined?