npm.io
0.0.1-development.11 • Published 3 years ago

@sequelfinance/ledger

Licence
MIT
Version
0.0.1-development.11
Deps
16
Size
18.2 MB
Vulns
3
Weekly
0

@thorswap-lib/ledger

Install:

yarn add @thorswap-lib/ledger

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

import { SwapKitCore } from '@thorswap-lib/swapkit-core';
import { ledgerWallet } from '@thorswap-lib/ledger';

const client = new SwapKitCore();

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

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 cosmos-client@0.39.2