@pioneer-platform/evm-web3-wallets
v3.0.1
Published
THORSwap Lib evm-web3-wallets
Downloads
1
Readme
@pioneer-platform/evm-web3-wallets
Install
pnpm add @pioneer-platform/evm-web3-wallets
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 '@pioneer-platform/swapkit-core';
import { evmWallet } from '@pioneer-platform/evm-web3-wallets';
const client = new SwapKitCore();
client.extend({
wallets: [
evmWallet, // MM, Brave, Trust, Coinbase
],
});
client.connectEVMWallet(chains, WalletOption.Metamask)
| chain | Metamask | BraveWallet | Walletconnect | Coinbase | package | | ---------------- | -------- | ----------- | ----------- | -------- | -------------------------------------------------------------------------------- | | BTC | ❌ | ❌ | ❌ | ❌ | @pioneer-platform/toolbox-utxo | | LTC | ❌ | ❌ | ❌ | ❌ | @pioneer-platform/toolbox-utxo | | BCH | ❌ | ❌ | ❌ | ❌ | @pioneer-platform/toolbox-utxo | | DOGE | ❌ | ❌ | ❌ | ❌ | @pioneer-platform/toolbox-utxo | | ETH | ✅ | ✅ | ✅ | ✅ | @pioneer-platform/toolbox-evm | | AVAX | ✅ | ✅ | ✅ | ✅ | @pioneer-platform/toolbox-evm | | BSC | ✅ | ❌ | ✅ | ❌ | @pioneer-platform/toolbox-evm | | COSMOS (ATOM) | ❌ | ❌ | ❌ | ❌ | @pioneer-platform/toolbox-cosmos | | BNB | ❌ | ❌ | ✅ | ❌ | @pioneer-platform/toolbox-cosmos | | THORCHAIN (RUNE) | ❌ | ❌ | ✅ | ❌ | @pioneer-platform/toolbox-cosmos |