The WalletConnect relay protocol operates as the message-passing backbone for the entire protocol suite, enabling wallets and dapps to exchange session_proposal, session_request, and notification payloads. Its evolution is governed by a strict versioning scheme that decouples the relay's internal network operations from the higher-level Sign, Auth, and Push APIs. When a relay upgrade is activated, it typically modifies the underlying GossipSub mesh parameters, subscription management logic, or message store behavior. These changes are designed to be backward-compatible at the wire level, meaning a wallet running an older @walletconnect/relay-client can still publish and subscribe to messages on a network that has adopted a newer relay specification, provided the client adheres to the minimum supported protocol version.

Relay Protocol Versioning and Network Upgrades
How the Relay Protocol Evolves
A technical breakdown of how the WalletConnect relay protocol manages versioned upgrades to its message publishing, subscription, and GossipSub network layers without breaking active sessions.
The primary mechanism for network upgrades is the introduction of a new relay protocol version string, negotiated during the initial WebSocket connection to a relay node. A client announces its supported versions, and the relay server selects the highest mutually supported version. This handshake allows the network to operate with multiple active protocol versions simultaneously, creating a migration window where upgraded nodes coexist with legacy clients. A breaking change in message serialization, topic hashing, or subscription filtering would necessitate a new major version, while optimizations to GossipSub peer scoring or TTL management can be shipped as minor version bumps. Wallet developers and dapp operators must monitor the RELAY_PROTOCOL_VERSION constant in the official SDKs and ensure their infrastructure is updated before a deprecated version is fully removed from the bootstrap nodes.
The operational impact of a relay upgrade is concentrated on infrastructure operators running self-hosted relay nodes and on wallet SDK integration cycles. When a new relay version is activated, the WalletConnect Foundation coordinates a phased rollout: first to the official public relay infrastructure, then publishing updated SDK releases that default to the new version. Teams operating private relay clusters must plan their own upgrade windows to match the network's minimum supported version, or risk their users being unable to establish connections. Chainscore Labs assists protocol architects and infrastructure teams in reviewing relay upgrade specifications, assessing the compatibility of custom relay implementations, and planning migration strategies that prevent service disruption during version transitions.
Relay Protocol Snapshot
Operational impact matrix for versioned changes to the WalletConnect relay protocol, covering message publishing, subscription management, and GossipSub network upgrades. Helps wallet developers, dapp teams, and infrastructure operators evaluate upgrade readiness and backward compatibility risks.
| Area | What changes | Who is affected | Action |
|---|---|---|---|
Message Publishing | New message envelope format or wire protocol version bump for publish/subscribe operations | Wallet SDK developers, dapp SDK developers, relay node operators | Verify SDK compatibility with new envelope format; test message delivery across mixed-version relay nodes |
Subscription Management | Changes to subscription request semantics, topic filtering, or subscription lifecycle events | Wallet developers managing active sessions, dapp teams with persistent subscriptions | Audit subscription renewal logic; confirm graceful handling of subscription rejection or expiration under new rules |
GossipSub Network | Upgrade to libp2p GossipSub parameters, mesh topology, or peer scoring thresholds | Relay infrastructure operators, self-hosted relay node runners | Update relay node configurations to match new GossipSub parameters; monitor peer connectivity and message propagation latency post-upgrade |
Backward Compatibility | Guarantees or breakage between relay protocol versions for in-flight sessions | Wallets and dapps with long-lived sessions spanning upgrade windows | Review official compatibility matrix; test session persistence across relay version boundaries before upgrade activation |
Deprecation Timeline | Announced end-of-support for older relay protocol versions or specific message types | All integrators using deprecated relay versions, operations teams managing upgrade schedules | Map deprecation dates to internal release cycles; prioritize SDK updates before hard cutoff to prevent session failures |
SDK Migration Surface | Required SDK version bumps to support new relay protocol features or remove deprecated paths | Mobile wallet teams, web wallet teams, dapp frontend engineers | Audit current SDK versions against minimum required versions; plan staged rollout with fallback to older relay for canary testing |
Relay Node Discovery | Changes to bootstrap node lists, DHT configuration, or peer discovery mechanisms | Relay node operators, infrastructure teams running private relay clusters | Update bootstrap peer lists and DHT bootstrap configuration; verify connectivity to public relay network after changes propagate |
Versioning Semantics and GossipSub Topology
How the WalletConnect relay protocol uses semantic versioning and GossipSub topology rules to roll out network upgrades without breaking active sessions.
The WalletConnect relay protocol enforces a strict semantic versioning contract for its irn (Inbox Relay Network) wire protocol. A major version bump signals a hard break in message serialization or subscription management that is not backward compatible. Minor and patch versions, however, guarantee wire-level compatibility, allowing nodes running different minor versions to coexist in the same GossipSub mesh. This design is the primary mechanism that enables network-wide upgrades to roll out without forcing a coordinated flag day or breaking active sessions between wallets and dapps.
The relay network's GossipSub topology is sharded by topic, where each topic corresponds to a specific protocol application (e.g., Sign, Chat, Push) and its active version. When a new minor version of a protocol is deployed, relay nodes begin subscribing to the new topic while maintaining their subscription to the old one. This creates a transient dual-topic period where messages published on either topic are propagated. The topic string itself encodes the protocol name and version, making the routing rules explicit and machine-readable. A node that has not yet upgraded simply ignores the new topic, preserving its ability to serve legacy clients until it is ready to cut over.
For operators and SDK integrators, the operational consequence is that relay upgrades are not atomic network events but gradual topology shifts. Monitoring the subscription count and message volume on both the old and new topics provides a leading indicator of ecosystem adoption. A premature deprecation of the old topic by a wallet or dapp before its counterparties have migrated will result in silent message delivery failures. Teams managing their own relay infrastructure should treat topic lifecycle management as a critical operational procedure, distinct from application-layer SDK updates. Chainscore Labs can assist infrastructure operators in designing monitoring for topic migration health and validating that their upgrade rollout does not partition their user base.
Who Is Affected by Relay Upgrades
Wallet SDK Integration
Wallet teams are the primary consumers of relay protocol upgrades. Each version change requires updating the internal WalletConnect client library to handle new message encoding, subscription management, or transport-layer behavior.
Critical actions:
- Monitor relay specification releases and client library changelogs.
- Test session establishment and message delivery against the upgraded relay before enforcement.
- Ensure backward compatibility with dapps that have not yet updated their SDKs.
A missed upgrade can prevent users from connecting to any dapp, making relay version tracking a core operational responsibility.
Operational Impact Areas
Relay protocol upgrades change how messages are published, subscribed to, and routed across the network. These areas require direct action from infrastructure operators and integration teams to maintain compatibility and performance.
Backward Compatibility and Session Continuity
Relay upgrades are designed to be backward compatible with existing sessions. A session established under an older relay version should persist and continue to function after the upgrade. However, teams should monitor active session health during the rollout. A spike in session ping failures or unexpected disconnects indicates a compatibility edge case that requires immediate investigation and a potential hotfix to the client's message handling logic.
Message Publishing and Subscription Lifecycle
Upgrades can alter the publish/subscribe API semantics, including TTL management, subscription renewal requirements, and message acknowledgment patterns. Integration tests must validate the full lifecycle: subscribe, publish, receive acknowledgment, and unsubscribe. A common failure mode is a client that successfully publishes but fails to handle a new acknowledgment format, leading to unnecessary retries that flood the relay and degrade performance for all connected peers.
Monitoring and Alerting Thresholds
Operators should recalibrate monitoring dashboards after a relay upgrade. New protocol behavior can change baseline metrics for message latency, publish success rates, and peer connection counts. Alerts set for the previous version may trigger false positives or, worse, fail to fire on genuine degradation. Establish a post-upgrade observation window to capture the new normal before locking in alert thresholds.
Relay Upgrade Risk Matrix
Evaluates the operational risks, compatibility impacts, and required actions for wallet and dapp teams when the WalletConnect relay protocol undergoes versioned upgrades to message publishing, subscription management, or the underlying GossipSub network.
| Area | What changes | Who is affected | Action |
|---|---|---|---|
Message Publishing API | New relay version may alter the payload structure, rate limits, or authentication envelope for published messages. | Wallet SDKs, dapp SDKs, and any backend service directly calling the relay API. | Review the new API specification. Update SDK dependencies and re-run integration tests against the upgraded relay endpoint. |
Subscription Management | Subscription lifecycle events, topic validation rules, or acknowledgment semantics may change. | Wallet and dapp SDKs managing persistent session subscriptions. Infrastructure operators running relay nodes. | Verify that subscription renewal logic handles new acknowledgment formats. Monitor for increased subscription churn during the upgrade window. |
GossipSub Network Topology | Upgrades to the libp2p GossipSub protocol version or mesh parameters can alter message propagation latency and redundancy. | Relay node operators. Wallets and dapps with strict latency requirements for session proposals. | Benchmark session establishment times against the upgraded network. Adjust timeout thresholds in SDKs if propagation profiles shift. |
Backward Compatibility Guarantee | The relay protocol is designed to support a transition period where old and new message formats coexist. A specific version may deprecate an older wire format. | All integrators using a non-latest SDK version. Wallets with slow user update cycles. | Identify the official deprecation timeline for the old format. Plan a forced upgrade window for your user base before the backward compatibility layer is removed. |
Topic Construction and Validation | Changes to the hashing algorithm or namespace structure used to derive relay topics can break message routing. | Dapps and wallets that construct topics manually instead of using the canonical SDK functions. | Audit codebase for any manual topic string construction. Migrate to the SDK's topic generation utility to ensure compatibility with the new derivation scheme. |
Relay Server URL and Discovery | The bootstrap node list or discovery mechanism for the decentralized relay network may be updated, deprecating old static addresses. | Wallets and dapps with hardcoded relay endpoints. Enterprise deployments with firewalled outbound connections. | Update hardcoded relay URLs to the new canonical list. Ensure firewall rules allow traffic to the new bootstrap nodes and any expanded IP range. |
Transport Layer Upgrades | The underlying transport (e.g., WebSocket to QUIC) or encryption protocol for relay connections may be upgraded. | Relay node operators. Wallets and dapps running in restricted network environments. | Confirm that your operating environment supports the new transport protocol. Update any WebSocket-specific proxy or load balancer configurations. |
Relay Upgrade Readiness Checklist
A practical checklist for wallet and dapp operators to validate operational readiness before, during, and after a WalletConnect relay protocol upgrade. Covers client compatibility, subscription integrity, and monitoring checks to prevent silent message delivery failures.
Verify that your deployed relay client version is compatible with the target GossipSub or message-publishing upgrade. Check the official WalletConnect monorepo release notes for the minimum required @walletconnect/relay-api and @walletconnect/core versions. Incompatible clients may fail to publish to updated topics or deserialize new message envelopes.
Why it matters: A version mismatch can cause silent subscription failures, where your node believes it is connected but cannot receive messages from upgraded peers.
Readiness signal: Your CI pipeline successfully runs the integration test suite against a staging relay node running the target version.
Canonical Resources
Use these primary sources to verify WalletConnect relay protocol behavior, versioned upgrade requirements, SDK compatibility, CAIP dependencies, and operational status before changing production wallet or dapp integrations.
Looking to build on a specific blockchain?
We build smart contracts, DeFi applications, wallets, tokenization platforms, and blockchain infrastructure across the major ecosystems teams choose today. That includes Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Solana, Sui, Aptos, Hedera, Stellar, and NEAR, with support for additional EVM and non-EVM networks based on your product requirements.
EVM ecosystems
- Ethereum
- Arbitrum
- Optimism
- Polygon
- Avalanche
- Cronos

