Comment on page
Keystore
pnpm
yarn
npm
pnpm add @swapkit/wallet-keystore
yarn add @swapkit/wallet-keystore
npm add @swapkit/wallet-keystore
import { SwapKitCore, Chain } from '@swapkit/core';
import { keystoreWallet } from '@swapkit/wallet-keystore';
const client = new SwapKitCore();
client.extend({ wallets: [keystoreWallet] });
await client.connectKeystore([Chain.ETH, Chain.THORChain, Chain.Maya], "secret 12 or more phrase words")
Wallets are used via
@swapkit/core
. Check out it's API ReferenceLast modified 1mo ago