-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1398 from CosmWasm/rename-cosmwasm-check
Rename `cw-check-contract -> cosmwasm-check`
- Loading branch information
Showing
11 changed files
with
76 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
packages/cw-check-contract/Cargo.toml → packages/check/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# cosmwasm-check | ||
|
||
It allows checking if the Wasm binary is a proper smart contract that's ready to | ||
be uploaded to the blockchain. | ||
|
||
## Installation | ||
|
||
```sh | ||
cargo install cosmwasm-check | ||
``` | ||
|
||
## Usage | ||
|
||
Get help and info: | ||
|
||
```sh | ||
cosmwasm-check -h | ||
``` | ||
|
||
Check some contracts: | ||
|
||
```sh | ||
cosmwasm-check artifacts/hackatom.wasm artifacts/burner.wasm | ||
``` | ||
|
||
Check an entire directory of contracts (shell dependent): | ||
|
||
```sh | ||
cosmwasm-check artifacts/*.wasm | ||
``` | ||
|
||
Check if a contract would ran on a blockchain with a specific set of | ||
capabilities: | ||
|
||
```sh | ||
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](https://github.com/CosmWasm/cosmwasm/blob/main/NOTICE) | ||
and [LICENSE](https://github.com/CosmWasm/cosmwasm/blob/main/LICENSE)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters