/cw-check

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.

Primary LanguageJavaScript

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