-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Is your feature request related to a problem? Please describe.
If you have a Stacks application on testnet / mainnet, signing a message depends on the current chain selected in the wallet. Let's say your wallet is on "mainnet" and your testnet app is requesting a message signature, the wallet (both leather and xverse) will show an error saying that the selected chain ID is not the one requested for the signature.
To fix that problem, there should be a method so that the client can request to change the selected chain in the wallet (which can be subject to user approval) similar to how it's done on Ethereum.
Describe the solution you'd like
The SDK should have a function to request a chain ID to be changed.
Metadata
Metadata
Assignees
Labels
No labels