Skip to content
Spacemesh Virtual Machine
Rust C WebAssembly Other
Branch: master
Clone or download
YaronWittenstein svm-wasmer:
* added more planning to implementing `runtime.rs`
Latest commit c597a12 Aug 20, 2019

README.md

SVM (Spacemesh Virtual Machine)

This repository will implement the Spacemesh smart contracts vm.

Project Goals

  • Self-contained. Should be hosted by the Spacemesh Golang full-node and future Spacemesh Rust full-node
  • Built on top of wasmer
  • Future compatible for the SMESH programming-language (the language is still in a research stage).

Rust

SVM depends on the single-pass compiler of wasmer which requires the rust nightly release channel. More information about installing rust nightly can be found here

Build & Tests

The svm project is organized into a couple of crates. The root crate is called svm and it's a workspace crate.

In order to build the svm project crates at once and run their tests:

cargo +nightly build
cargo +nightly test --all

If you want to build & test in release mode execute:

cargo +nightly build --release
cargo +nightly test --all --release

Got Questions?

You can’t perform that action at this time.