This repository serves as a template for starting Gno projects with best practices and proper tooling baked in. It helps contributors or teams quickly scaffold a real-world Gno setup.
- Handles installing Go & Gno dependencies
- Runs gnodev with a minimal default realm
- Includes test and lint commangids
- Integrated with GitHub Actions CI workflow
- Supports both p/ and r/ structure
- Configured for external dependencies
- Editor configurations included
-
Clone this repository:
git clone https://github.com/gnolang/repo-template.git cd repo-template
-
Install dependencies:
make install_deps
-
Run tests:
make test
-
Start the development node:
make dev
p/
- Contains packages that can be imported by other Gno coder/
- Contains realms (smart contracts).github/workflows/
- CI/CD configurationMakefile
- Common development commands
make test
- Run all testsmake lint
- Run lintermake install_deps
- Install dependenciesmake dev
- Run development node