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

sBTC support #1532

Open
hugocaillard opened this issue Aug 2, 2024 · 0 comments
Open

sBTC support #1532

hugocaillard opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels
devnet Issue related to the devnet simnet Issue related to the simnet

Comments

@hugocaillard
Copy link
Collaborator

hugocaillard commented Aug 2, 2024

Context

sBTC will be the next big milestone for Stacks after Nakamoto.
We want developers that build on top of sBTC to use Clarinet.
Clarinet could also be useful to be used for sBTC core team developer to tests (manually and automatically) sBTC.

For that, we want sBTC to be available and easy to use in the Simnet and the Devnet.
We could also provide accounts already founded with sBTC (just like we provide account loaded with STX).

Spec

We don't have an exact spec of what sBTC looks like in Clarinet, but here is what we know so far.
Check the sBTC repo for context https://github.com/stacks-network/sbtc.

The local env they have (a docker-compose that basically does the same job as the devnet) is also a good starting point)

Contracts:

  • Mock sBTC boot contract might be just enough for the simnet (and even devnet to some extent)
  • And later, the actual boot contracts for sBTC could be implemented in devnet to match the real behaviour

Devnet:
Additional docker containers

  • Third party tools (that could be added today, disabled by default) -- ready to do today

    • mempool api (and mempool.space frontend could be available as well)
    • electrum API
  • sBTC binaries

    • the sBTC bootstrap signer(s)
    • the Emily API (it alerts the signers to deposits that have been made, and tracks the status of the sBTC deposits and withdrawals)
    • the blocklist-client
@github-project-automation github-project-automation bot moved this to 🆕 New in DevTools Aug 2, 2024
@hugocaillard hugocaillard moved this from 🆕 New to 📋 Backlog in DevTools Aug 2, 2024
@hugocaillard hugocaillard added devnet Issue related to the devnet simnet Issue related to the simnet labels Aug 2, 2024
@hugocaillard hugocaillard self-assigned this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devnet Issue related to the devnet simnet Issue related to the simnet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant