Skip to content

General purpose virtual machine for running WASM smart contracts

License

Notifications You must be signed in to change notification settings

dusk-network/piecrust

Repository files navigation

π-crust

Repository Build Status Documentation

piecrust is a Rust workspace containing two crates, piecrust and piecrust-uplink, that together form the WASM virtual machine for running, handling and creating Dusk smart contracts.

Workspace Members

  • piecrust: WASM virtual machine for running Dusk's smart contracts.
  • piecrust-uplink: The library that allows you to create smart contracts directly on top of piecrust.

Project Structure

The project is organized as follows:

  • contracts: Contains a number of example smart contracts that can be ran against the piecrust virtual machine.
  • piecrust: Contains the source code and README for the WASM virtual machine.
  • piecrust-uplink: Contains the source code and README for the smart contract development kit.

Build and Test

To build and test the crate one will need a Rust toolchain, Make, and the wasm-tools binary.

sudo apt install -y make # ubuntu/debian - adapt to own system
cargo install wasm-tools
make test

Release History

To see the release history for this project, please see the Changelogs of each individual workspace member.

License

This code is licensed under the Mozilla Public License Version 2.0 (MPL-2.0). Please see the LICENSE for further details.

Contribute

If you want to contribute to this project, please check the CONTRIBUTING file.

About

General purpose virtual machine for running WASM smart contracts

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages