From: Greg Sanders <gsanders87@gmail.com>
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Subject: [bitcoindev] A Taproot-native (re-)bindable transaction bundle proposal
Date: Wed, 9 Jul 2025 11:19:22 -0700 (PDT) [thread overview]
Message-ID: <26b96fb1-d916-474a-bd23-920becc3412cn@googlegroups.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 3461 bytes --]
Hello all,
This is a bit of a follow-up from "What's a good stopping point? ...
CTV/CSFS..." from [^1]
> There has been several objections to this proposal, which we can group
into three categories:
exploration of alternatives, demonstration of usage, and design of the
operations to achieve these capabilities
For this e-mail I would like to address the third point proactively: design
of the operations to achieve these capabilities.
Antoine Poinsot, Steven Roose, and I have been working on a familiar, yet
concrete technical proposal that focuses on three well-understood
capabilities:
1. "Next transaction" capability, ala BIP119
2. "Verify signature of message on stack", ala BIP348
3. "Push taproot internal key onto stack", ala BIP349
These first two capabilities can offer radical simplifications
to well-understood systems when combined. The third is a simple
update that dovetails with the first two.
The BIP text is
here(https://github.com/instagibbs/bips/blob/bip_op_templatehash/bip-templatehash-csfs-ik.md)
and PR here(https://github.com/instagibbs/bips/pull/1), with full
motivation for this particular bundle and rationale discussing
alternatives. Our main contribution is a fully specified `OP_TEMPLATEHASH`
as a drop-in replacement for BIP119 `OP_CHECKTEMPLATEVERIFY`.
`OP_TEMPLATEHASH` is a simpler and more modern implementation of the "next
transaction" capability. It differs in committing to the Taproot annex and
being otherwise Taproot native, which allows us to:
- Use the `OP_SUCCESS` upgrade hooks in place of legacy `OP_NOP`s and be
able to push the template hash on the stack making the flagship use case of
rebindable signatures more efficient.
- Re-use the existing pre-computed Taproot sighash fields only instead of
introducing new ones (substantially simplifying the implementation and
review of the specifications).
- Not commit to the spending transaction's scriptSigs (which are both
unecessary and may incentivize ad-hoc uses of legacy input scripts as
programs).
- Not unnecessarily modify the less well-understood legacy Script.
Another notable difference is the lack of "bare CTV" analogue, which is
implemented here(https://github.com/instagibbs/bitcoin/tree/p2th) but left
out of the bundle due to lack of demonstrated utility.
The BIP for `OP_TEMPLATEHASH` is
here(https://github.com/instagibbs/bips/blob/bip_op_templatehash/bip-templatehash.md)
and a complete implementation is provided
here(https://github.com/instagibbs/bitcoin/pull/3). The bundle itself is
heavily inspired by
"LNHANCE"(https://delvingbitcoin.org/t/lnhance-bips-and-implementation/376).
We are hopeful that an opcode/implementation-focused discussion can be held
concurrently with other efforts such as discussions as to whether
or not this capability set is a good stopping point, including whether
this bundle is worth implementing on its own at all, as well as what
level of assurances we should have as far as tooling and proof of concepts
is concerned.
Best,
Greg
(1) https://groups.google.com/g/bitcoindev/c/-qJc1EWQzY0
--
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/26b96fb1-d916-474a-bd23-920becc3412cn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3905 bytes --]
next reply other threads:[~2025-07-09 18:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-09 18:19 Greg Sanders [this message]
2025-07-09 19:59 ` [bitcoindev] A Taproot-native (re-)bindable transaction bundle proposal Rijndael
2025-07-09 20:05 ` Rijndael
2025-07-09 20:14 ` Ademan
2025-07-10 4:44 ` Brandon Black
2025-07-10 12:24 ` James O'Beirne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26b96fb1-d916-474a-bd23-920becc3412cn@googlegroups.com \
--to=gsanders87@gmail.com \
--cc=bitcoindev@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox