Redeem BTC from stBTC
Last updated
Last updated
A user can redeem BTCs by burning stBTCs. As shown in the figure, the process of redeeming BTCs is as following:
The user logs into the Lorenzo dapp using the user’s wallet.
The user burns a certain amount of stBTCs.
The Lorenzo Monitor monitors the stBTC burning event on the Lorenzo chain.
The Lorenzo Monitor sends the transaction hash of the transaction, along with the constructed BTC withdrawal transaction, to the Vault Wallet System service and requests a signature.
The Vault Wallet System is a multi-signature service deployed on multiple machines, with each machine holding a portion of the signatures. Each machine verifies the legality of the txhash
of the stBTC burning transaction. If the legality is confirmed, the machines participating in the multi-signature service interactively generate the final signature, which is then sent back to the Lorenzo Monitor.
Upon receiving the BTC signature, Lorenzo_monitor
broadcasts the signed transaction to the BTC network, completing the user’s withdrawal operation.