Skip to content

gnolang/repo-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gno Project Template

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.

Features

  • 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

Getting Started

  1. Clone this repository:

    git clone https://github.com/gnolang/repo-template.git
    cd repo-template
  2. Install dependencies:

    make install_deps
  3. Run tests:

    make test
  4. Start the development node:

    make dev

Project Structure

  • p/ - Contains packages that can be imported by other Gno code
  • r/ - Contains realms (smart contracts)
  • .github/workflows/ - CI/CD configuration
  • Makefile - Common development commands

Development

  • make test - Run all tests
  • make lint - Run linter
  • make install_deps - Install dependencies
  • make dev - Run development node

About

Boilerplate for building real-world Gno apps with dev tools and structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published