3 releases (breaking)

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

#275 in Magic Beans

Download history 466/week @ 2024-08-03 524/week @ 2024-08-10 714/week @ 2024-08-17 842/week @ 2024-08-24 848/week @ 2024-08-31 383/week @ 2024-09-07 478/week @ 2024-09-14 472/week @ 2024-09-21 600/week @ 2024-09-28 371/week @ 2024-10-05 564/week @ 2024-10-12 753/week @ 2024-10-19 396/week @ 2024-10-26 452/week @ 2024-11-02 328/week @ 2024-11-09 400/week @ 2024-11-16

1,734 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