WalletConnect

On this page 7

WalletConnect is an open communication protocol that connects a crypto wallet on one device to a decentralized application (dApp) running in a browser or on another device, so that the application can request transactions and signatures while the private keys stay inside the wallet. In the field of wallets & custody, it is the standard bridge between where assets are controlled and where they are used.

The protocol does not hold funds, does not see keys and does not approve anything on its own. It carries end-to-end encrypted messages between two parties through a relay network, and the user confirms every sensitive action inside the wallet. This design makes it relevant to self-custody, hardware wallets and institutional custody alike, because the signing environment never changes.

How WalletConnect pairs a wallet with a dApp

WalletConnect establishes a connection through a pairing step followed by an authorized session. The dApp generates a pairing URI that contains a topic identifier, a symmetric key and the relay protocol; it shows this URI as a QR code on desktop or opens it as a deep link on mobile.

When the wallet scans or opens the URI, both sides subscribe to the same topic on the relay network. The dApp then sends a session proposal listing the chains, methods and events it needs, and the wallet answers with an approval or a rejection. After approval, a fresh key agreement based on X25519 produces a session key, and messages are encrypted with ChaCha20-Poly1305, so relay operators see only ciphertext and routing topics.

The following table summarizes the stages of a typical connection and what each stage protects.

StageWhat happensSecurity role
PairingURI shared by QR code or deep linkExchanges an initial symmetric key out of band
Session proposaldApp lists chains, methods and eventsGives the user explicit scope before approval
Session settlementWallet approves and derives a session keyCreates a separate encrypted channel
RequestsdApp sends signing or transaction requestsEvery request needs confirmation in the wallet
Disconnect or expiryEither side ends the sessionRemoves standing access to the wallet
Stages of a WalletConnect connection

Protocol versions and core components

The original version 1 relied on a single bridge server and supported one chain per session. Version 2, released in 2022, replaced it with a decentralized relay design, added multi-chain sessions and introduced namespaces that describe permissions per blockchain family. Version 1 infrastructure was shut down in 2023, so current integrations use version 2 only.

Namespaces follow the CAIP standards (Chain Agnostic Improvement Proposals), which identify chains with strings such as eip155:1 for Ethereum mainnet or solana: prefixes for Solana. This chain-agnostic model lets one session cover several networks.

ComponentFunctionTypical example
Relay networkRoutes encrypted messages by topicWebSocket publish and subscribe
NamespacesDefine allowed chains, methods and eventseip155 with eth_sendTransaction
Sign APICarries signing and transaction requestspersonal_sign, eth_signTypedData_v4
Push notificationsWake a mobile wallet when a request arrivesRequest pending while the app is closed
Verify APIChecks whether a dApp domain is genuineWarning on a suspected phishing domain
Main components of the protocol

The organization behind the protocol rebranded its commercial software kits as Reown in 2024, offering AppKit for applications and WalletKit for wallets, while the protocol and the WalletConnect Network kept their name. Developers therefore meet both names in documentation.

WalletConnect compared with other connection methods

WalletConnect is one of several ways a dApp can reach a wallet, and its main advantage is cross-device connectivity. A browser extension such as MetaMask injects a provider object directly into the web page, which is fast but limited to the same browser. A hardware wallet usually connects through USB or Bluetooth to companion software.

MethodDevice scopeMain strengthMain limitation
WalletConnectCross-device and cross-appMobile wallets work with desktop dAppsDepends on relay availability
Injected providerSame browser onlyLow latency and simple setupExtension conflicts between wallets
Embedded walletInside the dAppSmooth onboarding with email loginOften weaker custody guarantees
Direct hardware linkUSB or Bluetooth deviceKeys isolated in a secure elementLimited dApp support without a bridge
Ways to connect a wallet to a dApp

These methods are not mutually exclusive. Many wallets, including hardware wallet companion apps and smart contract wallets, expose a WalletConnect endpoint precisely so that they can reach dApps that lack native support.

Using WalletConnect safely in practice

Safe use rests on one principle: the wallet screen is the source of truth. The dApp can display anything, but only the wallet shows what will actually be signed. Users should read the requested chain, the destination contract and the amount before confirming, and should prefer wallets that decode transactions into readable form.

  • Verify the domain shown in the session proposal against the address typed into the browser.
  • Limit session scope to the chains and methods the dApp genuinely needs.
  • Disconnect idle sessions regularly, because an open session allows new requests at any time.
  • Treat token approvals with suspicion, especially unlimited allowances to unknown contracts.
  • Use a separate hot wallet for experimental dApps and keep long-term holdings in cold storage.

For organizations, WalletConnect also allows institutional custody platforms and multisig wallets to interact with DeFi protocols, because the signing policy, approval workflow and audit trail remain inside the custody system.

Limitations, risks and common misconceptions

The most persistent misconception is that WalletConnect itself can drain a wallet. It cannot: the protocol only carries requests, and losses occur when a user approves a malicious signature. Phishing sites routinely imitate legitimate dApps and present a genuine WalletConnect QR code, so the encrypted channel is secure while the counterparty is hostile.

SymptomLikely causeRecommended response
Funds moved after signingMalicious approval or permit signatureRevoke allowances and move remaining assets
Requests never arriveRelay outage or wallet in backgroundReopen the wallet or reconnect the session
Unsupported chain errorNamespace omitted the required chainReconnect with the correct chain enabled
Stale session in listSession not closed after useDisconnect it from the wallet settings
Typical problems and their causes

Other limitations are operational. The relay adds network latency compared with an injected provider, mobile operating systems may suspend the wallet in the background, and metadata such as timing remains visible to relay infrastructure even though message content is encrypted. Blind signing of opaque typed data remains the largest practical risk.

Put simply

WalletConnect works like a secure intercom between a website and the wallet app on a phone. The website can ask for something, such as a payment or a signature, but it cannot reach into the wallet and take anything.

Each request appears on the phone, and nothing happens until the owner presses confirm. The messages travel in sealed, encrypted form, so the service that delivers them cannot read them. The key point is that control stays with the person holding the wallet, which also means that person must read each request carefully before approving it.

In practice

A freelance designer keeps stablecoins in a mobile self-custody wallet and wants to supply them to a lending protocol from a desktop browser. On the protocol website, the designer selects the WalletConnect option, and a QR code appears. Scanning it with the phone opens a session proposal that names the protocol domain, requests access to Ethereum mainnet and one layer 2 network, and lists the signing methods required.

After approving the session, the designer starts a deposit of 2,000 units. The phone shows two separate requests: a token approval limited to exactly that amount and the deposit transaction itself, each with an estimated network fee. The designer confirms both, sees the deposit settle in the browser within about a minute, and then disconnects the session from the wallet settings. The private key never left the phone, and no standing permission remains for the website to exploit later.