Search TorWire

Find cybersecurity guides and research articles

Home > News > Cybersecurity > Serai Builds Custom Tendermint-Based Consensus System for Cross-Chain DEX

Serai Builds Custom Tendermint-Based Consensus System for Cross-Chain DEX

By: Morgan Cipher Senior Privacy Journalist

Last updated: August 4, 2026

Human Written
Serai Builds Custom Tendermint-Based Consensus System for Cross-Chain DEX
  • Serai has developed its version of the Tendermint protocol implemented in Rust to power its upcoming decentralized exchange.

  • This system allows validators to reach agreement regarding the order of transactions on the Bitcoin, Ethereum, DAI, and Monero blockchains without involving a central entity.

  • Rather than using the existing solutions, such as CometBFT, Serai built a consensus layer from scratch with a focus on lower costs, flexibility, and seamless integration.

Serai, a DEX solution that focuses on connecting Bitcoin, Ethereum, Monero, and DAI, just rolled out a custom implementation of the Tendermint consensus algorithm.

This marks yet another significant milestone in the creation of a decentralized cross-chain trading platform that doesn’t rely on centralized exchanges.

Unlike regular decentralized exchanges that often run inside a single blockchain environment, Serai can handle assets from different blockchain networks.

However, it encounters some technical difficulties with Bitcoin, Ethereum, and Monero because these tokens don’t naturally interact with each other.

To solve this problem, the platform is creating its own infrastructure, a dedicated consensus mechanism that’ll help network validators agree on the right order of events.

The goal? To create a secure and efficient system that’ll support seamless cross-chain swaps without compromising network decentralization.

Why Consensus Matters for Cross-Chain DEX Trading

Consensus is the process that allows independent computers in a blockchain network to agree on what happened and when it happened.

For Serai, this is especially important because the exchange must track activity across multiple external networks. Validators must first record a Bitcoin deposit, an Ethereum transaction, or a Monero transfer accurately before any trade takes place.

So Serai designed its system to remain secure always, even in cases where the network becomes unpredictable. An attacker could delay messages, send information in the wrong order, or create periods where some networks appear inactive.

Serai’s validators must still reach an agreement on one valid timeline. Instead of storing every external event directly on the Serai blockchain, only the final results of the consensus process are recorded. This reduces storage needs and helps the system handle multiple connected networks more efficiently.

A Custom Rust Implementation Instead of Existing Software

Serai chose to create its own Tendermint implementation rather than using CometBFT, the modern successor to the original Tendermint software used widely in the Cosmos ecosystem.

The team said existing solutions did not match its design goals. The Serai team desired a more flexible, compact system that could operate within its services directly.

They implemented the new system using the Rust programming language. Rust is popular for building blockchain and infrastructure projects.

The developers had three primary goals:

  1. Simple design: The consensus system does not need extreme speed. It only needs to provide a reliable agreement for a secure exchange.
  2. Lightweight operation: The system should not consume unnecessary resources or create difficult maintenance problems.
  3. Easy integration: Consensus should work as a reusable library inside Serai services instead of operating as a separate network.

This approach gives developers more control over how consensus works inside different parts of the platform.

Built for Flexibility and Security

Serai’s Tendermint implementation separates consensus from the application layer. This means the consensus engine decides agreement, while the application defines the actual rules and data being processed.

This design is similar to the Application Blockchain Interface used by Tendermint-based systems. The developers also made the system independent from specific databases and networking tools.

Currently, Serai uses RocksDB for storage and libp2p’s gossipsub system for communication between network participants.

The implementation is also designed to support different cryptographic methods. Validators can use various signature systems, including possible threshold signatures. This flexibility could allow the technology to be adapted beyond Serai in the future.

Fighting Network Attacks and Preparing for Growth

One major design goal was resistance against denial-of-service attacks.

The team explains that the system’s memory grows about as fast as the number of validators. This stops attackers from flooding the network with too many data requests.

Security remains a top concern across the crypto ecosystem, with a recent incident involving an autonomous AI agent that deployed custom ransomware specifically designed to target AI models and infrastructure.

Many parts of the software are also asynchronous. This allows tasks to continue running without blocking the entire system.

Serai adds that the library comes with full documentation. It’s ready for developers wanting to explore it, test things out, or review the code. Still, the project is still in the development stage, and there’s no bug bounty program covering it for now. 

The Road Ahead for Serai

The release of the Tendermint implementation is only one part of Serai’s larger plan. The exchange wants to make it easy to trade cryptocurrencies like Bitcoin, Ethereum, DAI, and Monero by providing reliable liquidity pools between these assets. Users will be able to swap between these assets or put their own assets in the liquidity pool to earn trading fees.

Serai also plans to explore asynchronous consensus in the future. It uses an entirely different approach from the traditional Tendermint. Tendermint does well only when the network is stable and messages don’t take too long.

But asynchronous consensus is built to keep things secure even when communications delay and conditions fluctuate. The team isn’t sugarcoating things, though. They admit building that kind of tech is tougher, so it’ll show up after the first version goes live.

For now, Serai is focusing on creating a reliable foundation for decentralized cross-chain trading. Its custom consensus engine represents a key piece of that effort. This reflects the project’s focus on solving the difficult technical problems behind a truly decentralized exchange.

Share this article

About the Author

Morgan Cipher

Morgan Cipher

Senior Privacy Journalist

Morgan combines a journalist’s curiosity with a security specialist’s precision. His reporting on data breaches, privacy laws, and encryption tech has been featured in several tech publications. At TorWire, he focuses on real-world threats and how to counter them, always with an eye on what’s next in digital privacy.

Comments (0)

No comments.