Skip to content

Pier-Two/lantern

Repository files navigation

Lantern

CI

Lantern is a C implementation of Lean Consensus for Ethereum.

Requirements

Make sure you have the following tools installed before building.

  • CMake 3.20+
  • C compiler
  • Rust (for XMSS bindings)

Build

Configure and compile the project with CMake.

cmake -S . -B build
cmake --build build --parallel

Test

Run the test suite to verify everything works correctly.

ctest --test-dir build --output-on-failure

Regenerating Fixtures

Test fixtures are generated from LeanSpec. Use these scripts to refresh them.

Consensus fixtures:

./tools/fixtures/fill_consensus_fixtures.sh

Networking fixtures:

uv run --directory tools/leanSpec python ../../tools/fixtures/generate_networking_ssz.py

License

MIT — see LICENSE.

About

C implementation of Lean consensus for post-quantum Ethereum.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published