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(¶Chain, "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.
Click to show internal directories.
Click to hide internal directories.