project-anatha

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: GPL-3.0

README

Project Anatha

The official golang implementation for Project Anatha.


For instructions on setting up a validator on the Anatha network, view the guide here: https://app.gitbook.com/@project-anatha/s/validator-guide/


Executables

Command Description
anathacli The command line Anatha Client tools. Provides functionality to consume and participate in an existing Anatha Network.
anathad The Anatha daemon for configuring and running a validator node on a network.
anathad-manager A process manager for wrapping the the Anatha daemon, to provide additional functionality.

Additional details and documentation setup steps (TBD)...


Dependencies

To install required Go dependencies, use:

go mod tidy

It'll fetch all packages used by Project Anatha and install them accordingly.

And you can rebuild the binaries manually with:

make install

Multi-node test network

Local multi-node will run 4 concurrent blockchain validator nodes locally in Docker

Apart from having Go installed, to run the multi-node local network, you'll also have to have Docker and docker-compose installed.

The easiest way to start the local multi-node network is to run the following command:

make localnet

This command will execute all necessary steps, it'll rebuild the anatha binaries for Linux environment, it'll rebuild the Docker image and start the local multi-node network using docker-compose.

If you only want to restart the nodes without rebuilding the binaries and the Docker image, you can use:

make localnet-start

If you want more control over the process, you can run these steps manually.

make build-linux will rebuild the binaries for Linux environment

make build-docker will rebuild the docker images.


Directories

Path Synopsis
cmd
x
evidence
Package evidence implements a Cosmos SDK module, per ADR 009, that allows for the submission and handling of arbitrary evidence of misbehavior.
Package evidence implements a Cosmos SDK module, per ADR 009, that allows for the submission and handling of arbitrary evidence of misbehavior.
evidence/internal/types
DONTCOVER Common testing types and utility functions and methods to be used in unit and integration testing of the evidence module.
DONTCOVER Common testing types and utility functions and methods to be used in unit and integration testing of the evidence module.
fee
genutil
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/ayher/project-anatha/x/genutil/types Package genutil contains a variety of genesis utility functionality for usage within a blockchain application.
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/ayher/project-anatha/x/genutil/types Package genutil contains a variety of genesis utility functionality for usage within a blockchain application.
hra
nolint
slashing/internal/types
noalias noalias DONTCOVER
noalias noalias DONTCOVER

Jump to

Keyboard shortcuts

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