#cosmwasm #check #blockchain #cli-tool #cosmos-sdk

app cosmwasm-check

A CLI tool for verifying CosmWasm smart contracts

46 releases (stable)

2.0.0-rc.1 Feb 9, 2024
2.0.0-beta.1 Jan 22, 2024
2.0.0-beta.0 Dec 21, 2023
1.5.3 Jan 31, 2024
1.1.8 Nov 22, 2022

#1305 in Magic Beans

Download history 239/week @ 2023-10-29 231/week @ 2023-11-05 231/week @ 2023-11-12 445/week @ 2023-11-19 716/week @ 2023-11-26 556/week @ 2023-12-03 480/week @ 2023-12-10 411/week @ 2023-12-17 275/week @ 2023-12-24 321/week @ 2023-12-31 579/week @ 2024-01-07 446/week @ 2024-01-14 411/week @ 2024-01-21 608/week @ 2024-01-28 662/week @ 2024-02-04 1013/week @ 2024-02-11

2,720 downloads per month

Apache-2.0

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

~14–27MB
~421K SLoC