chain-minimal

module
v0.0.0-...-da660cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: Apache-2.0

README

Mini - A minimal Cosmos SDK chain

This repository contains an example of a tiny, but working Cosmos SDK chain. It uses the least modules possible and is intended to be used as a starting point for building your own chain, without all the boilerplate that other tools generate. It is a simpler version of Cosmos SDK's simapp.

Minid uses the latest version of the Cosmos-SDK.

How to use

In addition to learn how to build a chain thanks to minid, you can as well directly run minid.

Prerequisites
  • Install Go as described here.
  • Add GOPATH to your PATH:
    • export PATH="$PATH:/usr/local/go/bin:$(/usr/local/go/bin/go env GOPATH)/bin"

You are all set!

Installation

Install and run minid:

git clone git@github.com:cosmosregistry/chain-minimal.git
cd chain-minimal
make install # install the minid binary
make init # initialize the chain
minid start # start the chain
Troubleshoot

After running make install, verify minid has been installed by doing which minid. If minid is not found, verify that your $PATH is configured correctly.

Directories

Path Synopsis
app
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL