
engineer @sunnyside_io | @DecipherGlobal | ko @organ_mo
New York, NY
Joined January 2023
- Tweets2.9K
- Following990
- Followers811
- Likes6.3K
I'm now heading to Devcon, and I think it's a good time to share my personal research side project:
It's time to scale the trust: EIP-8288 on OP Stack
ethresear.ch/t/its-time-to-s…
The problem: PQ signatures are too large, and L2s now would face a huge regression on the throughput side if users move to PQ schemes.
Solution: EIP-8288 on L2. Sequencer aggregates signatures / ZK proofs into a single "aggregate proof" recursively, eliding big data from the block.
So the paper introduces a proof-of-concept of implementing EIP-8288 on OP Stack. I put some interesting modifications on both leanVM, OP Stack, and EIP-8288 - and whatever the modifications are, this direction of L2s adopting EIP-8288 will eventually bring better data efficiencies for them.
Definitely it's not a production-ready one and there are a lot of rooms for improvement, but I believe this is a great path for L2s to still scale the load (and even better!) after PQ transition.
If anyone interested, please leave some comments or DM me! If you are heading to Devcon we can talk IRL too 😀
This is not good
Long live ZK STARKs, hope EIP-8288 to be applied to all EVM chains
Replying to @ethbeat_org
The trusted setup has 54 Phase 1 contributions, but each of the 15 circuit proving keys has just one Phase 2 contribution, with no published transcript or participant list.
If the contributor retained the secret randomness, they could forge proofs for that circuit and steal all funds deposited into Hinkal.
92
For who wants to hide your onchain payrolls to your employees
For who don't want to reveal your grant payouts to public
For who wants to hide your overall onchain money flow
try this at app(.)privacyboost(.)io
smstack.eth retweeted
Today we're excited to launch Privacy Boost Treasury.
An all-in-one, self-custodial, and private place for your onchain treasury: token vesting, payroll, grants, DeFi, and token sales.
All without showing any of it to the public, your competitors, or hackers.
zkVM moment of formal verification?
Today we're releasing initial results on scaling x86 binary verification: proofs using @leanprover that machine code for 71 operations across 10 RustCrypto crates matches the relevant standards.
This is our first step in securing all software with AI-powered formal verification.
smstack.eth retweeted
The PQ crypto team at the EF is really cooking with LeanVM. Insane performance for recursive STARK proving.
And no reliance on conjectured mathematics unlike some other zkVMs.
smstack.eth retweeted
Transparency has always been one of blockchain's biggest selling points. Anyone can verify transactions, follow capital flows and see what's happening onchain.
That's great for DeFi. But I'm not convinced the same level of visibility works for every participant in traditional finance.
Imagine a fund managing $500M.
Would they really want competitors watching their positions, transaction sizes and trading activity in real time?
Probably not.
And this is where institutional adoption gets complicated.
I found @Mantle_Official's recent discussion with @sunnyside_io interesting because it touches on a problem that doesn't get nearly enough attention in the RWA conversation.
Everyone talks about bringing assets onchain. Far fewer people discuss what happens when institutions actually start trading them.
There's a difference between making financial markets transparent and making every piece of financial information public.
A few things matter here:
• Settlement should be verifiable, even when sensitive transaction details aren't publicly visible.
• Institutions need ways to protect their strategies and counterparty information.
• Regulators and authorized parties still need access to the information they're legally entitled to see.
None of this necessarily requires sacrificing the core benefits of blockchain.
Technologies such as zero knowledge proofs and selective disclosure could help, although implementing them in real financial markets is considerably more complicated than it sounds.
And privacy introduces its own questions.
Who gets access? Who decides what remains confidential? What happens when private information becomes relevant to market integrity or regulatory oversight?
These aren't minor implementation details. They're part of what determines whether institutions can realistically use public blockchain infrastructure at scale.
I think we're still early in figuring this out.
Mantle's discussion doesn't mean these problems have been solved, and I wouldn't treat it as a product announcement.
But it points toward an important part of the next phase of tokenization.
Getting traditional assets onchain is only the beginning.
Making those assets useful for institutions, without forcing them to expose commercially sensitive information to the entire market, is a much harder problem.
And perhaps a more important one than another announcement about how many billions have been tokenized.
Onchain markets need transparency. Traders need privacy.
@taem_park, Co-founder & CEO of @sunnyside_io, joins Mantle IRL to discuss how public market data and private trades can coexist, with a look at potential privacy use cases for institutional RWA trading.
smstack.eth retweeted
Oh yes oh yes !!
Pika already hav formy fav wassies like @StackDigest @luiscordovadsgn @heyitsgilroy @MuchLongth 🐀🐀🐀
Totally bullish about this direction, this choice will allow ppl to explore more about what ISA to enshrine, while there can be several important applications built on this.
Anticipating the new/modified EIP coming out!
Over the past few weeks I've gone from thinking leanPCS is total bull to being a total bull. So let me explain some of these buzzwords in more detail.
At the core, 8288 is about hyper-scaling data and execution for any computation that needs to get performed on a piece of data once, the chain learns the answer, and then we never need to see that data again. This sounds very specific, but it includes most "heavy" things happening on Ethereum:
* Signatures
* STARKs
* Merkle branches
* FHE computation
* ...
Really the first two are the most important.
Once we go quantum-safe, signatures get bigger (65 bytes ECDSA -> 1-6 kB WOTS/SPHINCS depending on params) and ZKPs get much bigger (200-1000 bytes with groth16, PLONK, etc -> 128 kB with STARKs). This is unsustainable to put on chain, and 8288 fixes this.
8288 works by aggregating STARKs in the mempool. First, you as a user generate the STARK or SPHINCS signature or PCS opening (more on that last one later), and publish it. Then, each node listens. Each tick, each node takes all of the new objects that it has seen, and generates a STARK containing a list of "claims":
"pubkey P has signed message M"
"program X run on data D has output Y"
"p(X) = Y for some polynomial P whose hash is H"
and a proof that it has seen a signature, STARK or PCS opening verifying those claims. So the only information getting re-broadcasted is:
(i) hashes of inputs and outputs (~64-96 bytes per claim)
(ii) a single STARK proof per tick
These aggregate proofs themselves get re-aggregated, and eventually you get to a single "master proof" in the block, that verifies that all of those statements are true. And so the only other data that has to actually go on chain is the statements (the (P, M), (X, D, Y), (X, Y, H) tuples I described above), not the actual signatures or proofs. This gets put into a specialized frame type.
Now, let's get into the leanSPHINCS vs leanSTARK vs leanPCS part.
The core distinction is: *what is the underlying object that the user is creating?*
In leanSPHINCS, it's a signature, and specifically this particular type of purely-hash-based signature: ethresear.ch/t/sphincs-minus…
If we add leanSPHINCS, then users will be able to make quantum-safe accounts, and pay only a little bit of gas (4096 for the 64 bytes) for each signature. So we get scalable quantum-safety for regular accounts, multisigs, etc. But it's only one specific signature scheme, you can't do anything else.
In leanSTARK, it's a STARK. This means it's fully general: the user runs whatever computation they want, and publish a STARK of it. So you can use it for:
* Any signature scheme (including eg. lattice-based ones if you like those)
* A multisig that hides its internal logic
* Privacy protocols
* Private account abstraction: authorization logic that depends on some value hidden elsewhere in the state, so you can have one key that controls all your accounts without publicly linking them to each other
Basically, it's a free for all, in the same way the EVM is a free for all.
But leanSTARK has a practical downside. The protocol would have to specify the language in which users write their programs (we call this the "ISA"). So we would have to agree on that language. This is a really big deal - it's the first big case of "Ethereum moving beyond the EVM" - and so it's likely to take time to agree on the details of it, especially since the ISA would be hard to upgrade. There are benefits to taking longer on this, figuring out the ideal ISA, and then even giving access to it inside regular contracts.
LeanPCS is the third option. PCS stands for "polynomial commitment scheme": a proof that P(x) = y. The most important thing to know about PCSes is that they are by far the most important "hard" component of a STARK (see here: vitalik.eth.limo/general/202… ). If you have a "magic PCS oracle" (which from the EVM's point of view, 8288 is), you can verify a STARK in ~20-40k gas.
The most important gain with PCS is that there is far less that we need to choose. Specifying a PCS only requires specifying a field, and there is a natural option: the 128 bit binary field (technically, we can go more general than that, and say the 2^k-bit binary recursive tower field, going up to 256)
LeanPCS is less efficient than leanSTARK onchain, because you would have to put multiple claims to prove one thing. But it's arguably more efficient offchain, because you have much more flexibility to choose proof systems.
But most importantly, leanPCS gives you the same generality as leanSTARK, in a way that could potentially be implemented very quickly. And once we figure out the ISA, we can add leanSTARK later.
So there is a route to getting "the cryptographic proof singularity" much faster than any of us expected, and that route runs through 8288 with leanPCS.
firefly.social/post/x/212092…
1
4
206
Replying to @odin_free @VitalikButerin
leanVM is much more efficient than Stwo in terms of proving hashes, which is very important to support hash-based sigs
Tho I believe Cairo can be supported if the proving backend supports leanPCS, since Cairo is just a frontend tech
1
102
smstack.eth retweeted
pqai27: Our view on post-quantum and post-AI timelines.
We shared this on Ethereum Magicians as input into the Ethereum governance process.
ethereum-magicians.org/t/pqa…
smstack.eth retweeted
Onchain markets need transparency. Traders need privacy.
@taem_park, Co-founder & CEO of @sunnyside_io, joins Mantle IRL to discuss how public market data and private trades can coexist, with a look at potential privacy use cases for institutional RWA trading.
smstack.eth retweeted
Ethereum’s client diversity will really pay off with AI cyber capabilities taking off.
The Ethereum protocol is implemented by many clients such that a bug in any given client will not cause major failures for the network. The majority will be running on different clients!
smstack.eth retweeted
I'm now heading to Devcon, and I think it's a good time to share my personal research side project:
It's time to scale the trust: EIP-8288 on OP Stack
ethresear.ch/t/its-time-to-s…
The problem: PQ signatures are too large, and L2s now would face a huge regression on the throughput side if users move to PQ schemes.
Solution: EIP-8288 on L2. Sequencer aggregates signatures / ZK proofs into a single "aggregate proof" recursively, eliding big data from the block.
So the paper introduces a proof-of-concept of implementing EIP-8288 on OP Stack. I put some interesting modifications on both leanVM, OP Stack, and EIP-8288 - and whatever the modifications are, this direction of L2s adopting EIP-8288 will eventually bring better data efficiencies for them.
Definitely it's not a production-ready one and there are a lot of rooms for improvement, but I believe this is a great path for L2s to still scale the load (and even better!) after PQ transition.
If anyone interested, please leave some comments or DM me! If you are heading to Devcon we can talk IRL too 😀
Replying to @gakonst
How much are you confident on the security side? Curious about any plans on things like formal verification on solar
108






















