#vm #networking #dusk-vm

dusk-vm

The VM to run smart contracts on the Dusk network

5 releases (stable)

new 1.3.0 Apr 17, 2025
1.2.0 Mar 20, 2025
1.1.0 Feb 14, 2025
1.0.0 Jan 23, 2025
0.1.0 Jan 14, 2025

#87 in #vm

Download history 93/week @ 2025-01-10 175/week @ 2025-01-17 95/week @ 2025-01-24 19/week @ 2025-01-31 7/week @ 2025-02-07 167/week @ 2025-02-14 26/week @ 2025-02-21 12/week @ 2025-02-28 3/week @ 2025-03-07 95/week @ 2025-03-14 85/week @ 2025-03-21 28/week @ 2025-03-28 20/week @ 2025-04-04 93/week @ 2025-04-11

315 downloads per month
Used in 2 crates

MPL-2.0 license

550KB
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

~31–42MB
~759K SLoC