2 releases

new 0.2.2 Apr 10, 2025
0.2.0 Mar 29, 2024

#218 in Magic Beans

Download history 2/week @ 2025-02-08 7/week @ 2025-02-15 1/week @ 2025-02-22 2/week @ 2025-03-15 1/week @ 2025-03-22 105/week @ 2025-04-05

108 downloads per month
Used in 2 crates

GPL-3.0-only

75KB
1.5K SLoC

klever-chain-vm-executor

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