cosmology-tech / cosmos-kit

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

Add Keplr wallect connect client #455

Closed HeesungB closed 2 months ago

HeesungB commented 2 months ago

Overview

Using @keplr-wallet/wc-client is required to use Wallet Connect on Keplr Mobile. I used @keplr-wallet/wc-client when using WCClient.

It is contiguous with this PR(https://github.com/cosmology-tech/cosmos-kit/pull/451).

https://github.com/chainapsis/keplr-wallet/blob/120a7a32b54a0976ea3d386b3105e2c41eaf41bf/packages/wc-client/src/index.ts

Reasons for the change

You can use the following methods and events available in Keplr Mobile, and DeepLink also works.

requiredNamespaces: {
      methods: [
        'keplr_getKey',
        'keplr_signAmino',
        'keplr_signDirect',
        'keplr_signArbitrary',
        'keplr_enable',
        'keplr_signEthereum',
      ],
      events: ['keplr_accountsChanged'],
    },

What changed.