<pnpm|bun> add @swapkit/wallet-keystore
import { SwapKit } from '@swapkit/core'
import { keystoreWallet } from '@swapkit/wallet-keystore'
const swapKitClient = SwapKit({
wallets: { ...keystoreyWallet },
});
const phrase = "elephant car hammer ..."
const index = 0
const supportedChains = [Chain.Arbitrum, Chain.Avalanche, Chain.Binance,
Chain.BinanceSmartChain, Chain.Bitcoin, Chain.BitcoinCash, Chain.Chainflip,
Chain.Cosmos, Chain.Dash, Chain.Dogecoin, Chain.Ethereum, Chain.Kujira,
Chain.Litecoin, Chain.Maya, Chain.Optimism, Chain.Polkadot, Chain.Polygon,
Chain.THORChain,
]
await swapKitClient.connectKeystore(supportedChains, phrases, index)
const btcWallet = await swapKitClient.getWalletWithBalance(Chain.Bitcoin)
const thorWallet = await swapKitClient.getWalletWithBalance(Chain.THORChain)