Posted by jeremy
Aug 23, 2025/17:35 UTC
Jeremy has recently shared a draft BIP (Bitcoin Improvement Proposal) that proposes a new opcode, OP_TWEAKADD, for consideration and deployment as an upgrade under the OP_SUCCESSx category. The draft, accessible on GitHub at this link, introduces OP_TWEAKADD as a relatively straightforward opcode aimed at enhancing Bitcoin's scripting capabilities. The design decisions surrounding this opcode focus on three main areas: the choice between verify versus push semantics, the order of arguments, and the nature of the tweak to be applied.
The decision to opt for push semantics over verify is driven by the goal of achieving succinctness in on-chain operations. By placing the key on top of the argument stack, with the tweak in the witness, the proposed design emphasizes ease of use and efficiency in script execution. The proposal advocates for the use of a plain tweak, leaving it up to the user to apply hashing if deemed necessary. This approach is chosen for its flexibility, allowing for straightforward implementation while also keeping open the possibility of future enhancements, such as the addition of TapTree opcodes for constructing taproot tweaks.
Jeremy's message encourages feedback and discussion within the Bitcoin development community, underscoring the proposal's open-ended nature and the potential for further refinement based on community input.
TLDR
We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project?
Give Feedback