68 releases (stable)

2.2.0-rc.3 Oct 12, 2024
2.1.3 Aug 8, 2024
2.1.1 Jul 30, 2024
2.0.0 Mar 12, 2024
1.1.8 Nov 22, 2022

#748 in Magic Beans

Download history 118/week @ 2024-06-29 291/week @ 2024-07-06 237/week @ 2024-07-13 112/week @ 2024-07-20 350/week @ 2024-07-27 803/week @ 2024-08-03 283/week @ 2024-08-10 118/week @ 2024-08-17 80/week @ 2024-08-24 110/week @ 2024-08-31 177/week @ 2024-09-07 158/week @ 2024-09-14 553/week @ 2024-09-21 121/week @ 2024-09-28 131/week @ 2024-10-05 245/week @ 2024-10-12

1,097 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

~21–35MB
~512K SLoC