You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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!
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: