Skip to content
P

Project Trustless Relay

Own Your Identity. Own Your Messages.

Created on 11th March 2026

•

P

Project Trustless Relay

Own Your Identity. Own Your Messages.

The problem Project Trustless Relay solves

The Problem It Solves

Today, most messaging apps require users to trust a central company or server to manage identities, route messages, and store data. Even when apps claim to use encryption, users still depend on providers to correctly manage keys, metadata, and infrastructure.

This creates several problems:

  • Identity is controlled by servers – Accounts can be suspended, impersonated, or compromised if the service provider is breached.
  • Messages may leave traces – Many platforms store message history or metadata that could be accessed later.
  • Trust is required – Users must trust that the platform is correctly implementing encryption and protecting their data.
  • Tampering or replay attacks are hard to detect – If messages are intercepted, modified, or reordered, users may never know.

Sovereign Messenger addresses these issues by putting identity, verification, and encryption directly in the user’s device rather than on a server.

What People Can Use It For

Sovereign Messenger can be used anywhere secure, verifiable communication is important.

Secure Conversations

People can exchange messages knowing that:

  • Every message is cryptographically signed
  • Messages are encrypted end-to-end
  • The server cannot read or modify the content

Tamper-Proof Communication

Messages are hash-chained together, meaning any attempt to modify or reorder messages can be detected instantly.
This is useful for situations where message integrity matters, such as technical collaboration, coordination, or evidence trails.

Temporary or Sensitive Messaging

Messages can be configured to automatically delete themselves after a set time (from 30 seconds to 24 hours).
This reduces the risk of sensitive information being stored indefinitely.

Hardware-Based Identity

Instead of relying on usernames and passwords, identity can be tied to a physical device (like an ESP32).
This makes impersonation much harder and proves that messages truly come from the device owner.

Zero-Trust Networking

Even if the message relay server is compromised, attackers still cannot:

  • read messages
  • forge identities
  • modify message history

Why This Makes Things Safer

Sovereign Messenger removes the need to trust a central authority.
Instead, cryptography and device identity enforce security automatically.

This means users gain:

  • stronger identity verification
  • protection against message tampering
  • secure communication even on untrusted networks
  • more control over their own data and privacy

Challenges we ran into

Challenges We Ran Into

Building Sovereign Messenger required solving several design challenges because our goal was to remove traditional trust models and keep identity fully controlled by the user's device.

Device-Only Identity

One of the biggest challenges was ensuring that a user's identity exists only on their device and nowhere else.
We did not want usernames, passwords, or private keys stored on any server.

However, this created a problem:
If identity only exists on the device, how can the application verify that the device truly owns that identity?

We solved this using a cryptographic nonce challenge mechanism.

When the device connects, the application generates a random value (a nonce) and sends it to the device. The device signs this nonce using its internal key and returns the signature. The application then verifies this response. Because the nonce is random and changes every time, it proves that:

  • the device actually holds the secret key
  • the device is actively responding in real time
  • the identity cannot simply be copied or replayed

This approach allows the system to confirm identity without ever exposing or storing private keys outside the device.

Securely Sharing Identity

Another challenge was how users can securely share their identity with others.

In many systems, users manually copy public keys or IDs, which is inconvenient and error-prone. To make this easier, we implemented QR-based identity sharing.

A QR code can contain the public identity information needed to establish communication. When another user scans the QR code, their application automatically imports the identity and creates a secure contact.

This makes onboarding faster while still maintaining cryptographic verification.

Discovering Online Peers Securely

We also needed a way for users to know when a contact is online and available for messaging.

To achieve this, we used a topic-based presence system through the messaging transport layer. Each user has a unique topic derived from their identity. When a device comes online, it subscribes to its topic and can broadcast presence information to peers.

This allows devices to:

  • detect when contacts come online
  • route encrypted messages to the correct destination
  • avoid exposing sensitive identity details

Scaling to Multiple Devices and Networks

Another challenge was supporting communication across many devices at the same time.

While each identity has its own unique topic, real-world scenarios—especially secure environments—may require multiple structured communication channels. For example, different groups or operational contexts may need separate message routes.

To support this, the system can create multiple topic layers, allowing devices to organize communication channels while still maintaining encrypted message delivery.

In high-security environments (such as military or field deployments), this could be extended into mesh-style topic structures, where groups of devices communicate within carefully aligned channels while preserving identity verification and encryption.

Balancing Security and Usability

A final challenge was making sure all these security features did not make the system difficult to use.

We wanted users to experience a simple messaging interface while the complex cryptographic operations—signing, encryption, verification, and chain validation—happen automatically in the background.

Achieving this balance required designing clear workflows, automatic discovery mechanisms, and helpful debugging tools so users can trust the system without needing to understand every underlying protocol.

Tracks Applied (1)

Special Track

Problem Statement 4 Our project, Sovereign Messenger, directly addresses the requirements of the Secure Peer-to-Peer Ch...Read More

Discussion

Builders also viewed

See more projects on Devfolio