Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (21 loc) · 634 Bytes

walletconnect.md

File metadata and controls

30 lines (21 loc) · 634 Bytes

WalletConnect

  1. Install Provider Package
npm install --save @walletconnect/web3-provider

# OR

yarn add @walletconnect/web3-provider
  1. Set Provider Options
import WalletConnectProvider from "@walletconnect/web3-provider";

const providerOptions = {
  walletconnect: {
    package: WalletConnectProvider, // required
    options: {
      infuraId: "INFURA_ID" // required
    }
  }
};

See the full list of options for WalletConnect Web3 provider.

Note: A WalletConnect instance is available on the provider as provider.wc