Sitemap

Fiamma Bridge v0.3.0: BitVM2 Challenge Module, Bridge Fee Model, and Dynamic Gas Fee Mechanism

Fiamma
3 min readDec 21, 2024

Dear Alpacas,

Following days and nights of hard work by our Alpaca engineers🦙🧑‍💻, we’re thrilled to announce the release of Fiamma Bridge v0.3.0.

After processing 508,652 transactions and serving 58,213 alpacas in a few days, Fiamma Bridge v0.2.0 underwent rigorous stress testing on Signet. During testing, heavy congestion on Signet significantly impacted the bridge’s performance. The operator struggled to supply UTXOs on time due to the pre-set gas fee rate, exacerbating delays. To solve this, we’ve introduced a dynamic gas fee mechanism that adjusts to real-time network conditions on Signet. This update has dramatically reduced bottlenecks and enhanced bridge efficiency during peak congestion.

In addition, we also integrated a core module in our BitVM bridge, which is the challenge module. We plan to introduce a user-friendly method for everyone to test the challenge module, whether through CLI or other formats, in the near future. This will allow everyone to experience using Bitcoin for optimistic ZKP verification.

TL;DR

  1. Challenge Module

Added support for Challenge, Assert, Disprove, and Unhappy Take transactions to bolster bridge security.

2. Bridge Fee Model

Defined fee models for Operators, Liquidity Providers (LPs), and the Bridge itself.

3. Dynamic Gas Fee Mechanism

Implemented dynamic gas fee calculations for Users, Operators, and LPs based on network conditions.

Challenge Module

The challenge module is the core of the BitVM Bridge, ensuring its security. After extensive testing, we’ve integrated the following functionalities in v0.3.0:

  • Challenge tx: When a challenger detects malicious behavior by the Operator, they initiate a Challenge transaction. At this point, the protocol enters the challenge period, preventing the Operator from executing a Happy Take transaction to claim the locked BTC.
  • Assert tx: After the Challenge transaction is confirmed on-chain, the Operator initiates an Assert transaction to move the staked BTC to a Taproot address.
  • Disprove tx: Following the on-chain confirmation of the Assert transaction, the challenger can submit a Disprove transaction to penalize the Operator for their misconduct.
  • Unhappy Take tx: If no challenger initiated the disprove transaction within a specified timeframe, the Operator can reclaim the staked BTC through an Unhappy Take transaction.

Bridge Fee Model

We’ve analyzed the cost structure for all roles within the BitVM2 Bridge and implemented a balanced fee model for User, Operator, Challenger, Liquidity Provider(LP), etc. We will share more detailed figures in the future, as the fee structure is continuously being refined.

Dynamic Gas Fee Mechanism

In version 0.3.0, we refined the gas fee calculations within the bridge system. These upgrades also impacted the bridge fee model, promoting more sustainable and efficient operations. The specific roles impacted include:

  1. Dynamic gas fee adjustment for user-initiated Deposit transactions.
  2. Operator dynamic gas fee adjustment for PEG-OUT transactions.
  3. Liquidity provider dynamic gas fee adjustment for PEG-IN transactions.
  4. Updated gas fee design for pre-signed transactions.

Thank you for your continued support as we build a more trust-minimized, efficient, and user-friendly Bitcoin bridge!

About Fiamma

Fiamma is unlocking real-world use cases for Bitcoin, transforming it into a dynamic asset and the foundation for a decentralized internet and financial system. Backed by Lightspeed Faction and L2IV, Fiamma leads innovation with the Fiamma Bridge and Fiamma Layer, the first products to implement BitVM2. These foundational technologies are just the beginning, as Fiamma continues to develop protocols that expand Bitcoin’s potential across programmable blockchains and real-world applications. With a growing network of strategic partners, including Babylon, BOB, Satlayer, and RiscZero, Fiamma is shaping the future of decentralized systems.

Website | Twitter | Discord | Telegram

--

--

Fiamma
Fiamma

Written by Fiamma

Fiamma is a unified zero-knowledge (ZK) proof verification network, secured by the Bitcoin network via BitVM2.

No responses yet