JamZig⚡
W3F JAM Prize, 2024 to now
JAM, the Join-Accumulate Machine, is the protocol Gavin Wood designed as the successor to the Polkadot relay chain. The Web3 Foundation runs a prize for independent implementations, in tiers by language category. JamZig⚡ is the Zig entry: one developer, one codebase, competing against twenty-two teams worldwide.
What is in it
- A RISC-V virtual machine, the PVM, executing services and their accumulate and refine logic.
- The cryptography JAM asks for: Bandersnatch ring VRFs, Ed25519, BLS12-381, Blake2b, Keccak-256.
- Reed-Solomon erasure coding and the Merkle structures for availability and state.
- Block authoring, validation, and the state transition function, checked against the official test vectors.
Milestone 1
Conformance for Milestone 1 means the state transition function matches the reference under fuzzing: ten runs of one hundred thousand steps each. JamZig⚡ was the first to pass in the systems-language category, and after the M1 interview I am the JAM Prize M1 candidate for it.
The project lives at jamzig.dev, the code under github.com/jamzig, and the running commentary on X at @jamzig_dev. Conformance releases and test exports for other teams are published in the org.