Sjors Provoost

sjors@sprovoost.nl
I think the much better question is why would somebody use OP_RETURN for stamps, BRC-20 and Counterparty. It does make a difference for some of these protocols if the data is in an output, or the scriptsig, or witness part of a transaction.
With stamps the explicit goal was to bloat the UTXO set. Their marketing framed that as "unprunable". Counterparty was designed before SegWit and due to fee spikes around that time was pretty much unmaintained afaik. BRC-20 is just crazy. JK, I have no idea how that one works.
Stamps use CounterParty under the hood, which simply switches to bare multisig once the payload goes over 80 bytes. With the proposed Bitcoin Core change to policy, or just considering relay reality, CounterParty could stop doing that. But afaik nobody is maintaining it, and the inefficiency is a feature for some of its users (stamps).
So these stamp things my meetup buddies get all excited about will stop working at some point (unless counterparty is maintained), bougey castle built on sand?
Hi Sjors, appreciate your explanation, but which 'protocols' do you address here (below)? I mean, Lightning needed a softfork, we tacked on some privacy improvements later, but I'm unaware of other high prio things still being addressed... And if applications need data before spending, why not out of band, like miniscript? I'm very new to this discussion, but insiders that can clarify things to educate are hard to find while there's so much noise... "Some protocols require certain data to be available before the transaction is spent. Since the witness is only revealed at spending time, it would be too late."
The Stack Exchange post links to the mailinglist post by Antoine Poinsot. It it turn uses Citrea as the example. They use some sort of watch-tower scheme that needs to look for zero-knowledge proofs on chain and then react.
And from that I'm assuming various BitVM schemes will work in similar ways. Hard to predict what ends up being successful here.
Okay, thanks. I was pretty much in the 'let's ossify except for bug fixing and unforeseen future needs, cut off all feature discussions and level up with focus on 2nd layers with a stable base' camp. This adds to that conviction. I hope we get there asap. Clarity - hard to achieve in an open source world...
One way to look at OP_RETURN usage by "L2" projects, is to get a sense of what future op codes could look like. If people keep sticking zero knowledge proofs there, maybe at some it makes sense to just add a zero knowledge proof output type. Obviously that's a _very_ long time out, and there might be very good reasons to never do it. But you can look at it as a (permissionless) draft.
80 bytes is enough for a pointer plus metadata — the most efficient form of layer 2 scaling. The principle is simple: instead of putting the entire image (or data) on-chain, you embed a pointer or link and store the actual content off-chain — via IPFS, Nostr, Blossom, Nosdav, CIDs, or future solutions built for this purpose. This approach is cheaper, scalable, and keeps Bitcoin lean and mean for financial transactions. Ossification is good — aside from essential maintenance updates like cleanup or adjusting mempool limits to match modern hardware.
This also illustrates that if we had made this change earlier, they would not have designed the system to create unspendable public keys in the first place. They have no financial incentive to deviate from the original design. And once such a system goes live, assuming it has any uptake, their engineers will be busy with all sorts of more urgent things. Any typical corporate CTO would look at this situation and say: hey look, there's a bunch of drama here, let's assume the brigaders win and the OP_RETURN limit stays in place. So let's just stick to the original design. We're not price sensitive, so it's the safest option. It also saves us a bunch of engineering hours. Also, it protects our engineers from being harassed. Finally, this also goes to show that we really need to make progress on Utreexo, because UTXO set growth is a sitting duck. All we can do is ask people nicely to not grow it needlessly.
It's easier for a light client to obtain data in an OP_RETURN too - you only need the block merkle root, for witness data you'd need to get the coinbase tx and the witness commitment as well.
My very limited understanding of Citrea is that it implements such a light client in BitVM.

← More from Sjors Provoost