Skip to content
/ zevm Public

Zig EVM

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

DaniPopes/zevm

Repository files navigation

zevm

Ethereum Virtual Machine implementation in Zig.

Inspired by REVM.

Important

This is just a simple proof of concept I did to learn Zig. Instructions, gas metering, host interface, revisions, etc. are either incomplete or not implemented at all. Maybe one day I will finish this.

Usage

Tested with Zig 0.13.0.

  • Run:
zig build run
  • Test:
zig build test
  • Emit LLVM-IR and ASM:
zig build -Doptimize=ReleaseFast -Dstrip -Demit
  • Emit ASM without using LLVM (not fully implemented yet):
zig build -Doptimize=ReleaseFast -Dstrip -Demit -Dno-use-llvm
  • View more options:
zig build --help

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Zig EVM

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Languages