Allow for the bridging of custom messages/payloads or 0 BTC/sBTC deposit and withdrawals #4134
Replies: 3 comments 1 reply
-
I strongly agree that supporting protocol mechanisms that enable further BTC <> STX communication with custom sBTC payloads is in general a worthy endeavor & vouch for building it into a version of Clarity-Bitcoin even if it's less effective than the protocol bridge. What options do you see here? From my understanding it's: A. Extract The Work Back From Node To Contract B. Update The Node / Protocol To Process Defined Commit-Reveal Messages |
Beta Was this translation helpful? Give feedback.
-
Looking forward to working together to improve BTC <> STX integration! |
Beta Was this translation helpful? Give feedback.
-
In support of this. Very cool idea. It could be interesting to reference this messaging related BIP for structuring message standards. Also, LayerZero. |
Beta Was this translation helpful? Give feedback.
-
Related: #3961
At Clarity WG we started building generalised commit-reveal contracts to allow any kind of data to be submitted on Bitcoin and revealed on Stacks. See here: https://github.com/MarvinJanssen/clarity-commit-reveal.
A multitude of applications could then be built on top, of which sBTC would be one. By removing sBTC specific logic from commit-reveal it would become easier to build different things that did not perfectly align with sBTC paradigms. After we shifted direction the codebase was abandoned and the idea not developed further.
I am posting this to open a discussion to see if there is still room for a generalised commit-reveal now that the node will take care of most of the work. It is conceivable that other dapps can benefit from being able to bridge messages between Stacks and Bitcoin with custom payloads. Looking at what ALEX has been building for example, in a Nakamoto/sBTC world, their bridge would always be more expensive to run because they have to do the work purely in Clarity and cannot leverage the node mechanism directly. It puts all applications that cannot (effectively) build their transport on top of sBTC at a disadvantage.
cc @setzeus @fiftyeightandeight
Beta Was this translation helpful? Give feedback.
All reactions