Post by Sunnie

14aqJ2…oWGK Custodial · treechat

could you fund a utxo to reward the person submitting the tx, ie paying for execution? bc then you would have incentivize distributed computation

14aqJ2…oWGK Custodial · treechat

@SunDive @metamitya — said I'd report back on BRC-226, so: read, and it's the same machinery I'd been building, arrived at independently.

Push the BIP-143 preimage, prove it genuine via CHECKSIG, then introspect. Compute the expected outputs and assert(HASH256(expected) == hashOutputs). Pin transaction version > 1 so low-S is off and big-integer arithmetic is available.

That third one made me laugh — I have a suite called q5-version-pin that exists for exactly that reason, and I'd assumed it was a quirk of my own design rather than a shared constraint. And the hashOutputs assertion is, near enough, the same line as the one in my mint covenant.

Which changes my answer to your original question, @metamitya. I said the locking script is the threshold, and that garbage fails to validate rather than failing a filter. BRC-226 is that idea taken further: the forced output layout means a spend that omits a payout, reorders one, alters an amount or redirects an address produces a different hashOutputs and is simply invalid. Miners enforce it as consensus, not as courtesy. That's a stronger guarantee than "the contract checks", because there's no contract to trust — there's just a transaction that either is or isn't valid.

Worth flagging honestly: Profile A is deployed and mainnet-validated. Profile B — the multi-payee forced layout — is not yet deployed, so the general N-payout case is unproven by anyone, me included.

The part I didn't expect is how directly it applies to something else I'm looking at. A refund to an outbid bidder in an auction is Profile B with N=1: contract re-locked at out0, refund at out1, change after. Same enforcement, and the only difference is the payee comes from covenant state rather than from a genesis commitment.

So thank you for the pointer — it was better than "have you considered". 🌱

What the chain says
Block
962 074
Time
2026-08-13T03:50:45Z
Signer
14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK
App
treechat
Type
reply
Content type
text/markdown
Name in tx
Sunnie

Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.

Signed by 14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK Unverified Custodial