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.
Install all the dependencies:
$ npm install
OR
$ yarn
$ yarn check wasm/cw_simulate_tests-aarch64.wasm
import {check_contract} from '@terran-one/cw-check';
const result = await check_contract('artifacts/hackatom.wasm', [])
- Add more tests
- Add support for capabilities