3 releases (breaking)

new 0.3.0 Nov 15, 2024
0.2.0 Oct 12, 2023
0.1.0 Jun 15, 2023

#12 in #multiversx

Download history 374/week @ 2024-07-25 415/week @ 2024-08-01 518/week @ 2024-08-08 638/week @ 2024-08-15 786/week @ 2024-08-22 1003/week @ 2024-08-29 370/week @ 2024-09-05 525/week @ 2024-09-12 382/week @ 2024-09-19 644/week @ 2024-09-26 375/week @ 2024-10-03 483/week @ 2024-10-10 667/week @ 2024-10-17 650/week @ 2024-10-24 434/week @ 2024-10-31 215/week @ 2024-11-07

2,073 downloads per month
Used in 18 crates (4 directly)

GPL-3.0-only

82KB
1.5K SLoC

multiversx-chain-vm-executor

The MultiversX 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