WalletConnect gitbook
WalletConnect is an open protocol to communicate securely between Dapps and Wallets. The protocol establishes a remote pairing between two apps and/or devices using a Relay server to relay payloads.
Last updated
WalletConnect is an open protocol to communicate securely between Dapps and Wallets. The protocol establishes a remote pairing between two apps and/or devices using a Relay server to relay payloads.
Last updated
Introduction to WalletConnect
WalletConnect serves as a decentralized protocol that facilitates communication between users' cryptocurrency wallets and dApps through a secure and trustless connection. It leverages QR code scanning and end-to-end encryption to establish a secure link between the user's wallet and the dApp, ensuring that sensitive information such as private keys is never exposed to third parties. By using WalletConnect, users can interact with a wide range of dApps without compromising the security of their funds.
How WalletConnect Works
WalletConnect operates on a simple yet powerful premise: establishing a secure connection between the user's wallet and the dApp. The process typically involves the following steps:
Initiating Connection: The user initiates a connection with the dApp by scanning a QR code displayed on the dApp's interface using their mobile wallet or browser extension.
Authentication: The QR code contains a unique session ID and cryptographic nonce, which are used to authenticate the connection between the wallet and the dApp.
Encryption: Once the connection is established, all communication between the wallet and the dApp is encrypted using end-to-end encryption, ensuring that sensitive information remains private and secure.
Interaction: With the connection established, the user can interact with the dApp directly from their wallet interface, such as signing transactions, accessing DeFi protocols, or interacting with NFT marketplaces.
Features of WalletConnect
1. Cross-Platform Compatibility:
WalletConnect is compatible with a wide range of cryptocurrency wallets, including mobile wallets, browser extensions, and hardware wallets, ensuring accessibility for users across different platforms.
2. Decentralized Architecture:
As a decentralized protocol, WalletConnect operates without the need for intermediaries or central authorities, ensuring trustless and permissionless interaction between wallets and dApps.
3. Secure Communication:
All communication between the user's wallet and the dApp is encrypted using end-to-end encryption, protecting sensitive information from interception by malicious actors.
4. User Control:
WalletConnect puts users in control of their interactions with dApps, allowing them to approve or reject requests for transaction signatures and other actions directly from their wallet interface.