Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Member

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
Member

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Status: 🆕 New
Development

No branches or pull requests

4 participants