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

@walletconnect/modal-core

Package Overview
Dependencies
Maintainers
9
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@walletconnect/modal-core

  • 2.4.8-0f22fc8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
9
Weekly downloads
 
Created

What is @walletconnect/modal-core?

@walletconnect/modal-core is a package that provides core functionalities for integrating WalletConnect modals into your web applications. It allows users to connect their cryptocurrency wallets to your application using a modal interface.

What are @walletconnect/modal-core's main functionalities?

Initialize WalletConnect Modal

This feature allows you to initialize the WalletConnect modal with your project ID and relay URL. This is the first step in setting up the modal for use in your application.

const WalletConnectModal = require('@walletconnect/modal-core');
const modal = new WalletConnectModal({
  projectId: 'your_project_id',
  relayUrl: 'wss://relay.walletconnect.org'
});

Open WalletConnect Modal

This feature allows you to open the WalletConnect modal, enabling users to select and connect their wallets.

modal.open();

Handle WalletConnect Session

This feature allows you to handle session updates from WalletConnect. You can listen for session updates and handle them accordingly in your application.

modal.on('session_update', (session) => {
  console.log('Session updated:', session);
});

Other packages similar to @walletconnect/modal-core

Keywords

FAQs

Package last updated on 20 Jun 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc