testnetify

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmd

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 NewCometABCIWrapper

func NewCometABCIWrapper(app servertypes.ABCI) abci.Application

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

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

type NodeKey

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

type PrivValidatorKey

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

func (*PrivValidatorKey) UnmarshalJSON

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

type TestnetConfig

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

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

type TestnetValidators

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