3 releases (stable)

new 1.1.0 Feb 14, 2025
1.0.0 Jan 23, 2025
0.1.0 Jan 14, 2025

#561 in Magic Beans

Download history 133/week @ 2025-01-13 202/week @ 2025-01-20 32/week @ 2025-01-27 21/week @ 2025-02-03 130/week @ 2025-02-10

394 downloads per month
Used in 2 crates

MPL-2.0 license

560KB
3.5K SLoC

Build Status Repository Documentation

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
~733K SLoC