← Back
Home › Systems › Blockchain and web3

rollup

L2 rollup

Optimism, zkSync

SystemTechniques · 6Primitives · 24 rollup Merkle patricia triedata-structures · medium: Hex-ary Patricia trie with hashed nodes giving state roots and inclusion proofsData availability samplingfinance · medium: Erasure-code blocks and let light nodes sample random chunks to confirm data was publishedInteractive fraud proofsfinance · medium: Bisection games that narrow a disputed execution to one step verified on chainCircuit arithmetizationsecurity · medium: Turn computation into constraints for proofs: R1CS, PLONKish gates, AIR, lookupsPolynomial commitment schemessecurity · medium: Commit to polynomials and prove evaluations: KZG, FRI, IPA trade-offsPairing based cryptographysecurity · medium: Bilinear pairings on BN254/BLS12-381 curves: Miller loop and final exponentiationMerkle treedata-structures · low: Hash tree for verifying and diffing large datasets with logarithmic proofsDeterministic serializationfinance · low: Canonical byte encodings (RLP, SSZ, canonical CBOR) so every node hashes identical bytesKeccak sha3security · low: Keccak sponge (SHA-3, Keccak-256) permutation, padding and absorb/squeezeReed-Solomon codessignal-processing · low: Byte-oriented MDS code: n-k parity symbols correct (n-k)/2 unknown symbol errors or n-k known erasures; the workhorse for bursts, QR codes, discs and storage.›Bytecode interpretercompilers · low: Register/stack VM dispatch loop for executing compiled plans or rules (SQLite VDBE, nftables)Zstandard (zstd)compression · low: LZ77 plus Huffman and FSE entropy coding, with levels from LZ4-like speed to xz-like ratio, all decoding at about 1-2 GB/s.›Event sourcingfinance · low: Persist state changes as an append-only stream of immutable events per entity; current state is a fold over them, guarded by expected-version appends.›ECDSA signaturessecurity · low: The elliptic-curve signature standardised in FIPS 186-5 (P-256) and used by secp256k1 ledgers; 64-byte signatures, but a repeated or biased nonce leaks the private key.›Write-ahead logstorage · low: Append each change to a checksummed sequential log and fsync it before touching data pages; the basis of crash durability in nearly every database.›Radix triedata-structures · low: Compressed prefix tree for path routing, domain matching and prefix lookupsCsprngsecurity · low: OS-backed cryptographically secure random numbers (getrandom), and when a fast PRNG is not enoughFailure bisectionsearch-sort · low: Binary search over commits, batches or inputs to isolate a failureDigital signatures (Ed25519)security · low: Small, fast, deterministic public-key signatures that prove who produced a message; the default for tokens, releases and protocols.›Arithmetic circuitshardware-os · low: Adder and multiplier circuits: carry-lookahead, prefix adders, Booth encoding, Wallace and Dadda treesFinite field arithmeticnumerics · low: Prime-field and extension-field arithmetic (Montgomery form, Goldilocks, BabyBear), vectorizedNumber theoretic transformnumerics · low: FFT over finite fields for exact polynomial and big-integer multiplication+ 8 more primitives

Similar systems

Share the most building blocks with this one.