パッケージの詳細

@arufa/wasmkit

arufa-research42MIT0.2.5

Wasmkit is a development environment to compile, deploy, test, run cosmwasm contracts on different networks.

cosmwasm, secret-network, juno-network, dev-tooling

readme

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 <project-name> 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.