Export Display for Script#813
Merged
thunderbiscuit merged 1 commit intobitcoindevkit:masterfrom Jul 30, 2025
Merged
Conversation
thunderbiscuit
approved these changes
Jul 18, 2025
Member
thunderbiscuit
left a comment
There was a problem hiding this comment.
Yep I use this all the time! Thanks for adding it here.
ACK 18046ac
18046ac to
ac6a72f
Compare
The `rust-bitcoin` type has a nice feature where the human-readable OP-codes are printed when using the `Display` version of `ScriptBuf`. Some users might find this interesting, as this is a feature of the almighty Sparrow wallet.
ac6a72f to
e4dd37f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
rust-bitcointype has a nice feature where the human-readable OP-codes are printed when using theDisplayversion ofScriptBuf. Some users might find this interesting, as this is a feature of the almighty Sparrow wallet.To see for yourself:
Which should have an output similar to this for a fully built out example:
Changelog notice
DisplayforScriptChecklists
All Submissions:
cargo fmtandcargo clippybefore committing