Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@walletconnect/web3-subprovider

1.3.1 • Public • Published

WalletConnect Web3 Subprovider

Web3 Subprovider for WalletConnect

For more details, read the documentation

Example

import Web3 from "web3";
import ProviderEngine from "web3-provider-engine";
import WalletConnectSubprovider from "@walletconnect/web3-subprovider";
 
const engine = new ProviderEngine();
 
// Add other subproviders
engine.addProvider(...);
 
engine.addProvider(
  new WalletConnectSubprovider({
    bridge: "https://bridge.walletconnect.org" // Required
  })
);
 
engine.start();
 
const web3 = new Web3(engine);

Install

npm i @walletconnect/web3-subprovider

DownloadsWeekly Downloads

445

Version

1.3.1

License

LGPL-3.0

Unpacked Size

1.22 MB

Total Files

8

Last publish

Collaborators

  • avatar