| Crates.io | anoma-rm-risc0 |
| lib.rs | anoma-rm-risc0 |
| version | 1.0.0 |
| created_at | 2026-01-13 05:40:32.108521+00 |
| updated_at | 2026-01-13 05:40:32.108521+00 |
| description | Anoma Resource Machine Implementation using RISC0 zkVM |
| homepage | |
| repository | https://github.com/anoma/arm-risc0 |
| max_upload_size | |
| id | 2039392 |
| size | 1,737,071 |
A Rust implementation of the Anoma Shielded Resource Machine using RISC0 zkVM for zero-knowledge proofs.
The anoma-rm-risc0 crate provides the core functionality of a resource-based state machine designed for the Anoma protocol. It implements:
resource: Resource definition and serializationresource_logic: Custom logic and constraints for resourcestransaction: Transaction structure and validationaction: Actions within transactions and their hierarchical organizationcompliance: Compliance verification logiclogic_proof: Zero-knowledge proof structures for resource logicdelta_proof: Balance proof for state changesaggregation: Proof aggregation (batch and sequential IVC)The crate supports several features to control compilation and functionality:
transaction (default): Enables transaction processing and compliance checkingprove (default): Enables proof generation with RISC0bonsai: Enables remote proof execution via Bonsaicuda: Enables CUDA acceleration for proofsaggregation: Enables proof aggregation supportAdd to your Cargo.toml:
# Default configuration
anoma-rm-risc0 ="1.0.0"
# Proof aggregation (a single succinct proof per transaction)
anoma-rm-risc0 ={ version = "1.0.0", features = ["aggregation"] }
# Logic-circuit-only usage
anoma-rm-risc0 ={ version = "1.0.0", default-features = false }
For more information, refer to:
Licensed under the Apache License 2.0. See LICENSE for details.