1 unstable release
new 0.1.0 | Jan 14, 2025 |
---|
#15 in #groth16
113 downloads per month
Used in rusk-recovery
545KB
3K
SLoC
Dusk VM
The Dusk VM is a virtual machine designed for Dusk, enabling secure and efficient execution of smart contracts, state transitions, and cryptographic operations tailored for zero-knowledge-based applications.
It serves as the execution engine of the Dusk Blockchain, leveraging advanced cryptographic primitives and frameworks to support privacy-preserving, compliant and scalable decentralized applications.
Features
- State Management: Manage blockchain state using sessions for isolated transaction execution and finalization.
- Cryptographic Support: Offers built-in support for hashing (Poseidon), signature verification (BLS, Schnorr), and proof validation (PLONK, Groth16).
- Virtual Machine for zk-SNARK Applications: Optimized for privacy-preserving computations.
Installation
Add dusk-vm
to your Cargo.toml
:
[dependencies]
dusk-vm = "0.x" # Replace with the latest version
Documentation
For detailed usage and API examples, refer to the crate documentation on docs.rs.
License
License: MPL-2.0
Dependencies
~30–40MB
~730K SLoC