Cover photo

CometBLS: Where BLS Signatures Meet CometBFT

When you hear the term “consensus engine,” what comes to mind? A sleek, futuristic machine churning away in the background, maybe? Or perhaps an intricate network of validators working in harmony like a digital symphony? Now, throw in terms like Tendermint, Byzantine Fault Tolerance (BFT), and Boneh-Lynn-Shacham (BLS), and you’ve got a concept as thrilling as it is complex.

Let’s admit it: terms like these can feel overwhelming, almost like decoding a new unknown language. But here’s the exciting part: these are not just buzzwords—they are the building blocks of the modular zero knowledge interoperability layer, which is Union. And at the heart of this revolution lies a technology that’s set to change some features in the game: CometBLS.

But what is CometBLS, and what makes it different? The name itself is a clue. Let’s break it down: Comet pays homage to its predecessor, Tendermint and its evolution into CometBFT—both designed to deliver reliable, scalable blockchain consensus. The BLS part? That’s where cryptographic magic happens, standing for Boneh-Lynn-Shacham signatures, which form the backbone of its groundbreaking efficiency.

post image

Understanding CometBLS requires unpacking these elements: Tendermint’s foundational role, CometBFT’s refinements, and the transformative power of BLS signatures. Ready? Let’s unravel the story of this cosmic technology together.

Tendermint: A Consensus Engine for Distributed Trust

Tendermint is a blockchain consensus engine designed to securely and consistently order transactions in distributed systems. At its core, Tendermint solves the complex problem of Byzantine Fault Tolerance (BFT), enabling distributed systems to remain functional even in the face of failures or malicious attacks.

So, what’s Byzantine Fault Tolerance (BFT)?
BFT refers to a system’s ability to maintain reliability even when some components—up to one-third—act maliciously or unpredictably. This makes BFT critical for decentralized systems, where trust among participants cannot be assumed.

Tendermint achieves BFT by coordinating nodes, called validators, in a structured process:

  • Validators propose, vote on, and finalize blocks of transactions.

  • A block is finalized only after passing through two voting phases: Pre-vote and Pre-commit, ensuring agreement among honest participants.

  • The result? A robust consensus mechanism that guarantees safety (no conflicting blocks) and liveness (continuous progress).

Tendermint paved the way for a new era in blockchain consensus, offering a blend of security, simplicity, and efficiency that set the stage for its evolution.

CometBFT: Evolving Tendermint into Versatile Software

Building on Tendermint’s solid foundation, CometBFT is software designed for securely and consistently replicating applications across multiple machines.

Emerging as a fork of Tendermint Core in early 2023, CometBFT has since carved its own path, introducing cutting-edge features like Probabilistically Bounded Timeouts (PBTS) and ABCI v2 to meet the demands of modern blockchain ecosystems. These innovations reflect a significant divergence from its Tendermint origins, establishing CometBFT as a state-of-the-art Byzantine Fault Tolerant (BFT) middleware.

While it retains Tendermint’s consensus engine, it introduces enhancements that make it more flexible and modular for modern applications.

What makes CometBFT special?
The key lies in its ability to decouple the consensus engine from application logic through the Application Blockchain Interface (ABCI). This design allows developers to:

  • Use many programming languages to build their applications.

  • Focus on application-specific needs, while CometBFT ensures the integrity and ordering of transactions.

For example, imagine building a blockchain-based supply chain platform. CometBFT would handle the consensus layer—ensuring transactions are recorded in the correct order—while developers could focus on application details like tracking shipments or managing inventory.

CometBFT’s modular approach also makes it more adaptable than traditional monolithic blockchain systems, where all components are tightly integrated. This flexibility allows developers to innovate without being restricted by a predefined architecture.

But that’s not all. CometBFT continues to uphold Tendermint’s BFT guarantees, ensuring resilience even when up to one-third of nodes fail or act maliciously. Its efficiency and scalability make it an ideal choice for high-performance applications, ranging from cryptocurrencies to voting systems and beyond.

Moreover, CometBFT shines in its interoperability. This versatility allows developers to harness CometBFT’s strengths while preserving the functionality of their existing systems.


Tendermint and CometBFT together represent a foundational leap in blockchain consensus technology*.*They showcase that security, scalability, and flexibility are not just theoretical goals but practical realities. These technologies laid the groundwork for CometBLS, combining the robust consensus capabilities of Tendermint and the modular, adaptable design of CometBFT.

With the Comet part of CometBLS now firmly understood, it’s time to turn our attention to the other half of this transformative innovation: BLS, or Boneh-Lynn-Shacham signatures. This is where cryptographic magic happens, driving CometBLS to new heights of efficiency and scalability. Let’s dive in.


