Improve account connect/loading, check network #154
Reference in New Issue
Block a user
Delete Branch "feature/sign_in"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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! 👍