Nethermind.Crypto.Lean 0.18.0-feature-eip8437-raw-verify.90

This is a prerelease version of Nethermind.Crypto.Lean.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Nethermind.Crypto.Lean --version 0.18.0-feature-eip8437-raw-verify.90
                    
NuGet\Install-Package Nethermind.Crypto.Lean -Version 0.18.0-feature-eip8437-raw-verify.90
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nethermind.Crypto.Lean" Version="0.18.0-feature-eip8437-raw-verify.90" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nethermind.Crypto.Lean" Version="0.18.0-feature-eip8437-raw-verify.90" />
                    
Directory.Packages.props
<PackageReference Include="Nethermind.Crypto.Lean" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nethermind.Crypto.Lean --version 0.18.0-feature-eip8437-raw-verify.90
                    
#r "nuget: Nethermind.Crypto.Lean, 0.18.0-feature-eip8437-raw-verify.90"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Nethermind.Crypto.Lean@0.18.0-feature-eip8437-raw-verify.90
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nethermind.Crypto.Lean&version=0.18.0-feature-eip8437-raw-verify.90&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Nethermind.Crypto.Lean&version=0.18.0-feature-eip8437-raw-verify.90&prerelease
                    
Install as a Cake Tool

Lean bindings

Test / Publish Nethermind.Crypto.Lean

Native EIP-8288 Lean backend for Nethermind, packaged for NuGet as Nethermind.Crypto.Lean.

The library, libnethermind_lean.so, is built from the Rust crate in src/ffi, a thin C ABI over a pinned leanVM (patched, for now, with the committed bytecode key's core changes; see src/ffi/README.md) and the EIP-8288 aggregation guest in src/ffi/crates (vendored from the same revision; see its README). This repository is the source of that code: consumers take the packages, not the source.

Package

RID CPU baseline Built on
linux-x64 x86-64-v3 + PCLMULQDQ ubuntu-latest, inside rust:1.99.0-bookworm
linux-arm64 ARMv8 + AES (PMULL) ubuntu-24.04-arm, inside rust:1.99.0-bookworm
  • Native-only: no managed assembly. Nethermind's NativeLeanProofVerifier loads the library and, on chains with EIP-8288 scheduled, checks the CPU features, ABI version, aggregated verification key and acceptance bounds at startup.
  • Version <native version>.<run>: the native version is the src/ffi crate version.
  • glibc 2.35 (Ubuntu 22.04) or newer: Build Lean fails if the library needs a newer glibc symbol.
  • No other RIDs: an EIP-8288 node on osx, win or musl fails at startup with Nethermind's backend message; other chains never load the library.

Layout

  • src/ffi: the Rust source of the library, and the cargo-about configuration (about.toml, about.hbs) for THIRD-PARTY-NOTICES.
  • src/bindings/Nethermind.Crypto.Lean: the package; runtimes/*/native/libnethermind_lean.so (Git LFS) are committed by Build Lean.
  • src/bindings/Nethermind.Crypto.Lean/testing: test assets for consumers' native suites: the vectors, the fixtures signing/proving tool and an incompatible startup stub, all built with the library (Git LFS, committed by Build Lean). They ship in the package outside runtimes/; a test project gets them in lean-vectors/ only with <NethermindCryptoLeanTestAssets>true</NethermindCryptoLeanTestAssets>, so production publishes never contain them.
  • src/bindings/Nethermind.Crypto.Lean.Tests: loads the committed library and checks its ABI version, aggregated verification key and limits, and verifies the packaged vectors and a signature from the packaged tool.

Workflows

  • Build Lean (manual): builds src/ffi for each RID, twice, and fails unless both builds are byte-identical; generates THIRD-PARTY-NOTICES; runs the smoke test on the built libraries on x64 and arm64 hardware; optionally opens a pull request with them into the branch it runs on. That pull request is opened with GITHUB_TOKEN, which starts no workflows, so run Test / Publish on its branch manually.
  • Test / Publish: on pull requests and main, checks formatting, runs the Rust tests of the whole src/ffi workspace and the .NET tests against the committed library on x64 and arm64 hardware, and verifies a consumer gets the right library per RID. On a release or a manual run, publishes to NuGet (staging or production) through trusted publishing, only after all of these pass. To try out a branch without committing its binaries, run it on that branch with publish=Staging and build-run set to a successful Build Lean run of the same commit: it publishes that run's binaries to staging as <crate version>-<branch>.<run number>. Build Lean keeps its artifacts for 7 days. NuGet.org takes only the binaries committed through a pull request to main.

License

This project is licensed under the MIT license.

The shipped library statically links leanVM and other Rust crates, used under permissive licenses. See THIRD-PARTY-NOTICES for the full texts.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.24.0.134 71 11/19/2026
0.23.0-feature-eip8288-draf... 1,340 11/19/2026
0.22.0.125 72 11/19/2026
0.22.0.121 4 11/19/2026
0.22.0-feature-eip8288-base... 2 11/19/2026
0.21.0.110 649 11/16/2026
0.21.0-feature-eip8288-base... 122 11/16/2026
0.21.0-feature-eip8288-base... 106 11/16/2026
0.21.0-feature-eip8288-base... 0 11/16/2026
0.21.0-feature-eip8288-base... 0 11/16/2026
0.20.0-feature-eip8288-base... 54 11/15/2026
0.19.0-feature-leanvm-f128-... 72 11/15/2026
0.18.0-feature-eip8437-raw-... 209 11/15/2026
0.18.0-feature-eip8437-raw-... 818 11/14/2026
0.17.0-feature-eip8288-batc... 83 11/14/2026
0.17.0-feature-eip8288-batc... 208 11/14/2026
0.16.2-feature-eip8288-batc... 72 11/14/2026
0.16.1-feature-eip8288-batc... 54 11/14/2026
0.16.0-feature-eip8288-batc... 140 11/14/2026
0.12.1-fix-eip8288-sphincs-... 53 11/14/2026
Loading failed