Summary
Add helpers and E2E support for sBTC bridge interactions (deposit BTC → sBTC, withdraw sBTC → BTC).
Context
sBTC is the trust-minimized Bitcoin peg on Stacks. Testing sBTC flows requires signing both Bitcoin PSBTs (deposit) and Stacks transactions (withdraw). This bridges the Bitcoin and Stacks layers.
Requirements
- Helpers for sBTC deposit flow (construct PSBT, sign, broadcast to Bitcoin)
- Helpers for sBTC withdraw flow (Stacks contract call to initiate withdrawal)
- Bitcoin regtest/testnet4 integration for deposit E2E
- Example spec demonstrating full deposit + withdraw cycle
- Documentation for sBTC testing setup
Dependencies
Milestone
v0.5
Summary
Add helpers and E2E support for sBTC bridge interactions (deposit BTC → sBTC, withdraw sBTC → BTC).
Context
sBTC is the trust-minimized Bitcoin peg on Stacks. Testing sBTC flows requires signing both Bitcoin PSBTs (deposit) and Stacks transactions (withdraw). This bridges the Bitcoin and Stacks layers.
Requirements
Dependencies
signPsbt(feat: multi-account fixtures from single mnemonic #6)Milestone
v0.5