5. Bridging Bitcoin and Bitlayer Network
5.1 Integration of the BitVM Bridge
A secure and reliable method for managing user assets is essential for rollup solutions. Among known approaches, the BitVM bridge stands out due to its robust architecture and practicality. The BitVM bridge securely facilitates the transfer of BTC from the Bitcoin network to Bitlayer, where it is represented as a native asset called YBTC. Additionally, the bridge ensures secure and efficient asset withdrawals back to Bitcoin, providing users a trustworthy exit mechanism.
In our design, each user's deposit corresponds to an individual BitVM smart contract instance. Deposited funds are locked by the presign committee's address, and an equivalent amount of YBTC is minted on Bitlayer. Liquidity providers can participate in these contract instances by redeeming BTC from the smart contracts, submitting appropriate proofs that include the associated 'Burn' transaction on Bitlayer and its corresponding claim on Bitcoin. You can learn more about Bitcoin-based claim verification here.
5.2 Roles
The BitVM protocol defines four primary roles—User, Broker, Attester, and Watcher—to ensure correctness and security.
Users hold assets either as BTC on the Bitcoin network or YBTC on Bitlayer. When depositing assets, users interact with Brokers to obtain and verify necessary transaction information. Under normal conditions, users withdraw funds by initiating a Burn transaction on Bitlayer. In emergency scenarios, users directly issue a force inclusion transaction on the Bitcoin network.