Offchain Service
Last updated
Last updated
The off-chain module is a crucial component of the FBTC protocol, supporting several key functions within the FBTC ecosystem. It comprises the Bridge Monitor, TSS Gateway, TSS Nodes, Risk Control Module, and Blockchain Nodes. Each module plays an essential role in ensuring the security and efficiency of FBTC asset operations.
The Bridge Monitor is a critical monitoring tool within the FBTC protocol. It ensures the legality of all on-chain transactions and lays the groundwork for the subsequent TSS signing process.
Functions
Monitors on-chain events in real-time, such as new minting, burning, and cross-chain requests.
Validates requests against predefined requirements.
Submits valid target chain transactions to the TSS Gateway.
Workflow
Monitor on-chain events and detect minting, burning, or cross-chain requests.
Validate the legality of the requests.
Submit unsigned transactions to the TSS Gateway.
The TSS Gateway is the core component connecting the Bridge Monitor and TSS Nodes. It coordinates the signing process and ensures the smooth completion of transactions.
Functions
Coordinates TSS Nodes, sends signing requests, and collects the final TSS signature results.
Broadcasts signed transactions to the blockchain.
Workflow
Receive transaction requests from the Bridge Monitor.
Send signing requests to the TSS Nodes.
Collect signatures from all TSS Nodes.
Broadcast the signed transaction to the destination blockchain.
TSS Nodes ensure the decentralization and security of the system through a distributed signing mechanism. Each node operates an independent risk control module, further enhancing system security.
Functions
Generate TSS private key shares and use these shares for signing.
Configure independent risk control modules to ensure the legality of signing requests.
Workflow
Sign requests using TSS private key shares.
Validate signing requests through the risk control module.
Send the signature results back to the TSS Gateway.
The Risk Control Module is the last line of defense in ensuring system security. It prevents the execution of illegal or risky transaction requests through rigorous validation mechanisms.
Functions
Obtain information from trusted blockchain nodes.
Validate each signing request to ensure it meets all predefined rules.
Workflow
Retrieve transaction information from trusted blockchain nodes.
Validate the legality of signing requests.
Allow only requests that meet all rules to proceed.
Blockchain Nodes form the infrastructure of the system, ensuring the accuracy and timeliness of all transaction data.
Functions
Operate as standard Bitcoin or other network blockchain nodes.
Provide fundamental blockchain data services for other modules to query and use.
Workflow
Operate standard blockchain nodes to ensure data integrity and timeliness.
Provide data query services to support the Bridge Monitor and Risk Control Module operations.