Template for multi-contract CosmWasm projects
Install cargo-make:
cargo install --force cargo-makeRun formatter:
cargo make fmtRun tests:
cargo make testRun linter (clippy):
cargo make lintCheck for unused dependencies:
cargo make udepsCompile all contracts using rust-optimizer:
cargo make optimizeOnce optimized, verify the wasm binaries are ready to be uploaded to the blockchain:
cargo make checkGenerate JSON schema for all contracts:
cargo make schemaPublish contracts and packages to crates.io:
cargo make publishNOTE: For the last two tasks (schema and publish), you need to update the shell script in Makefile.toml for them to work.
Contents of this repository are open source under GNU Affero General Public License v3 or later.