AaronZhang
Last week I posted Eltoo State Chain on Signet: Three Rounds, Six Transactions (APO+CTV). This post is a counterpart to that experiment – same 3-round Alice/Bob/Carol scenario, switching the primitive to CSFS+CTV. The result is two on-chain transactions instead of six. No new opcode, no OP_CAT – only CSFS and CTV, both already activated on Inquisition signet.What I didWhat I did
Encoded 3 rounds of state progression into a single CSFS delegation chain (a ladder), with CTV enforcing the final 3-output settlement:State 0: Alice 50,000 Bob 30,000 Carol 20,000 (initial) State 1: Alice 45,000 Bob 35,000 Carol 20,000 (Alice pays Bob) State 2: Alice 40,000 Bob 35,000 Carol 25,000 (Alice pays Carol)Tapscript (42 bytes)Tapscript (42 bytes)
\<K\_pub\_32> OP\_CHECKSIGFROMSTACK OP\_VERIFY OP\_CHECKSIGFROMSTACK OP\_VERIFY OP\_CHECKSIGFROMSTACK OP\_VERIFY OP\_CHECKSIGFROMSTACK OP\_VERIFY OP\_CHECKTEMPLATEVERIFY4x CSFS (3 delegation hops + 1 settlement signing) + 1x CTV (output enforcement).
Flat. No stack manipulation opcodes.
...read more at delvingbitcoin.org
pull down to refresh
related posts
This really shows how much efficiency can be squeezed out of existing primitives without new opcodes.