starportcmd

package
v0.14.1-0...-8b31b97 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

New creates a new root command for `starport` with its sub commands.

func NewApp

func NewApp() *cobra.Command

NewApp creates new command named `app` to create Cosmos scaffolds customized by the user given options.

func NewBuild

func NewBuild() *cobra.Command

NewBuild returns a new build command to build a blockchain app.

func NewFaucet

func NewFaucet() *cobra.Command

NewFaucet creates a new faucet command to send coins to accounts.

func NewModule

func NewModule() *cobra.Command

NewModule creates a new command that holds some other sub commands related to scaffolding sdk modules.

func NewModuleCreate

func NewModuleCreate() *cobra.Command

NewModuleCreate creates a new module create command to scaffold an sdk module.

func NewModuleImport

func NewModuleImport() *cobra.Command

NewModuleImport creates a new command to import an sdk module.

func NewNetwork

func NewNetwork() *cobra.Command

NewNetwork creates a new network command that holds some other sub commands related to creating a new network collaboratively.

func NewNetworkAccount

func NewNetworkAccount() *cobra.Command

NewNetworkAccount creates a new command holds some other sub commands related to managing SPN accounts.

func NewNetworkAccountCreate

func NewNetworkAccountCreate() *cobra.Command

NewNetworkAccountCreate creates a new account create command to create an account to be used in SPN.

func NewNetworkAccountExport

func NewNetworkAccountExport() *cobra.Command

NewNetworkAccountExport creates a new account export command to export an SPN account.

func NewNetworkAccountImport

func NewNetworkAccountImport() *cobra.Command

NewNetworkAccountImport creates a new account import command to import an SPN account.

func NewNetworkAccountUse

func NewNetworkAccountUse() *cobra.Command

NewNetworkAccountUse creates a new account use command to pick a default account to access SPN.

func NewNetworkChain

func NewNetworkChain() *cobra.Command

NewNetworkChain creates a new chain command that holds some other sub commands related to launching a network for a chain.

func NewNetworkChainCreate

func NewNetworkChainCreate() *cobra.Command

NewNetworkChainCreate creates a new chain create command to create a new network.

func NewNetworkChainJoin

func NewNetworkChainJoin() *cobra.Command

NewNetworkChainJoin creates a new chain join command to join to a network as a validator.

func NewNetworkChainList

func NewNetworkChainList() *cobra.Command

NewNetworkChainList creates a new chain list command to list chains on SPN.

func NewNetworkChainShow

func NewNetworkChainShow() *cobra.Command

NewNetworkChainShow creates a new chain show command to show a chain on SPN.

func NewNetworkChainStart

func NewNetworkChainStart() *cobra.Command

NewNetworkChainStart creates a network chain start command. this command runs target chain's start command by default. any flags passed after a double dash passed to the underlying start command.

func NewNetworkProposal

func NewNetworkProposal() *cobra.Command

NewNetworkProposal creates a proposal command that holds some other sub commands.

func NewNetworkProposalApprove

func NewNetworkProposalApprove() *cobra.Command

NewNetworkProposalApprove creates a new proposal approve command to approve proposals for a chain.

func NewNetworkProposalList

func NewNetworkProposalList() *cobra.Command

NewNetworkProposalList creates a new proposal list command to list proposals for a chain by filtering options.

func NewNetworkProposalReject

func NewNetworkProposalReject() *cobra.Command

NewNetworkProposalReject creates a new reject approve command to reject proposals for a chain.

func NewNetworkProposalShow

func NewNetworkProposalShow() *cobra.Command

NewNetworkProposalShow creates a new command to show a proposal in a chain.

func NewNetworkProposalVerify

func NewNetworkProposalVerify() *cobra.Command

func NewRelayer

func NewRelayer() *cobra.Command

NewRelayer creates a new command called chain that holds IBC Relayer related sub commands.

func NewRelayerAdd

func NewRelayerAdd() *cobra.Command

NewRelayerAdd creates a command to connect added chain with relayer.

func NewRelayerInfo

func NewRelayerInfo() *cobra.Command

NewRelayerInfo creates a command that shows self chain information.

func NewServe

func NewServe() *cobra.Command

NewServe creates a new serve command to serve a blockchain.

func NewType

func NewType() *cobra.Command

NewType command creates a new type command to scaffold types.

func NewVersion

func NewVersion() *cobra.Command

NewVersion creates a new version command to show starport's version.

Types

type ChainSummary

type ChainSummary struct {
	ChainID            string
	Source             string
	TotalValidators    int
	ApprovedValidators int
	TotalProposals     int
	ApprovedProposals  int
}

ChainSummary keys summarized chain info.

Jump to

Keyboard shortcuts

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