BLS: The Cryptographic Magic Driving CometBLS

So, we’ve unpacked the “Comet” in CometBLS, but what about the “BLS”?
Let’s step into the realm of cryptographic innovation and uncover the Boneh-Lynn-Shacham (BLS) signatures, the unsung heroes that elevate CometBLS to a whole new level.

What’s the big deal about BLS signatures?

Imagine a symphony where every musician plays their part perfectly, yet the audience only hears a single, harmonious note. That’s the magic of BLS signatures—an elegant way to condense many voices (or signatures) into one, without losing the richness or accuracy of the message.

Here’s how it works:
BLS allows us to aggregate signatures and public keys into a single compact signature. Instead of sending and verifying multiple individual signatures—like checking the attendance of every musician in an orchestra—you can verify the entire group with just one combined signature. This aggregation is a game-changer, especially for blockchain applications where every byte and computation cycle counts.

post image

Why Does BLS Matter for CometBLS?

BLS signatures aren’t just a clever cryptographic trick; they’re the backbone of CometBLS’s efficiency and scalability. Here’s why they’re revolutionary:

  • Smaller Transactions: Think about it—every transaction carries a signature. In traditional systems like ECDSA, these individual signatures add up, increasing transaction size. With BLS, we only need to transfer the aggregated signature. Fewer bytes mean faster, cheaper transactions.

  • Cheaper Computation: Verifying signatures one by one can be like sorting mail by hand—tedious and costly. BLS cuts through the clutter by verifying the entire batch at once, saving time and computational resources.

  • Boosting Zero-Knowledge Proofs (ZKPs): Here’s where things get thrilling for the ZK fans out there. BLS signatures dramatically improve the efficiency of ZKP-based Inter-Blockchain Communication (IBC). They’re tailor-made for systems where verifying proofs needs to be lightning-fast and cost-effective.

  • Minimized State Growth: Blockchain state growth—the ever-expanding ledger of all transactions—can be a bottleneck. BLS helps keep this growth under control, as fewer individual signatures mean less data to store and manage over time.

The Galois Connection: Who Does What?

You might wonder that if BLS is so powerful, does it handle everything in the system? Not exactly. In CometBLS, the roles are clearly divided for peak efficiency. Union validators focus solely on validating blocks and ensuring the integrity of the network. They do not produce zero-knowledge proofs.

This crucial role is performed by Galois, Union’s specialized component for consensus verification. Galois handles the generation of ZKPs for the Union state, enabling seamless updates to counterparties. Relayers can either generate these proofs themselves or use Union as a distributed sequencing layer through proof claims.

The result? A streamlined, modular system where every piece plays to its strengths.


By now, we’ve explored the strengths of Comet and the cryptographic brilliance of BLS. But the true magic happens when these two forces unite. Comet’s modular consensus capabilities blend effortlessly with BLS’s signature efficiency, creating a harmony that’s greater than the sum of its parts.

This union paves the way for CometBLS, a technology that redefines what’s possible in blockchain consensus and zero-knowledge interoperability. It’s the time:

CometBLS: Bridging the Cosmos with Cryptographic Brilliance

Imagine taking the best parts of a tried-and-true system and supercharging it with cutting-edge technology—that’s CometBLS in a nutshell. It’s the next step in blockchain consensus, combining the solid foundation of Tendermint with new innovations that make zero-knowledge interoperability faster, cheaper, and more scalable.

Why all the buzz about CometBLS? To understand, think of Tendermint as a dependable workhorse that brought blockchain consensus to the forefront. It introduced single-slot finality, making transactions secure and irreversible with remarkable efficiency. But as blockchains like Ethereum evolved and the demand for interoperability grew, Tendermint started to show its limitations. The computational costs of bridging and verifying consensus became bottlenecks.

This is where CometBLS takes center stage. By introducing three transformative upgrades, it overcomes these challenges and sets a new standard for efficiency:

  1. BLS Signatures

  2. MiMC Hashing: A faster and more resource-efficient alternative within zero knowledge proofs context to traditional hash functions, MiMC ensures that cryptographic operations remain lean without sacrificing security.

  3. Epoch-Based Validator Rotation: Instead of constantly updating validator states, this method organizes changes into distinct intervals (epochs), making updates more efficient and predictable.

Together, these advancements make CometBLS a powerful engine for blockchain bridging and consensus verification. It reduces proving times, minimizes transaction sizes, and cuts on-chain computation costs—ideal for systems like Ethereum that operate under tight gas constraints.


