wevm-proc-macro

Crates.iowevm-proc-macro
lib.rswevm-proc-macro
version0.1.0
sourcesrc
created_at2024-04-12 07:43:51.766931
updated_at2024-04-12 07:43:51.766931
descriptionProcedural macros used in WEVM
homepagehttps://github.com/waves-enterprise/wevm
repositoryhttps://github.com/waves-enterprise/wevm
max_upload_size
id1206082
size8,437
DEADBLACKCLOVER (deadblackclover)

documentation

README

wevm

Waves Enterprise Virtual Machine for WASM smart-contracts

WEVM represents:

  • WebAssembly interpreter (Wasm)
  • Functions for working with Node
  • Interface for interaction with Node
  • A mechanism for controlling the execution of smart contracts

WEVM uses:

  • Crate wasmi is used as the WebAssembly interpreter
  • Java Native Interface (JNI) and crate jni are used as a way for WEVM to communicate with Waves Enterprise Node

Development

At the root is the implementation of a Scala interface for integration into Waves Enterprise Node. In the native folder there is an implementation of WEVM in Rust language.

Run WEVM test

cargo test --features jvm

Run Scala test

sbt buildWAT
sbt test
Commit count: 164

cargo fmt