How Does WalletConnect Work?

Establishing a Connection

1. Initiating the Connection:

  • When a user wants to interact with a DApp, they will be presented with a WalletConnect option.

  • The DApp displays a QR code or a deep link for the user to scan or click.

2. Scanning the QR Code:

  • Using a WalletConnect-compatible mobile wallet, the user scans the QR code displayed by the DApp.

  • Alternatively, if the user is on a mobile device, they can click the deep link, which will open their wallet app directly.

Secure Communication

1. Pairing Session:

  • Upon scanning the QR code or clicking the deep link, the wallet and the DApp establish a pairing session.

  • This session is encrypted, ensuring that all data transmitted between the wallet and the DApp remains secure and private.

2. Transaction Signing:

  • When the user initiates a transaction on the DApp, such as a token transfer or a swap, the transaction details are sent to the wallet through the secure WalletConnect session.

  • The user can review the transaction details in their wallet app and approve or reject the transaction.

Last updated