We’ve delved into the cryptographic brilliance of BLS signatures. Let’s now explore another cornerstone of its performance enhancements: MiMC Hashing.

What Is MiMC Hashing?

At its core, MiMC is a hashing technique designed to optimize performance in zero-knowledge circuits and cryptographic systems. Traditional hash functions like SHA-256 are widely used but can be computationally expensive, particularly in systems that rely on Zero-Knowledge Proofs (ZKPs). MiMC addresses this limitation by significantly reducing the computational cost while maintaining robust security.

Why MiMC Over SHA-256?

  1. Optimized for ZKPs: MiMC minimizes the number of multiplicative constraints, a critical factor for efficiency in zero-knowledge circuits.

  2. Security Meets Speed: It delivers strong security comparable to SHA-256 while significantly improving performance in ZKP settings.

  3. Streamlined Implementation: Unlike SHA-256, which adds complexity and cost in cryptographic proofs, MiMC is specifically designed for seamless integration in systems like Galois, used in CometBLS.

How Does It Work?

Alright, here’s where it gets a little “mathy”—but don’t worry, I promise not to unleash a full cryptography lecture. I’m not trying to turn this into “Cryptography 101,” mostly because I’m not a cryptography professor (and let's keep it that way for everyone’s sanity).

post image

Here’s the gist: MiMC is like a minimalist chef in the kitchen of cryptographic operations. Instead of throwing in every fancy ingredient (or function) out there, it sticks to a simple, reliable recipe: (yes, just cubing numbers). It repeats this process a few times, sprinkles in some random constants for flavor, and voilà—you’ve got a secure, efficient hash.

Why x³?
Well, it’s not just because cubing sounds cooler than squaring (though it does). The cube function strikes the perfect balance between being secure and easy to work with in zero-knowledge circuits. It’s like finding the sweet spot between a lock that’s impossible to pick and one that doesn’t require a locksmith to open.

But let’s not dive deeper—I’m not here to explain the exact number of constraints or field multiplications. If you’re a cryptography expert, you already know this. If you’re not, let’s just nod and pretend we understand (it’s what I do!).

MiMC in CometBLS

CometBLS V3 replaces SHA-256 with MiMC hashing in critical operations, and the difference is night and day. MiMC is the sleek, efficient electric car to SHA-256’s gas-guzzling truck. It’s faster, cheaper, and built for the eco-friendly world of zero-knowledge-based blockchain applications.

By reducing computational overhead and minimizing constraints, MiMC ensures that CometBLS stays scalable, economical, and future-proof—making it a key player in modern blockchain ecosystems.


Epoch-Based Validator Rotation

After hashing out the brilliance of MiMC, let’s shift gears to another key innovation in CometBLS: Epoch-Based Validator Rotation—a clever approach to streamline operations and save costs.

What Is Epoch-Based Validator Rotation?

Simply put, this system organizes validator updates into predictable intervals, called epochs, instead of handling them constantly. By batching updates, it reduces the frequency of light client proofs, cutting down unnecessary gas usage and improving efficiency.

Why It Matters

  1. Efficiency for Relayers: Fewer, more meaningful updates lower the operational burden and cost for relayers.

  2. Gas Optimization: In gas-constrained blockchains like Ethereum, reducing updates ensures the bridge operates economically.

  3. User Benefits: Lower operational costs mean reduced fees for regular users—who doesn’t love a break on costs?

The Inspiration

CometBLS takes inspiration from:

  • Polkadot’s Consensus: For efficient validator rotation.

  • Cosmos’ Security and Governance: Ensuring reliability in every update.

By combining these models, CometBLS keeps light client updates lean and ensures everyone—from users to relayers—enjoys a smoother, more affordable experience.


So, What’s Next?

The story looks like not to be stopped. With CometBFT 1.0 now in play, Union’s CometBLS has upgraded its backbone to one of the sharpest tools in the consensus shed. It’s like switching from a trusty old bike to a sleek electric scooter—still getting you there, but faster and with less effort.

Looking ahead, future versions of CometBLS aim to cut proving times and costs even further. And then there’s the intriguing potential of Verkle Trees—a futuristic alternative to Merkle Trees. While Verkle Trees are still in their experimental phase, they promise to unlock new levels of efficiency for storage proofs.

I’m genuinely curious to see where Union takes things next and how CometBLS will perform with these enhancements. Whether it’s breakthroughs or surprises, it’ll be exciting to watch it unfold.

THANK YOU FOR READING, and yes, zkgm.