-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setNetwork function similar to connect #239
Comments
Agreed! Take a look at the new wallet standard we are about to follow from now on, especially the |
That looks like the perfect fit, thanks for the response. Looking forward to this standard. Happy to help work on the Aptos Wallet Adapter when the AIP is finalized! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have our own custom wallet connector modal using the adapter. We have an issue on our public testnet where when a user has their wallet set to mainnet, we have no way of helping them switch their wallet to testnet. The user must manually set their wallet to testnet, then try to connect to our dapp again.
It would be great if we could show users a prompt with a button to swap networks. This would also be useful for projects to do the opposite (ie a wallet is set to testnet but the user is trying to access the mainnet page).
There is a helper network() that shows the network. I think it would be helpful if there was a function like setNetwork(chainId || NetworkName).
The text was updated successfully, but these errors were encountered: