2 unstable releases

0.2.0 Oct 12, 2023
0.1.0 Jun 15, 2023

#14 in #multiversx

Download history 296/week @ 2024-01-06 330/week @ 2024-01-13 223/week @ 2024-01-20 234/week @ 2024-01-27 215/week @ 2024-02-03 332/week @ 2024-02-10 268/week @ 2024-02-17 245/week @ 2024-02-24 357/week @ 2024-03-02 351/week @ 2024-03-09 419/week @ 2024-03-16 354/week @ 2024-03-23 361/week @ 2024-03-30 365/week @ 2024-04-06 334/week @ 2024-04-13 452/week @ 2024-04-20

1,549 downloads per month
Used in 16 crates (4 directly)

GPL-3.0-only

80KB
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