Last updated 7 months ago
<pnpm|bun> add @swapkit/wallet-okx
Implementation with @swapkit/core
import { SwapKit } from '@swapkit/core' import { okxWallet } from '@swapkit/wallet-okx' const swapKitClient = SwapKit({ wallets: { ...okxWallet }, }); await swapKitClient.connectOkx([Chain.Bitcoin, Chain.Ethereum, Chain.Cosmos]) const atomWallet = await swapKitClient.getWalletWithBalance(Chain.Cosmos)
[Chain.Cosmos]
COSMOS
[Chain.Arbitrum, Chain.Avalanche, Chain.BinanceSmartChain, Chain.Optimism, Chain.Polygon, Chain.Ethereum]
EVM
[Chain.Bitcoin]
UTXO