0.2.5 • Published 1 year ago
@arufa/wasmkit v0.2.5
WasmKit
WasmKit is a development environment to compile, deploy, test, run scrt contracts on different networks efficiently with an enhanced user friendly experience.
Requirements
The minimum packages/requirements are as follows:
- Node 14+
- Yarn v1.22+ or NPM `v6.0+**
- Connection to an Secret node.
Install wasmkit
Installation from released version
To install wasmkit globally in your system you can use:
- Using Yarn:
yarn global add @arufa/wasmkit
- Using NPM:
npm install -g @arufa/wasmkit
Usage
Initialize a project
$ wasmkit init <project-name>
This will create a directory inside current directory with boiler-plate code.
Compile the project
Go to project directory:
$ cd <project-name>
Compile the project and generate .wasm
files:
$ wasmkit compile
Run tests
$ yarn run test
Documentation
Check out detailed documentation here.