Skip to content

Template for multi-contracts ink-openbrush projects

Notifications You must be signed in to change notification settings

ganesh1997oli/openbrush-template

 
 

Repository files navigation

OpenBrush Template

Template for multi-contracts ink-openbrush 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 [cargo-contract] in debug mode:

cargo make debug

Compile all contracts using [cargo-contract] in release mode:

cargo make release

Once builded, verify the wasm binaries are ready to be uploaded to the blockchain using [cargo-contract]:

cargo make check

Publish contracts and packages to crates.io:

cargo make publish

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

License

TBD

About

Template for multi-contracts ink-openbrush projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%