@pioneer-platform/walletconnect
v3.0.3
Published
THORSwap Lib walletconnect
Downloads
4
Readme
@pioneer-platform/walletconnect
Install:
pnpm add @pioneer-platform/walletconnect
To use the walletconnect you need to extend core with walletconnectWallet
and install the corresponding package for the chain you want to use.
import { SwapKitCore } from '@pioneer-platform/swapkit-core';
import { walletconnectWallet } from '@pioneer-platform/walletconnect';
const client = new SwapKitCore();
client.extend({
config: {
walletConnectProjectId: '...',
},
wallets: [walletconnectWallet],
});
Supported chains:
| chain | status | packages | | ---------------- | ------ | -------------------------------------------------------------------------------- | | 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 |