Replies: 2 comments
-
Thanks for initiating this discussion. Adding int-to-buff function would be valuable to make handling BTC transaction data easier. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jbencin also recently suggested adding new conversion functions as well. See clarity-lang/reference#81 for example (note that repo is where we've been collecting ideas for Clarity upgrades). These conversions can definitely be included in the next Clarity version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As discussed during last weeks ClarityWG, the ability to 'read' a Bitcoin transaction is quite limited in Clarity. Currently, developers use the Bitcoin-Clarity-v5.clar contract to:
An idea was floated (though it's certainly been mentioned many times before) to create a new set of Clarity functions that specifically help read Bitcoin state. This discussion is meant as a starting point for that research.
I'm tagging all participants who were there during the CWG meeting and/or have mentioned the idea beforehand: @friedger @obycode @djordon @dylanft @MarvinJanssen
Beta Was this translation helpful? Give feedback.
All reactions