48 releases (stable)
2.0.1 | Apr 3, 2024 |
---|---|
2.0.0 | Mar 12, 2024 |
2.0.0-rc.1 | Feb 9, 2024 |
2.0.0-beta.0 | Dec 21, 2023 |
1.1.8 | Nov 22, 2022 |
#738 in Magic Beans
1,158 downloads per month
3MB
41K
SLoC
cosmwasm-check
It allows checking if the Wasm binary is a proper smart contract that's ready to be uploaded to the blockchain.
Installation
cargo install cosmwasm-check
Usage
Get help and info:
cosmwasm-check -h
Check some contracts:
cosmwasm-check artifacts/hackatom.wasm artifacts/burner.wasm
Check an entire directory of contracts (shell dependent):
cosmwasm-check artifacts/*.wasm
Check if a contract would ran on a blockchain with a specific set of capabilities:
cosmwasm-check --available-capabilities iterator,osmosis,friendship artifacts/hackatom.wasm
License
This package is part of the cosmwasm repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).
Dependencies
~15–28MB
~428K SLoC