@taariq posted in How to use Keplr's keplr_keystorechange event. Hi @jsoneaday. You only need to call keplrOfflineSigner.

07 Jan 2023, 06:55
@taariq posted in How to use Keplr's keplr_keystorechange event Hi @jsoneaday You only need to call keplrOfflineSigner.getAccounts() when the event occurs, then pass that wallet into the SecretNetworkClient you’re using to sign transactions or run queries. Here’s a simple example

Same news in other sources

3
Secret
SecretSCRT #429
Telegram
07 Jan 2023, 15:53
@AustinW posted in How to use Keplr's keplr_keystorechange event I would recommend taking a look at griptape.js, a bootstrapping framework to get you started with keplr and secret network smart contracts. You’ll find some answers in there for how to use keplr events. I’m a front end developer for shade protocol, let me know if you have any questions!
@AustinW posted in How to use Keplr's keplr_keystorechange event. I would recommend taking a look at griptape.
@AustinW posted in How to use Keplr's keplr_keystorechange event I would recommend taking a look at griptape.js, a bootstrapping framework to get you started with keplr and secret network smart contracts. You’ll find some answers in there for how to use keplr events. https://griptapejs.com/ I’m a front end developer for shade protocol, let me know if you have any questions!
Secret
SecretSCRT #429
Telegram
07 Jan 2023, 15:43
@jsoneaday posted in How to use Keplr's keplr_keystorechange event Thanks guys. And this is another thing that seems weird to me. Even after I change accounts. The address directly under the account name listed within the extension screen does not change. It’s the same address between account changes. Why is that? [Screenshot 2023-01-07 at 10.41.52 AM]
@jsoneaday posted in How to use Keplr's keplr_keystorechange event. Thanks guys.
@jsoneaday posted in How to use Keplr's keplr_keystorechange event Thanks guys. And this is another thing that seems weird to me. Even after I change accounts. The address directly under the account name listed within the extension screen does not change. It’s the same address between account changes. Why is that? [Screenshot 2023-01-07 at 10.41.52 AM]
Secret
SecretSCRT #429
Telegram
07 Jan 2023, 09:13
@assafmo (Assaf Morami) posted in How to use Keplr's keplr_keystorechange event Yes you need to rerun enable() and getOfflineSigner()
@assafmo (Assaf Morami) posted in How to use Keplr's keplr_keystorechange event.
@assafmo (Assaf Morami) posted in How to use Keplr's keplr_keystorechange event Yes you need to rerun enable() and getOfflineSigner()