2 releases (1 stable)

new 1.0.0 Jan 23, 2025
0.1.0 Jan 14, 2025

#719 in Magic Beans

Download history 161/week @ 2025-01-14 191/week @ 2025-01-21

352 downloads per month
Used in 2 crates

MPL-2.0 license

545KB
3K 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
~732K SLoC