Creit-Tech / Stellar-Wallets-Kit

A kit to handle all Stellar Wallets at once with a simple API
https://stellarwalletskit.dev
MIT License
36 stars 20 forks source link

No way to update network after establishing wallet connection #36

Closed mihaic195 closed 2 months ago

mihaic195 commented 2 months ago

There is no way to update the network (PUBLIC/TESTNET) after initial wallet connection. I should be able to listen to wallet changes and adjust the selected network accordingly, without re-establishing a new connection.

earrietadev commented 2 months ago

@mihaic195 listening to network changes is not part of the SEP-0043 standard which is what this kit follows, you can still define the network to use when asking for signing but be aware that not all wallets handle this or not all of them support all the networks.

mihaic195 commented 2 months ago

@earrietadev Thanks for the answer, this helped understand what I need!