Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Design proposal: Initiate withdrawals on the Stacks chain #49

Open
netrome opened this issue Aug 2, 2023 · 4 comments
Open

Design proposal: Initiate withdrawals on the Stacks chain #49

netrome opened this issue Aug 2, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@netrome
Copy link
Contributor

netrome commented Aug 2, 2023

Background

Marvin created a proof of concept for sBTC 0.1 in which withdrawals are initiated on the stacks chain here: https://github.com/Trust-Machines/stacks-sbtc/pull/595

For Mini it has turned out to be simpler to initiate withdrawals on Stacks, and we suspect that the final design would be simpler if that also were the case.

Let's explore the following three options

  • Option 0: Don't change the design
  • Option 1: Support initiating withdrawals on Stacks alongside bitcoin operations
  • Option 2: Only support initiating withdrawals on Stacks

Definition of done

We have decided on one of the options above and updated the design in line with that option, as well as provide an explanation in the design for the interested reader motivating the design.

@netrome netrome added the enhancement New feature or request label Aug 2, 2023
@jcnelson
Copy link

jcnelson commented Aug 2, 2023

The final system will likely support both Bitcoin-originated withdrawals and Stacks-originated withdrawals. The latter would be the happy path, and the former exists to force block producers to include the withdrawal tx in case censorship is a concern.

@muneeb-ali
Copy link

I think for Mini it might make sense to do whatever is faster (taking the MVP approach of Mini).

For the final system, it will help to support just Bitcoin-only withdrawals. We should assume that there will be some custody providers or wallets that can interact with Bitcoin but can't interact with Stacks L2 (at least in the initial months/years after Nakamoto release). So supporting Bitcoin-only deposits and withdrawals helps increase the potential use case of sBTC (folks on such wallets/custodians can also participate).

@netrome
Copy link
Contributor Author

netrome commented Aug 3, 2023

Then I think it makes sense to keep the scope narrow and aim for Bitcoin-only for 1.0 and having Stacks-originated withdrawals as a feature for 1.1.

So to summarize:

0.1: Stacks-originated withdrawals
1.0: Bitcoin-originated withdrawals
1.1: Both

@friedger
Copy link
Collaborator

sBTC DR 0.1 (alpha romeo) support Bitcoin-originated withdrawals only

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants