# @thorswap-lib/web-extensions

## Install

```bash
yarn add @thorswap-lib/web-extensions
```
To use the browser extensions you need to [extend core](packages/swapkit-core#swapkitcore-api) and install the corresponding package for the chain you want to use.

```ts
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](../toolbox-utxo/README.md)                          |
| LTC              | ❌       | ✅    | ❌          | ❌          | ❌       | ❌    | [@thorswap-lib/toolbox-utxo](../toolbox-utxo/README.md)                          |
| BCH              | ❌       | ✅    | ❌          | ❌          | ❌       | ❌    | [@thorswap-lib/toolbox-utxo](../toolbox-utxo/README.md)                          |
| DOGE             | ❌       | ✅    | ❌          | ❌          | ❌       | ❌    | [@thorswap-lib/toolbox-utxo](../toolbox-utxo/README.md)                          |
| ETH              | ✅       | ✅    | ✅          | ✅          | ✅       | ❌    | [@thorswap-lib/toolbox-evm](../toolbox-evm/README.md)                            |
| AVAX             | ✅       | ✅    | ✅          | ✅          | ✅       | ❌    | [@thorswap-lib/toolbox-evm](../toolbox-evm/README.md)                            |
| BSC              | ✅       | ✅    | ❌          | ❌          | ❌       | ❌    | [@thorswap-lib/toolbox-evm](../toolbox-evm/README.md)                            |
| COSMOS (ATOM)    | ❌       | ✅    | ❌          | ❌          | ❌       | ✅    | [@thorswap-lib/toolbox-cosmos](../toolbox-cosmos/README.md)                      |
| BNB              | ❌       | ✅    | ❌          | ❌          | ❌       | ❌    | [@thorswap-lib/toolbox-cosmos](../toolbox-cosmos/README.md)                      |
| THORCHAIN (RUNE) | ❌       | ✅    | ❌          | ❌          | ❌       | ❌    | [@thorswap-lib/toolbox-cosmos](../toolbox-cosmos/README.md) cosmos-client@0.39.2 |

## Links
