Socket
Socket
Sign inDemoInstall

walletconnect

Package Overview
Dependencies
5
Maintainers
2
Versions
196
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    walletconnect

WalletConnect SDK


Version published
Weekly downloads
607
increased by2.36%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

WalletConnect SDK

WalletConnect SDK

For more details, read the documentation

Example

import WalletConnect from "walletconnect";

//  Create WalletConnect SDK instance
const wc = new WalletConnect();

//  Connect session (triggers QR Code modal)
const connector = await wc.connect();

//  Get your desired provider

const web3Provider = await wc.getWeb3Provider({
  infuraId: "<INSERT_INFURA_APP_ID>",
});

const channelProvider = await wc.getChannelProvider();

const starkwareProvider = await wc.getStarkwareProvider({
  contractAddress: "<INSERT_CONTRACT_ADDRESS>",
});

const threeIdProvider = await wc.getThreeIdProvider();

Keywords

FAQs

Last updated on 26 Apr 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc