Crates.io | cosmwasm-check |
lib.rs | cosmwasm-check |
version | 2.2.0-rc.3 |
source | src |
created_at | 2022-08-30 12:11:06.056429 |
updated_at | 2024-10-12 04:19:32.297743 |
description | A CLI tool for verifying CosmWasm smart contracts |
homepage | |
repository | https://github.com/CosmWasm/cosmwasm/tree/main/packages/check |
max_upload_size | |
id | 655118 |
size | 76,132 |
It allows checking if the Wasm binary is a proper smart contract that's ready to be uploaded to the blockchain.
cargo install cosmwasm-check
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
This package is part of the cosmwasm repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).