Architecture
Last updated
Last updated
The FBTC protocol's architecture is primarily structured around three main components: custodial addresses on the Bitcoin main chain, smart contracts on destination chains, and off-chain modules.
Qualified users transfer native BTC to a pre-configured custodial address.
Qualified users interact with the Bridge contract and initiate a mint request.
The Bridge Monitor that monitors on-chain events in real-time detects the minting request.
Bridge Monitor also monitors BTC deposit transactions on the Bitcoin main chain.
Bridge Monitor sends the minting request to TSS Gateway.
TSS Gateway initiates a contract to confirm the minting of the Bridge contract. Multiple TSS Nodes co-sign through the MPC algorithm construct the transaction signature. Each TSS Node operates an independent risk control system that validates the deposit transactions and minting requests to secure the FBTC minting.
After the minting transaction is confirmed on the destination chain, the FBTC token is minted.
A qualified user interacts with the Bridge contract and initiates a burn request.
The Bridge contract burns the qualified user's FBTC token.
The Bridge Monitor monitors the burn request event.
Bridge Monitor sends the withdrawal request to TSS Gateway.
TSS Gateway initiates a BTC transfer, and transfers the specified amount of BTC to the pre-configured withdrawal address of the qualified user. Multiple TSS Nodes co-sign through the MPC algorithm construct the transaction signature. Each TSS Node operates an independent risk control system that validates the BTC transfer transactions and burning requests to secure the FBTC unwrapping.
After the withdrawal transaction is confirmed on the Bitcoin main chain, TSS Gateway calls the Bridge contract to confirm that the withdrawal request has been processed.
A user interacts with the bridge contract from the source chain and initiates a cross-chain request.
The Bridge contract burns the user’s FBTC.
Bridge Monitor monitors events on the source chain in real-time and detects the cross-chain request immediately.
Bridge Monitor sends the cross-chain request to TSS Gateway.
TSS Gateway initiates a contract call to the Bridge contract on the destination chain to confirm the FBTC cross-chain operation. Multiple TSS Nodes with individual risk control co-sign the confirmation transaction.
After the cross-chain transaction is confirmed on the destination chain, the specified number of FBTC tokens are minted for the users.
Custodial Addresses
Onchain Smart Contracts
Offchain Service