Go to file
Anthony Laibe 037c27258a Use bytes to Hex 2018-08-21 12:18:59 +01:00
lib Use bytes to Hex 2018-08-21 12:18:59 +01:00
.eslintrc.json first step of the ewasm compiler 2018-08-16 17:22:29 -04:00
.gitignore first step of the ewasm compiler 2018-08-16 17:22:29 -04:00
README.md Return bytecode 2018-08-17 10:41:20 +01:00
index.js Filter target file 2018-08-17 10:55:58 +01:00
package-lock.json Add web3 utils 2018-08-20 11:30:08 +01:00
package.json Add web3 utils 2018-08-20 11:30:08 +01:00

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