yarn add @thorswap-lib/web-extensions
To use the browser extensions you need to extend core and install the corresponding package for the chain you want to use.
import { SwapKitCore } from '@sequelfinance/swapkit-core';
import { evmWallet, keplrWallet, xdefiWallet } from '@sequelfinance/web-extensions';
const client = new SwapKitCore();
client.extend({
wallets: [
evmWallet, // MM, Brave, Trust, Coinbase
keplrWallet,
xdefiWallet
],
});
chain | Metamask | XDefi | BraveWallet | TrustWallet | Coinbase | Keplr | 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 [email protected] |