Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 2 KB

README.md

File metadata and controls

41 lines (31 loc) · 2 KB

@thorswap-lib/walletconnect

Install:

pnpm add @thorswap-lib/walletconnect

To use the walletconnect you need to extend core with walletconnectWallet and install the corresponding package for the chain you want to use.

import { SwapKitCore } from '@thorswap-lib/swapkit-core';
import { walletconnectWallet } from '@thorswap-lib/walletconnect';

const client = new SwapKitCore();

client.extend({
  config: {
    walletConnectProjectId: '...',
  },
  wallets: [walletconnectWallet],
});

Supported chains:

chain status packages
BTC @thorswap-lib/toolbox-utxo
LTC @thorswap-lib/toolbox-utxo
BCH @thorswap-lib/toolbox-utxo
DOGE @thorswap-lib/toolbox-utxo
ETH @thorswap-lib/toolbox-evm
AVAX @thorswap-lib/toolbox-evm
BSC @thorswap-lib/toolbox-evm
COSMOS (ATOM) @thorswap-lib/toolbox-cosmos
BNB @thorswap-lib/toolbox-cosmos
THORCHAIN (RUNE) @thorswap-lib/toolbox-cosmos

Links: