7 releases (breaking)

0.6.0 May 7, 2024
0.5.0 Apr 19, 2024
0.4.0 Feb 22, 2024
0.3.0 Feb 20, 2024
0.0.1 Sep 19, 2023

#25 in #dharitri

Download history 97/week @ 2024-02-14 251/week @ 2024-02-21 36/week @ 2024-02-28 7/week @ 2024-03-06 8/week @ 2024-03-13 25/week @ 2024-03-27 30/week @ 2024-04-03 138/week @ 2024-04-17 2/week @ 2024-04-24 110/week @ 2024-05-01 42/week @ 2024-05-08 1/week @ 2024-05-15 3/week @ 2024-05-22

156 downloads per month

GPL-3.0-only

81KB
1.5K SLoC

dharitri-chain-vm-executor

The Dharitri VM is composed of two parts:

  • A high-level VM, that connects to the protocol and manages the environment of the smart contract execution
  • A low-level component, called "executor", whose sole purpose is running WebAssembly code, as given. The only current implementation of this component is a wrapper around Wasmer 2.2.

This crate contains the Rust implementation of the interface between the two VM layers.

There are two parts of this interface:

  • The one going "forwards", from high-level, to low-level, used for starting execution: Executor, Instance.
  • The one going "backwards", from low-level, to high-level, used by the executor to request data: VMHooks.

Dependencies

~4–14MB
~148K SLoC