Call into Keplr Extension via OfflineSigner interface
See original GitHub issueDepends on #264
A web dApp should be able to use this same Wallet interface that it uses to access local key material stored in the browser, to send a signing request to the Keplr extension. Ideally work with @thunnini to get the client code working. This has two steps:
- Submit a simple
x/bank
SendMsg
to the Keplr extension to be properly signed - Add support for
x/wasm
CosmWasm 0.9 messages to Keplr and sign them with the extension (requires many changes to Keplr)
Bonus:
- Figure out how to test such integration in CI - node/webapp calling extension that posts tx to local blockchain in CI.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Define common Wallet interface #264 - cosmos/cosmjs - GitHub
Figure out a common API to represent local keys, chrome extensions that can sign, ... Call into Keplr Extension via OfflineSigner interface #267....
Read more >Learn to Integrate Keplr - Interchain Developer Academy
Build applicatiosn that interact with the Keplr browser extension. In this section, you will learn more about: Detecting Keplr. Getting chain information.
Read more >Use with CosmJs - Keplr wallet
You can connect Keplr to CosmJS using the OfflineSigner . ... The window.keplr.enable(chainId) method will request the user to unlock their Keplr extension...
Read more >Get started with Keplr Browser Extension | Chainapsis - Medium
How to create a new Account via One-Click Login · Choose the option [Sign in with Google] · Now enter the email|phone number...
Read more >Building a Simple Clicker Game on Osmosis Testnet - That Node
Now you have successfully completed setting up an Osmosis client node in Testnet. ... verify whether Keplr extension is installed on user's web...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See
I was thinking about how to demo this and do we need to build a minimal wallet as a frontend app to show integration.
Then I came across https://github.com/chainapsis/keplr-example/blob/master/src/main.js which is used to demo calling the extension from a webapp using
cosmosjs
. We can port this code over to usecosmjs
and provide this as a proof of concept that the integration works