WalletConnect: The self-sovereign identity stack’s layer 2 solution — WalletConnect Pay

09.21.2022

WalletConnect: The self-sovereign identity stack’s layer 2 solution

WalletConnect is mainly known as the web3 network that connects dapps and wallets, and which allows users to sign blockchain-based transactions. To deliver the best UX for this particular purpose, WalletConnect had to develop a robust infrastructure and mature modularized frameworks, becoming an essential tool for every web3 developer and user.

In doing so, WalletConnect has emerged as a worthwhile solution for the existing networks that serve as the lightweight layer 2 of the so-called self-sovereign identity stack. This is all due to WalletConnect’s modular approach, which emphasizes the utilization of a single communications channel not only for efficiency gains but as a launchpad for custom network development.

So, what exactly is layer 2 of the SSI stack?

The SSI stack’s layer 2 is a secure communications layer that allows peers to establish trusted connections and exchange verifiable credentials and proofs. Without diving into the details of the other layers, layer 2 provides cryptographic trust for the communications channel between “DID controllers”, which aren’t very technically different from the controllers of cryptocurrency wallets and/or the decentralized applications that interface with smart contracts. This communications channel must be encrypted and authentic to ensure that malicious actors cannot read or tamper with messages.

Layer 2 also has several other essential requirements that may differ from the typical SSI use case.

What options can you choose from to build this layer today?

As of today, there are two main potential solutions for developers looking to build in this very specific space.

While DIDComm seems like a solid solution, there are some drawbacks. It doesn’t appear to have been adopted by any widely-used cryptocurrency wallet. It also requires hosting mediator infrastructure from service providers, which can be troublesome for many projects. Plus, DIDComm can still be considered immature in certain aspects, as it requires more implementations in production-grade commercial deployments.

Why is WalletConnect a powerful alternative?

As a key network that serves just about every wallet and dapp in the broader EVM world, WalletConnect is used by millions of users worldwide. As we expand our footprint beyond Ethereum, the network effects that are already underway could prove valuable in pushing along the adoption of SSI protocols.

Moreover, WalletConnect secures messages with cryptographic algorithms used by TLS, ChaCha20 stream cipher, and Poly1305 message authentication code — the best available today for wallet-centric architecture. Plus, WalletConnect SDKs connect easily to a relay network that allows any two actors (wallet <> wallet or wallet <> dapp). Any participant can be reached at anytime without hosting a web server.

Our infrastructure stores all participants’ messages in cloud mailboxes to prevent loss. When the user is offline, their messages are directed to their cloud mailbox; once the user reconnects to the network, the messages come pinging in. Our network also supports push notifications for wallets when they are offline, allowing them to inform users instantly about the verifiable credential interactions awaiting them in their next session.

There are a lot of significant milestones in the WalletConnect pipeline as well. In 2023, the WalletConnect Network will first become federated and later fully decentralized, so that no one service provider can flip the on-off switch that determines whether you have access to the network. Additionally, our network is already regionalized — and insanely fast.

With the latest release of the WalletConnect Pairing API, injecting new networks into WalletConnect Core has become remarkably easy, offering an incremental and composable upgrade path that can be driven by dapps to incentivize wallet adoption over time. If you want to try it, just take a look at my previous blog post and reach out to our team on Discord.

The standard is set.

Join the payment leaders already building with WalletConnect Pay.