Skip to content

Latest commit

 

History

History
 
 

keystore

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@thorswap-lib/keystore

Install:

yarn add @thorswap-lib/keystore

To use the keystore you need to extend core with keystoreWallet and install the corresponding package for the chain you want to use.

import { SwapKitCore } from '@thorswap-lib/swapkit-core';
import { keystoreWallet } from '@thorswap-lib/keystore';

const client = new SwapKitCore();

client.extend({
  wallets: [keystoreWallet],
});

Supported chains:

chain status package
BTC @thorswap-lib/toolbox-utxo
LTC @thorswap-lib/toolbox-utxo
BCH @thorswap-lib/toolbox-utxo
DOGE @thorswap-lib/toolbox-utxo
ETH @thorswap-lib/toolbox-evm
AVAX @thorswap-lib/toolbox-evm
BSC @thorswap-lib/toolbox-evm
COSMOS (ATOM) @thorswap-lib/toolbox-cosmos
BNB @thorswap-lib/toolbox-cosmos
THORCHAIN (RUNE) @thorswap-lib/toolbox-cosmos