polkadot

package
v0.0.0-...-ef1d62d Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PolkadotJsServiceName = "polkadot-js-explorer"
)

Variables

View Source
var PolkadotCmd = common.NewDiveCommandBuilder().
	SetUse("polkadot").
	SetShort("Build, initialize and start a Polkadot node").
	SetLong("The command starts the polkadot relaychain and polkadot parachain if -p flag is given").
	SetRun(polkadot).
	AddStringSliceFlagWithShortHand(&paraChain, "parachain", "p", []string{}, "specify the list of parachains to spawn parachain node").
	AddStringFlagWithShortHand(&network, "network", "n", "", "specify the network to run (local/testnet/mainnet). Default will be local.").
	AddBoolFlag(&noRelay, "no-relay", false, "specify the bool flag to run parachain only (only for testnet and mainnet)").
	AddStringFlagWithShortHand(&configFilePath, "config", "c", "", "path to custom config json file to start polkadot relaychain and parachain nodes.").
	AddBoolFlag(&explorer, "explorer", false, "specify the bool flag if you want to start polkadot js explorer service").
	AddBoolFlag(&metrics, "metrics", false, "specify the bool flag if you want to start prometheus and grafana metrics service").
	Build()

Functions

func RunPolkadot

func RunPolkadot(cli *common.Cli) (*common.DiveMultipleServiceResponse, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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