Non-EVM ecosystems
- Solana
- Sui
- Aptos
- Hedera
- Stellar
- NEAR
Additional ecosystems
- Polkadot
- Cosmos
- TON
- Cardano
- Algorand
- Tempo
Also available for Base, appchains, custom EVM networks, and cross-chain product architecture.
Frequently Asked Questions
Operational questions about WalletConnect relay protocol versioning, GossipSub network upgrades, and backward compatibility guarantees for wallets and dapps.
The relay protocol is designed with strict backward compatibility guarantees. When a new relay version is deployed, existing sessions established under older protocol versions continue to function without interruption. The GossipSub mesh maintains separate topic namespaces per protocol version, so v2 sessions publish to a different topic than v3 sessions. This means wallets and dapps do not need to migrate active sessions during an upgrade—only new pairings use the latest protocol version.
What to verify:
- Your SDK's relay client correctly advertises supported protocol versions during pairing negotiation.
- Topic subscription logic does not hardcode a single relay version string.
- Load testing confirms that mixed-version traffic does not degrade message delivery latency.
Delivering blockchain solutions for 5+ years.
We have partnered with 50+ leading DeFi protocols, NFT ecosystems, and fintech innovators to build secure, scalable, and capital-efficient blockchain products.
Selected Partners & Clients
“I've been working with Chainscore Labs for last 3+ years, they've consistently delivered with strong ownership across multiple projects. The team is reliable and detail-oriented.”
How to get started?
If you're looking for blockchain integration, ChainScore Labs has 5+ years of experience helping teams build and integrate exchanges, wallets, smart contracts, tokenization solutions, and protocol-connected products, we can help you choose the right path, integrate securely, and get to production faster. Our team consists of experienced blockchain developers and architects who can help you with your blockchain integration needs.
Exploration & Strategy
Define your product goals and choose the right blockchain architecture for your use case.
Architecture & Design
Design the smart contracts, tokenomics, and security parameters of your system.
Development & Integration
Build and integrate with wallets, oracles, and front-end dApps for a seamless experience.
Security & Launch
Comprehensive audits followed by a risk-managed mainnet deployment to protect your users.
Discover our
blockchain development services.
We build production-grade blockchain solutions for top-tier projects across DeFi and Web3.
Need a blockchain engineering team?
Send the project context and we will respond with next steps, scope questions, and a practical path to delivery.


