@swapkit/wallet-wc

Installation

<pnpm|bun> add @swapkit/wallet-wc

Integration

Implementation with @swapkit/core

import { SwapKit } from '@swapkit/core'
import { walletconnectWallet } from '@swapkit/wallet-wc'

const swapKitClient = SwapKit({
  wallets: { ...walletconnectWallet },
});

await swapKitClient.connectWalletconnect([Chain.Ethereum])

const btcWallet = await swapKitClient.getWalletWithBalance(Chain.Bitcoin)

Wallet Support

Supported ChainsToolbox

[Chain.THORChain, Chain.Maya, Chain.Cosmos, Chain.Kujira]

[Chain.Arbitrum, Chain.Avalanche, Chain.BinanceSmartChain, Chain.Ethereum, Chain.Optimism, Chain.Polygon]

Last updated