037c27258a | ||
---|---|---|
lib | ||
.eslintrc.json | ||
.gitignore | ||
README.md | ||
index.js | ||
package-lock.json | ||
package.json |
README.md
embark-ewasm
Embark plugin to enable the compilation of ewasm
Installation
In your embark dapp directory:
npm install embark-ewasm --save
FOR ANTHONY: Put "embark-ewasm": "file:../embark-ewasm",
in your package json
then add embark-ewasm to the plugins section in embark.json
:
"plugins": {
"embark-ewasm": {}
}
Usage
Put the toml file into contracts/
directory
Put the rust file into contracts/src
directory
Requirements
- Embark 3.0.0 or higher
- Rust and Cargo installed and available globally on your machine
- Target wasm32-unknown-unknown installed