sBTC Design - Implementation of Commit Reveal #314
Replies: 4 comments 5 replies
-
Currently under investigation by @FriendsFerdinand |
Beta Was this translation helpful? Give feedback.
-
The next comment could be added to the SIP in the Two-Phase Deposit section |
Beta Was this translation helpful? Give feedback.
-
Commit-Reveal depositUsers may not be able to send a Bitcoin transction with an The procedure would go like this: 1. User sends Bitcoin to the generated address with the following script spending paths:Path A: The sbtc payload is embedded in the script that sends the Bitcoin to the signer's pubkey
Path B: The Refund path (same as the other Deposit method)
2. Data needed to verify the commitment in the transaction
This contract call performs the following:
sbtc payload format
The magic bytes are
Opcode: < Recipient address: Either a standard or a contract principal encoded as a Clarity value as defined in SIP-005. In the implementation, the contract length has a maximum length of 40 bytes. Conditions
|
Beta Was this translation helpful? Give feedback.
-
Add to the specifications that:
|
Beta Was this translation helpful? Give feedback.
-
This is a research discussion post meant to be edited with research notes surrounding commit reveal.
This research is about how it should be implemented and various considerations surrounding how it would be implemented and what it might look like.
Beta Was this translation helpful? Give feedback.
All reactions