Main Transaction Flow
User deposits a certain amount of BTC assets to the BTC on-chain recharge address:
The user sends a specified quantity of BTC assets to the BTC on-chain recharge address.
TEE Cross-Chain Bridge monitors the transaction:
The TEE Cross-Chain Bridge detects the transaction and, after remote attestation confirmation, utilizes the ETH_MPC private key to invoke the BTC-ETH conversion contract, generating the corresponding ETH Tokens for the deposited BTC assets.
OpenBit Off-Chain Service credits the user:
OpenBit off-chain services update the user's account after confirming the successful conversion of BTC to ETH Tokens.
User completes the transaction:
After completing various transactions, the user initiates a withdrawal request through the OpenBit off-chain service.
OpenBit Off-Chain Service generates proof and sends it to the proof verification contract:
OpenBit off-chain services create a proof for the withdrawal request and send it to the proof verification contract.
OpenBit Contract validates the proof, updates the world state, and sends corresponding ETH Tokens to the BTC-ETH conversion contract:
After validating the proof, the OpenBit contract updates the world state and transfers the corresponding ETH Tokens to the BTC-ETH conversion contract.
BTC-ETH Conversion Contract burns the corresponding amount of ETH Tokens:
The BTC-ETH conversion contract destroys an equivalent amount of ETH Tokens, ensuring synchronization with the Ethereum network.
TEE Cross-Chain Bridge, after remote attestation confirmation, forwards the corresponding BTC assets to the user:
The TEE Cross-Chain Bridge, upon remote attestation verification, utilizes the BTC_MPC private key to transfer the corresponding BTC assets to the user.
This comprehensive process ensures a secure and streamlined experience for users depositing, transacting, and withdrawing assets within the OpenBit ecosystem.
Last updated