igneum/light/Cargo.toml
igneum-labs 59d2177fd3 igneum-light: the finality object (version 1, 832 bytes), its verifier and the test vectors
light/ is its own workspace: igneum-light (no_std core: the object container, the statement offsets of
BlockOutput and FinExt, the MMR history check, the SP1 6.8.1 Groth16 wrap verified with arkworks under the
compiled-in key, the final-at answer), igneum-light-wasm (a C ABI for the tab, no bindings generator) and
igneum-light-cli (vectors, encodings, native timing). The wrap has not landed, so the chain fixture (the
fin-proof lane's proof 81053, public values 504 bytes) is a kind-0 stub; a kind-1 object with generator points
exercises the pairing and is refused. Native on this Mac: the pairing 0.78 ms in arkworks, 155 ms in
sp1-verifier's substrate-bn (kept as the reference check).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 09:02:58 +00:00

25 lines
1.1 KiB
TOML

# The light client in the pocket (docs/design/finality-object.md, docs/design/phone-app.md "igneum-light"): one Rust
# crate that parses the finality object, verifies its SP1 Groth16 wrap over bn254 and answers "final at checkpoint N"
# from the object and a history path alone; a WebAssembly wrapper for the tab and a CLI for test vectors and timing.
# Its own workspace: nothing here depends on the node or the prover, so a phone or a tab builds it alone.
[workspace]
resolver = "2"
members = ["igneum-light", "igneum-light-wasm", "igneum-light-cli"]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
# The SP1 Groth16 verifier, the version the aggregator guest is proven with (proving/igneum-prove/Cargo.toml pins
# sp1-sdk =6.8.1); `full` off: no compressed-proof verifier, no recursion machine, so it compiles to wasm32.
sp1-verifier = { version = "=6.8.1", default-features = false }
sha2 = { version = "0.10.8", default-features = false }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true