cli

package
v0.1.14-snapshot Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DataDir, _ = "", crypto.PrivateKeyI(nil)
)

Functions

func Execute

func Execute()

func InitializeDataDirectory

func InitializeDataDirectory(dataDirPath string, log lib.LoggerI) (c lib.Config, privateValKey crypto.PrivateKeyI)

InitializeDataDirectory() populates the data directory with configuration and data files if missing

func Start

func Start()

Start() is the entrypoint of the application

func WriteDefaultGenesisFile

func WriteDefaultGenesisFile(validatorPrivateKey crypto.PrivateKeyI, genesisFilePath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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