* Sign in button to connect account later
* Only use user wallet on app startup if it's already open/connected
* Check required network before using user provider
closes #82
thinking out loud:
we set `requireSupportedNetwork = false` in environment.js:85 (if WEB3_PROVIDER_URL is set)
and if it is not false we check if the network is in this list: https://github.com/67P/kredits-contracts/blob/master/lib/kredits.js#L87
Yes, happy to review a future PR with that change! This PR is only about requiring the only currently available network, so that the current web app does the right thing.
Edit: actually, it's mostly about signing in after having loaded the app. The network requirement is the smallest part of it.
Yes, happy to review a future PR with that change! This PR is only about requiring the only currently available network, so that the current web app does the right thing.
Edit: actually, it's mostly about signing in after having loaded the app. The network requirement is the smallest part of it.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
closes #82
@@ -126,3 +125,4 @@} else {instantiateWithoutAccount();}}thinking out loud:
we set
requireSupportedNetwork = falsein environment.js:85 (if WEB3_PROVIDER_URL is set)and if it is not false we check if the network is in this list: https://github.com/67P/kredits-contracts/blob/master/lib/kredits.js#L87
@@ -126,3 +125,4 @@} else {instantiateWithoutAccount();}}Yes, happy to review a future PR with that change! This PR is only about requiring the only currently available network, so that the current web app does the right thing.
Edit: actually, it's mostly about signing in after having loaded the app. The network requirement is the smallest part of it.
Tried this locally, works as advertised, LGTM! 👍