testnetify

package
v0.38.6 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagTraceStore     = "trace-store"
	FlagTestnetRootDir = "testnet-rootdir"
	KeyTestnetRootDir  = FlagTestnetRootDir

	KeyIsTestnet             = "is-testnet"
	KeyTestnetConfig         = "testnet-config"
	KeyTestnetTriggerUpgrade = "testnet-trigger-upgrade"
)

Variables

This section is empty.

Functions

func GetCmd added in v0.38.5

func GetCmd(testnetAppCreator types.AppCreator) *cobra.Command

GetCmd uses the provided chainID and operatorAddress as well as the local private validator key to control the network represented in the data folder. This is useful to create testnets nearly identical to your mainnet environment.

func TrimQuotes

func TrimQuotes(data string) string

Types

type AccAddress

type AccAddress struct {
	sdk.AccAddress
}

func (*AccAddress) UnmarshalJSON

func (s *AccAddress) UnmarshalJSON(data []byte) error

type ConsAddress

type ConsAddress struct {
	sdk.ConsAddress
}

func (*ConsAddress) UnmarshalJSON

func (s *ConsAddress) UnmarshalJSON(data []byte) error

type Keys added in v0.38.5

type Keys struct {
	Priv PrivValidatorKey `json:"priv"`
	Node NodeKey          `json:"node"`
}

type NodeKey added in v0.38.5

type NodeKey struct {
	PrivKey crypto.PrivKey `json:"priv_key"`
}

type PrivValidatorKey added in v0.38.5

type PrivValidatorKey struct {
	Address types.Address  `json:"address"`
	PubKey  crypto.PubKey  `json:"pub_key"`
	PrivKey crypto.PrivKey `json:"priv_key"`
}

func (*PrivValidatorKey) UnmarshalJSON added in v0.38.5

func (k *PrivValidatorKey) UnmarshalJSON(data []byte) error

type TestnetConfig added in v0.38.5

type TestnetConfig struct {
	ChainID    string                 `json:"chain_id"`
	Validators TestnetValidators      `json:"validators"`
	Accounts   []akash.TestnetAccount `json:"accounts"`
	Gov        akash.TestnetGovConfig `json:"gov"`
	// contains filtered or unexported fields
}

type TestnetValidator added in v0.38.5

type TestnetValidator struct {
	Moniker           string                    `json:"moniker"`
	Operator          AccAddress                `json:"operator"`
	Status            stakingtypes.BondStatus   `json:"status"`
	Commission        stakingtypes.Commission   `json:"commission"`
	MinSelfDelegation sdk.Int                   `json:"min_self_delegation"`
	Home              string                    `json:"home"`
	Delegations       []akash.TestnetDelegation `json:"delegations"`
	// contains filtered or unexported fields
}

type TestnetValidators added in v0.38.5

type TestnetValidators []TestnetValidator

type ValAddress

type ValAddress struct {
	sdk.ValAddress
}

func (*ValAddress) UnmarshalJSON

func (s *ValAddress) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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