Skip to content

A minimal application, use it as a repository template

License

Notifications You must be signed in to change notification settings

gear-foundation/dapp-template

Repository files navigation

Open in Gitpod CI

Gear Template Contract

A template application. Use this repository as a template when creating a new application repository.

https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template

Initial checklist after creating a new repository

  • Change the app name in Cargo.toml.
  • Fix badges' links in README.md (replace gear-foundation/dapp-template with <your_username>/<your_new_app>).
  • Replace a description in README.md.
  • Remove this section.

🏗️ Building

cargo b --workspace

✅ Testing

Run all tests, except gclient ones:

cargo t --workspace -- --skip gclient

Run all tests:

# Download the node binary.
cargo xtask node
cargo t --workspace

🚀 Run CI locally (should be done before a commit)

cargo xtask ci

License

The source code is licensed under the MIT license.