Skip to content

apollodao/cw20-adapter

 
 

Repository files navigation

CosmWasm Template

Template for multi-contract CosmWasm projects

How to Use

Install cargo-make:

cargo install --force cargo-make

Run formatter:

cargo make fmt

Run tests:

cargo make test

Run linter (clippy):

cargo make lint

Check for unused dependencies:

cargo make udeps

Compile all contracts using rust-optimizer:

cargo make optimize

Once optimized, verify the wasm binaries are ready to be uploaded to the blockchain:

cargo make check

Generate JSON schema for all contracts:

cargo make schema

Publish contracts and packages to crates.io:

cargo make publish

NOTE: For the last two tasks (schema and publish), you need to update the shell script in Makefile.toml for them to work.

License

Contents of this repository are open source under GNU Affero General Public License v3 or later.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.5%
  • Shell 0.5%