This repository was archived by the owner on Dec 4, 2024. It is now read-only.
generated from stacks-network/.github
-
Notifications
You must be signed in to change notification settings - Fork 22
sBTC Research - Create Deposit Procedure Diagram #349
Copy link
Copy link
Open
Labels
designDesigning or fleshing out the implementation of a feature or task.Designing or fleshing out the implementation of a feature or task.researchLooking into something, not sure whatLooking into something, not sure what
Description
Description
We need to create a deposit procedure diagrams to put in place of Figure 1 of the original sBTC SIP PR.
Context
During the SIP planning process we've identified a few key changes that we intend to make for the original deposit flow. The primary difference are:
- OP_RETURN will be supported but not the primary deposit protocol
- OP_DROPs will be collated into a single OP_RETURN along with any other UTXOs to the peg wallet such that at the end of every Bitcoin block there is only a single UTXO to the peg wallet.
- A user using OP_DROP will provide the revealer data via a Revealer API in the happy path, and "challenge" or "force" the transaction to be noticed by signers via a call to the
.sbtccontract.
All research discussions: research
All design discussions: design
Most relevant:
- feat: support contract principals in complete-deposit contract calls stacks-sbtc/sbtc#345
- feat: adds costs test for completing withdrawals stacks-sbtc/sbtc#314
- feat: transaction coordinator capable of computing and signing a valid bitcoin transaction stacks-sbtc/sbtc#343
Expected Approach
Create one or more protocol flow diagram like the others in the SIP that will show the full flow of OP_DROP and OP_RETURN and include that in the SIP. It is expected that these are iterated upon within this ticket.
- Read relevant sBTC research discussions
- Discuss areas of ambiguity
- Create protocol diagram/s
- Iterate
Artifacts / Acceptance Criteria
- There are N protocol design diagrams that handle all variations of the 3 steps in the context description.
- Those diagrams have been confirmed by Jude and others.
- Those protocol design diagrams are linked to and included in the sBTC SIP in the initial sBTC SIP PR: SIP: Nakamoto sBTC stacksgov/sips#156
Metadata
Metadata
Assignees
Labels
designDesigning or fleshing out the implementation of a feature or task.Designing or fleshing out the implementation of a feature or task.researchLooking into something, not sure whatLooking into something, not sure what