// TECHNICAL WRITING
BLOGS &
BLOGS &
WRITINGS
Deep dives on zero-knowledge proofs, cryptography, the EVM, and Ethereum protocol research. Each post opens at its source.
- Exploring Zcash: Encrypted Money from First PrinciplesZcash from first principles: shielded pools, note commitments, nullifiers and zk-SNARKs, with a transparent and a shielded transaction walked end to end.
- ZisK zkVM: How It Reaches 1.5 GHz Trace GenerationHow the ZisK zkVM reaches 1.5 GHz trace generation: fast emulation, minimal traces and parallel witness generation, and what it means for real-time proving.
- Ethereum Protocol Fellowship Dev Log: zkVM PerformanceMy Ethereum Protocol Fellowship project summary: zkVM performance and precompile benchmarks, AOT compilation and stateless block validation.
- Hybrid Ethereum: A RISC-V Execution Engine ExperimentAn experiment replacing Ethereum's EVM sandbox with a RISC-V execution engine: the design, new node components and backward compatibility with the EVM.
- EIP-4337 Account Abstraction Wallets: A Deep DiveHow EIP-4337 account abstraction separates keys from accounts: bundlers, the entry point contract, paymasters and the user operation lifecycle.
- ZK-Rollups After EIP-4844: From Calldata to BlobsHow ZK-rollups post data after EIP-4844 (proto-danksharding): blob transactions, KZG commitments, the point evaluation precompile, and cheaper data.
- EIP-7928 Block-Level Access Lists ExplainedEIP-7928 block-level access lists: how recording every state access and diff per block enables parallel disk I/O, parallel EVM execution and ZK proving.
- Chronicle: A Blazing-Fast Blockchain Indexer in RustAn introduction to building a blockchain indexer in Rust with Chronicle: parsing transactions, smart contract events and parachain events at speed.
- Building an EIP-2771 Gasless RelayerDesigning a scalable, fault-tolerant EIP-2771 relayer for gasless meta-transactions: system goals, high-level architecture, security and future work.
- EVM Object Format (EOF) Explained: A Deep DiveWhat the EVM Object Format (EOF) changes for Ethereum smart contracts: the container format, code and data sections, and deploy-time validation.
- What Does the EVM JUMPDEST Opcode Do?The EVM JUMPDEST opcode (0x5b) explained: how it marks valid targets for JUMP and JUMPI, how jump destination analysis works, and why it matters.
- How Blockchains Read and Write State in WASM and RISC-VState reads and writes aren't native WASM or RISC-V instructions. How blockchain VMs expose storage to contracts through host functions and syscalls.
- Building Blocks of Modern Zero-Knowledge ProofsAn engineer's guide to the core protocols behind modern zero-knowledge proofs: the sum-check, zero-check, product-check and permutation-check IOPs.
- KZG Polynomial Commitments via Airdrops (Part 1)Part 1: how token airdrops work today with Merkle proofs, using Optimism's airdrop, as the starting point for replacing them with KZG commitments.
- KZG Polynomial Commitments via Airdrops (Part 2)Part 2: implementing an airdrop with KZG polynomial commitments: committing to the claims, generating proofs, and verifying them in a smart contract.
- Winternitz One-Time Signatures (WOTS) ExplainedHow the Winternitz one-time signature (WOTS) scheme works: hash chains, key generation, signing and verification, with a full Rust implementation.
- The Groth16 zk-SNARK Protocol ExplainedA walkthrough of the Groth16 zk-SNARK: bilinear pairings, QAPs, the powers of tau trusted setup, and how the prover and verifier work.
- From R1CS to QAP: Arithmetic Circuits for SNARKsHow an arithmetic circuit becomes a rank-1 constraint system (R1CS) and then a quadratic arithmetic program (QAP), worked through on a small example.
- The Permutation Check Polynomial IOP (PLONK)The permutation check PIOP through the lens of PLONK: proving one vector is a permutation of another with a grand product argument.
- The ProductCheck Polynomial IOP ExplainedThe ProductCheck PIOP for univariate and multilinear polynomials: proving a product relation over a domain via ZeroCheck and a random linear combination.
- The Sum-Check Protocol Explained (with Rust)The sum-check protocol from first principles: proving a polynomial's sum over the Boolean hypercube round by round, with a Rust prover and verifier.
- The ZeroCheck Polynomial IOP ExplainedThe ZeroCheck PIOP: proving a polynomial vanishes on a domain, for univariate polynomials via the vanishing polynomial and multilinear ones via sum-check.
- The Multiset Check IOP in Zero-Knowledge ProofsThe multiset check IOP: proving two multisets are equal by encoding them as polynomials and testing at a random challenge, and its role in PLONK.
- Merkle Patricia Trie Explained (with Rust)How Ethereum's Merkle Patricia Trie works: leaf, extension and branch nodes, nibble paths and hashing, with a Rust implementation.
- Merkle Trees and the BlockchainWhat a Merkle tree is and why blockchains depend on it: hashing transactions into a single root, Merkle proofs, and efficient verification.
- Building a Kademlia Distributed Hash Table (DHT)How the Kademlia DHT works and how to build one: XOR distance, k-buckets, node lookups and storing key-value pairs in a peer-to-peer network.
- Fields and Extension Fields in CryptographyLecture notes on finite fields and extension fields for cryptography: prime fields, GF(p^n) built from irreducible polynomials, and field arithmetic.
- The Matryoshka Algorithm for Fast MLE EvaluationThe Matryoshka algorithm for computing the multilinear extension of a Boolean function efficiently, as used in GKR-style succinct proof systems.
- Jagged (Stacked) Multilinear Extensions for zkVMsJagged multilinear extensions: committing to many tables of different heights as one stacked MLE so zkVM provers avoid wasteful padding.
- Ron Rothblum's Optimization for MLE EvaluationFaster multilinear extension evaluation: Ron Rothblum's optimization over naive direct evaluation, and the cost analysis behind it.
- Multilinear Extensions and Direct EvaluationMultilinear polynomial extensions explained: interpolating a function over the Boolean hypercube and evaluating the MLE directly with the eq polynomial.