Skip to content

evmts/guillotine-mini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,537 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Minimal, spec-compliant EVM in Zig.

zig version build status tests

We are actively building a full Ethereum execution client (Guillotine) on top of this EVM. Guillotine-mini remains the core execution engine.

Requirements

  • Zig 0.15.1+
  • Cargo (for Rust crypto deps)
  • Python 3.8+ (optional, test generation)

Install

Use as a Zig dependency (recommended)

zig fetch --save https://github.com/evmts/guillotine-mini/archive/main.tar.gz
const guillotine_dep = b.dependency("guillotine_mini", .{
    .target = target,
    .optimize = optimize,
});
const guillotine_mod = guillotine_dep.module("guillotine_mini");
exe.root_module.addImport("guillotine_mini", guillotine_mod);

const primitives_dep = b.dependency("guillotine_primitives", .{
    .target = target,
    .optimize = optimize,
});
exe.linkLibrary(primitives_dep.artifact("blst"));
exe.linkLibrary(primitives_dep.artifact("keccak-asm"));
exe.linkLibrary(primitives_dep.artifact("sha3-asm"));
exe.linkLibrary(primitives_dep.artifact("crypto_wrappers"));

Build from source

git clone https://github.com/evmts/guillotine-mini.git --recurse-submodules
cd guillotine-mini
zig build

The primitives library is fetched automatically during build. Downstream consumers must link the crypto artifacts from guillotine_primitives (see snippet above).

Quick Start

zig build
zig build test
zig build specs
zig build wasm
TEST_FILTER="push0" zig build specs

Docs

  • CLAUDE.md — project guide for devs and AI assistants
  • CONTRIBUTING.md — setup and contribution workflow
  • src/precompiles/CLAUDE.md — precompile docs

Highlights

  • Full hardfork support (Frontier → Osaka)
  • 20+ EIPs implemented
  • EIP-3155 tracing
  • WASM target (~193 KB optimized)
  • 100% ethereum/tests coverage

More

License

See LICENSE.

About

A tiny and simple EVM. Written in zig

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5