8.0.0 • Published 2 years ago

@acentswap/multiwallet-ethereum-walletconnect-connector v8.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@acentswap/multiwallet-ethereum-walletconnect-connector

This package provides a connector for WalletConnect mobile wallets.

Usage

new EthereumWalletConnectConnector({
    rpc: {
        // Note, many WalletConnect wallets don't support non-mainnet networks
        // Metamask Mobile has been tested and confirmed to work however
        42: `https://kovan.infura.io/v3/${process.env.REACT_APP_INFURA_KEY}`,
    },
    qrcode: true,
    debug: true,
});

Parameters

parametertypedescription
debugbooleanPrint debug messages
rpc{ integer: string }A map of chain ids to Websocket RPC URLs
qrcodebooleanWhether to show a qrcode modal