Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@walletconnect/web3-subprovider

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@walletconnect/web3-subprovider

Web3 Subprovider for WalletConnect


Version published
Weekly downloads
26
decreased by-88.29%
Maintainers
1
Weekly downloads
 
Created

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);

FAQs

Package last updated on 09 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts