Skip to content

cw-check verifies if the Wasm binary is a proper smart contract that's ready to be used with cw-simulate or uploaded on cw-simulate-ui.

Notifications You must be signed in to change notification settings

hyperweb-io/cw-check

Repository files navigation

cw-check

This package contains a sample implementation to verify if the Wasm binary is a proper smart contract that's ready to be used with cw-simulate or uploaded on cw-simulate-ui.

Getting Started

Install all the dependencies:

$ npm install

OR

$ yarn

Usage

$ yarn check wasm/cw_simulate_tests-aarch64.wasm

Example

import {check_contract} from '@terran-one/cw-check';

const result = await check_contract('artifacts/hackatom.wasm', [])

TODO

  • Add more tests
  • Add support for capabilities

About

cw-check verifies if the Wasm binary is a proper smart contract that's ready to be used with cw-simulate or uploaded on cw-simulate-ui.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published