Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@walletconnect/modal-core
Advanced tools
#### 🔎 [Examples](https://github.com/WalletConnect/web3modal-examples)
@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.
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);
});
Web3Modal is a library that allows you to connect to various wallet providers in a simple and customizable way. It provides a modal interface similar to @walletconnect/modal-core but supports a wider range of wallet providers.
Fortmatic is a package that allows users to connect to your application using their phone number or email. It provides a different approach to wallet connection compared to @walletconnect/modal-core, focusing on ease of use and accessibility.
Torus is a user-friendly wallet solution that allows users to log in using their social accounts. It provides a seamless experience for users who may not be familiar with traditional cryptocurrency wallets, offering an alternative to the modal-based approach of @walletconnect/modal-core.
Simplest and most minimal way to connect your users with WalletConnect.
Please follow developer docs to set up WalletConnect Modal locally.
FAQs
#### 🔎 [Examples](https://github.com/WalletConnect/web3modal-examples)
We found that @walletconnect/modal-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers collaborating on the project.
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.