78 releases (stable)

2.2.1 Feb 4, 2025
2.2.0 Dec 17, 2024
2.2.0-rc.3 Oct 12, 2024
2.1.6 Feb 4, 2025
1.1.8 Nov 22, 2022

#957 in Magic Beans

Download history 67/week @ 2024-10-25 132/week @ 2024-11-01 246/week @ 2024-11-08 222/week @ 2024-11-15 63/week @ 2024-11-22 83/week @ 2024-11-29 555/week @ 2024-12-06 393/week @ 2024-12-13 47/week @ 2024-12-20 14/week @ 2024-12-27 134/week @ 2025-01-03 108/week @ 2025-01-10 88/week @ 2025-01-17 130/week @ 2025-01-24 616/week @ 2025-01-31 310/week @ 2025-02-07

1,161 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–32MB
~514K SLoC