-
How can i achieve to allow connection to just rinkeby and my local chains ?
can someone explain me what is that unsupported value used for ? |
Beta Was this translation helpful? Give feedback.
Answered by
tmm
Mar 17, 2022
Replies: 1 comment 1 reply
-
You can’t completely restrict the chain a wallet is connected to (since wallets can choose whatever chain they want), but you can set supported chains for connectors. When someone connects or uses a chain that is not specified, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tmm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can’t completely restrict the chain a wallet is connected to (since wallets can choose whatever chain they want), but you can set supported chains for connectors. When someone connects or uses a chain that is not specified,
unsupported
is set totrue
. You can use this value to restrict access or notify the user to switch chains (useNetwork
can help with this).