@renproject/multiwallet-ethereum-walletconnect-connector
TypeScript icon, indicating that this package has built-in type declarations

2.6.0 • Public • Published

@renproject/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

parameter type description
debug boolean Print debug messages
rpc { integer: string } A map of chain ids to Websocket RPC URLs
qrcode boolean Whether to show a qrcode modal

Readme

Keywords

none

Package Sidebar

Install

npm i @renproject/multiwallet-ethereum-walletconnect-connector

Weekly Downloads

73

Version

2.6.0

License

MIT

Unpacked Size

17.9 kB

Total Files

7

Last publish

Collaborators

  • bzlwang
  • noah-ren
  • jazg
  • xnyl
  • ryanren