Utility to simplify Gear programs development.
β οΈ The project is currently under active development. Some features may be unstable.
cargo install --git https://github.com/gear-tech/cargo-program.git
cargo install cargo-program
cargo program new my-program
cargo program new my-async-program --async
cargo program build
cargo program run
... or specifying the running script:
cargo program run --script run.rhai
... or specifying the node's URL:
cargo program run --node "ws://127.0.0.1:9944"
cargo program test
cargo program login
# or
cargo program login --host https://my-gear-backend.tld:8123
cargo program publish
cargo-program is licensed under GPL v3.0 with a classpath linking exception.