sbtc-developer-release
sbtc-developer-release copied to clipboard
[stacks-signer] add ability to broadcast BTC transactions
Description
Add functionality to the stacks signer to broadcast a signed bitcoin transaction to the bitcoin node. This should operate on a retry backoff.
Context
Signers need to broadcast fulfillment transactions for both pending withdrawals and pending deposits (in the happy path yes consensus)
Expected Approach
Add something similar to stacks_client to the stacks signer repo that broadcasts BTC transactions
Acceptance Criteria
- [ ] PR adds the feature to broadcast BTC transactions
- [ ] There is a test in place to verify the broadcasted bytes are received (see alpha testing)