shanev / cosmos-gen

Utility for generating code for @cosmos SDK modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

Cosmos Module Generator generates boilerplate for building Cosmos SDK modules.

CircleCI Go Report Card

Getting Started

Prerequisites

Go 1.12+

Install

go get -u github.com/shanev/cosmos-gen

Usage

cosmos-gen claim

This generates the following boilerplate files:

└── x
    ├── claim
    │   ├── codec.go
    │   ├── genesis.go
    │   ├── handler.go
    │   ├── keeper.go
    │   ├── module.go
    │   ├── params.go
    │   ├── querier.go
    │   └── types.go

Built With

  • Packr - Pack templates into a single binary

Authors

  • Shane Vitarana - Initial work

About

Utility for generating code for @cosmos SDK modules

License:Apache License 2.0


Languages

Language:Go 67.5%Language:Makefile 32.5%