<pnpm|bun> add @swapkit/wallet-wc
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)
[Chain.THORChain, Chain.Maya, Chain.Cosmos, Chain.Kujira]
COSMOS
[Chain.Arbitrum, Chain.Avalanche, Chain.BinanceSmartChain, Chain.Ethereum, Chain.Optimism, Chain.Polygon]
EVM
Last updated 7 months ago