#vm #contracts #dusk #networking #machine #virtual #compile

rusk-vm

Rusk VM is the virtual machine running Dusk Network's Smart contracts

14 releases (6 breaking)

0.12.0-rc.0 Feb 24, 2022
0.10.0-rc.0 Feb 7, 2022
0.7.0-rc.2 Nov 16, 2021
0.7.0-rc.1 Jul 22, 2021

#16 in #dusk

Download history 23/week @ 2024-07-06 209/week @ 2024-07-27 1/week @ 2024-08-03

210 downloads per month

MPL-2.0 and GPL-3.0 licenses

98KB
2K SLoC

Dusk CI codecov

Rust WASM Virtual Machine

Usage

To compile and test the contracts, run

$ make test

Contract deployment and Calls

Check the tests for actual usage examples of the contract deployment and call interfaces.

ABI

The dusk-abi crate is responsible for contract communication with the VM. As well as implementing panic handlers and the boilerplate neccesary to run a contract in a no_std environment.

Introduction

For more info have a look at the wiki


lib.rs:

#Rusk-VM

The main engine for executing WASM on the network state

Dependencies

~14–28MB
~431K SLoC