2 releases

0.0.2 Aug 30, 2024
0.0.1 Aug 27, 2024

#193 in #vm

Download history 310/week @ 2024-08-26 39/week @ 2024-09-02 22/week @ 2024-09-09 50/week @ 2024-09-16 44/week @ 2024-09-23 14/week @ 2024-09-30 5/week @ 2024-10-07 16/week @ 2024-10-14 8/week @ 2024-10-21 4/week @ 2024-10-28 29/week @ 2024-11-04

58 downloads per month
Used in 6 crates (2 directly)

GPL-3.0-only

80KB
1.5K SLoC

drt-chain-vm-executor

The DharitriOne 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.

No runtime deps