Core Architecture

Firefly Bridge is a trust-minimized cross-chain messaging and asset transfer protocol. It supports both EVM and non-EVM chains without relying on wrapped tokens or external custodians.


Architecture Design

Firefly’s architecture is purpose-built to enable chain abstraction — allowing developers to build applications that operate across chains without requiring users to understand, manage, or even think about which chain they are on.

It combines a maker-based relay model, deterministic smart contracts, and a progressively decentralized trust setup to support fast, secure, and chain-agnostic interactions.

1. Maker-Based Relay

Firefly uses a Maker-based relay system where designated Makers relay user intents from source to destination chains. Crucially, no off-chain party controls user funds. Instead:

  • Makers submit transaction calldata, but contracts on the destination chain verify + decide execution

  • All logic runs transparently—no special keys, no privileged execution paths

  • Misbehavior is punished: slashing, removal, and full public visibility

This creates a bridge model where execution is fast, but still trustlessly accountable, and evolution toward cryptographic proof-based bridging is already underway via Merkle & ZK routes.

2. Deterministic Smart Contracts

All transaction logic is transparently executed 100% on-chain through Firefly’s immutable and auditable smart contracts.

  • No off-chain computation

  • No privileged actors

  • Fully auditable, open-source logic

3. Hybrid Trust Model

Firefly prioritizes low-latency performance while evolving toward full trust minimization.

  • Short-term: Rapid execution via trusted relayers with on-chain accountability

  • Mid-term: Optional verification with Merkle or ZK proofs

  • Long-term: Default zero-trust integrity through cryptographic proofs and decentralized validation

4. Chain-Abstraction-Friendly by Design

Every layer of Firefly is architected to support chain abstraction:

  • Unified contracts and messaging abstract away chain-specific logic

  • Intelligent routing ensures users get the fastest, lowest-cost path without needing to choose chains

  • Chain-agnostic execution: Apps work seamlessly across L1s, L2s, appchains, and alt-VM networks

  • Designed to integrate with account abstraction, smart wallets, and unified cross-chain identity

The result is a seamless development and user experience resembling a single-chain application — but powered by multichain infrastructure.


Cross-Chain Asset Flow

Firefly’s transfer flow is designed to support not only secure bridging, but also intuitive, chainless UX for applications and end users.

Step 1 – Initiation

A user sends a message or locks assets on Chain A. Firefly standardizes this action into an abstract intent format.

Step 2 – Relay

A Maker observes the event and submits the resulting calldata to Chain B. Optimized routing logic selects the best Maker and route.

Step 3 – Execution

On the destination chain, Firefly smart contracts verify the message and execute the logic or release funds.

This process is fully programmatic and runs entirely on-chain, enabling:

  • Seamless bridging without network switching

  • Chainless app flows such as cross-chain swaps, game logic, or function calls

  • Reliable messaging and execution with verified finality


Security Features

Firefly is built from first principles for cryptographic security and economic accountability.

  • ✅ All messages are verified on-chain

  • ✅ No wrapped tokens, no third-party custody

  • ✅ Relayers (Makers) stake capital and are subject to slashing for misbehavior

  • ✅ Modular proof verification (Merkle/ZK) ensures extensible trust minimization

  • ✅ Fraud detection, challenge-response, and deterministic contracts eliminate ambiguity

Last updated