cosmology-tech / cosmos-kit

Universal wallet connector for the Cosmos ⚛️
https://cosmology.zone/products/cosmos-kit
BSD 3-Clause Clear License
182 stars 128 forks source link

Metamask integration #85

Open ghost opened 1 year ago

ghost commented 1 year ago

I like to verify, not trust.

Let's start with the fact that Metamask is the defacto most popular crypto wallet in the world.

10M metamask extension downloads vs 700k Keplr extension downloads

https://helixapp.com/

Injective across all of their dapps have managed to hook into metmask, keplr and many other wallets. They are cosmos, cosmwasm, not evm like evmos, incase anyone is wondering.

Unfortunately, they aren't open source about their wallet connect wrapper.

With the possibility of reducing the cosmos boarding friction to a group 10x current the user base, this has to be a strong priority for the team.

Let's make it happen.

Outside of cosmostation, Keplr's mobile is closed source, leap wallet is all closed source (as of writting). Let's make sure we provide users with a fully open source option to the community without having to trust the leap, keplr devs, not that I think they would bring harm to users. But I like to verify, not trust.

ghost commented 1 year ago

https://www.npmjs.com/package/secretjs#metamask

Secretjs has also figured out metamask integration

assafmo commented 1 year ago

https://twitter.com/assafmo/status/1593914188845535238

pyramation commented 1 year ago

MetaMask demo: https://secret-metamask-demo.pages.dev

From Assaf's tweet:

Fix SIGN_MODE_EIP_191: https://github.com/scrtlabs/cosmos-sdk/pull/183 Use prettified Amino JSON so it'll look good on MetaMask: https://github.com/scrtlabs/cosmos-sdk/pull/194 JS/TS signer: https://github.com/scrtlabs/secret.js/blob/898529e/src/wallet_metamask.ts SDK discussion: https://github.com/cosmos/cosmos-sdk/discussions/13892

gustavomauricio commented 11 months ago

noticed this "issue" from some months ago and wondering if your still considering supporting metamask for chains like injective?