Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Call into Keplr Extension via OfflineSigner interface

See original GitHub issue

Depends 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)


  • Figure out how to test such integration in CI - node/webapp calling extension that posts tx to local blockchain in CI.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

ethanfreycommented, Jul 19, 2020

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 which is used to demo calling the extension from a webapp using cosmosjs. We can port this code over to use cosmjs and provide this as a proof of concept that the integration works

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found