#contract #check #cosmwasm-check

app cosmwasm-check

A CLI tool for verifying CosmWasm smart contracts

82 releases (stable)

new 3.0.0-ibc2.0 May 13, 2025
2.2.2 Mar 5, 2025
2.2.1 Feb 4, 2025
2.2.0 Dec 17, 2024
1.1.8 Nov 22, 2022

#121 in #contract

Download history 74/week @ 2025-01-20 162/week @ 2025-01-27 733/week @ 2025-02-03 223/week @ 2025-02-10 140/week @ 2025-02-17 125/week @ 2025-02-24 855/week @ 2025-03-03 378/week @ 2025-03-10 282/week @ 2025-03-17 285/week @ 2025-03-24 295/week @ 2025-03-31 404/week @ 2025-04-07 228/week @ 2025-04-14 203/week @ 2025-04-21 228/week @ 2025-04-28 210/week @ 2025-05-05

873 downloads per month

Apache-2.0

3.5MB
45K 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

~22–33MB
~542K SLoC