This repository was archived by the owner on Dec 4, 2024. It is now read-only.
This repository was archived by the owner on Dec 4, 2024. It is now read-only.
[sBTC DR 0.2] Add support for stx withdrawal #250
Open
Description
Description
The SIP for Nakamoto sBTC describes sBTC withdrawal as stacks transactions.
sBTC DR should support the same.
Context
Expected Approach
Add function request-withdrawal
to asset.clar that allows to initiate a withdrawal as a stx transaction.
Ideally, asset.clar should be refactored to be upgradable.
Romeo should observe the stacks chain for withdrawal request and initiate a burn and withdrawal.
Acceptance Criteria
- User can send withdrawal request on stx chain via bridge web app and receives btc on btc chain.