Lantern is a C implementation of Lean Consensus for Ethereum.
Make sure you have the following tools installed before building.
- CMake 3.20+
- C compiler
- Rust (for XMSS bindings)
Configure and compile the project with CMake.
cmake -S . -B build
cmake --build build --parallelRun the test suite to verify everything works correctly.
ctest --test-dir build --output-on-failureTest fixtures are generated from LeanSpec. Use these scripts to refresh them.
Consensus fixtures:
./tools/fixtures/fill_consensus_fixtures.shNetworking fixtures:
uv run --directory tools/leanSpec python ../../tools/fixtures/generate_networking_ssz.pyMIT — see LICENSE.