You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP โ†’
Socket
Socket
Sign inDemoInstall

@walletconnect/modal-core

Package Overview
Dependencies
Maintainers
10
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@walletconnect/modal-core

#### ๐Ÿ”Ž [Examples](https://github.com/WalletConnect/web3modal-examples)


Version published
Weekly downloads
222K
decreased by-2.8%
Maintainers
10
Created
Weekly downloads
ย 

Package description

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

Readme

Source
๐Ÿ“š Documentation
๐Ÿ”Ž Examples
๐Ÿงช Laboratory

WalletConnect Modal

Simplest and most minimal way to connect your users with WalletConnect.

Development

Please follow developer docs to set up WalletConnect Modal locally.

Keywords

FAQs

Package last updated on 26 Jul 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc