Documentation ¶
Overview ¶
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Variables
- func CallAddValidator(network models.Network, kc keychain.Keychain, useLedgerSetting bool, ...) error
- func CallConfigure(cmd *cobra.Command, subnetName string, chainConfParam string, ...) error
- func CallCreate(cmd *cobra.Command, subnetName string, forceCreateParam bool, ...) error
- func CallDeploy(cmd *cobra.Command, subnetName string, deployLocalParam bool, ...) error
- func CallExportSubnet(subnetName, exportPath string, network models.Network) error
- func CheckForInvalidDeployAndGetAvagoVersion(network localnetworkinterface.StatusChecker, configuredRPCVersion int) (string, error)
- func CheckSubnetIsElastic(subnetID ids.ID, network models.Network) (bool, error)
- func GetKeychain(useEwoq bool, useLedger bool, ledgerAddresses []string, keyName string, ...) (keychain.Keychain, error)
- func GetKeychainFromCmdLineFlags(keychainGoal string, network models.Network, keyName string, useEwoq bool, ...) (keychain.Keychain, error)
- func GetNetworkFromCmdLineFlags(useLocal bool, useDevnet bool, useFuji bool, useMainnet bool, endpoint string, ...) (models.Network, error)
- func NewCmd(injectedApp *application.Avalanche) *cobra.Command
- func PrintDeployResults(chain string, subnetID ids.ID, blockchainID ids.ID) error
- func PrintReadyToSignMsg(chain string, outputTxPath string)
- func PrintRemainingToSignMsg(chain string, remainingSubnetAuthKeys []string, outputTxPath string)
- func PrintTransformResults(chain string, txID ids.ID, subnetID ids.ID, tokenName string, ...)
- func PromptDuration(start time.Time, network models.Network) (time.Duration, error)
- func PromptNodeID() (ids.NodeID, error)
- func PromptWeight() (uint64, error)
- func SaveNotFullySignedTx(txName string, tx *txs.Tx, chain string, subnetAuthKeys []string, ...) error
- func ValidateSubnetNameAndGetChains(args []string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
var ( ErrMutuallyExlusiveKeyLedger = errors.New("key source flags --key, --ledger/--ledger-addrs are mutually exclusive") ErrStoredKeyOnMainnet = errors.New("key --key is not available for mainnet operations") )
var ( ErrMutuallyExlusiveKeySource = errors.New("key source flags --key, --ewoq, --ledger/--ledger-addrs are mutually exclusive") ErrStoredKeyOrEwoqOnMainnet = errors.New("key sources --key, --ewoq are not available for mainnet operations") ErrNonEwoqKeyOnDevnet = errors.New("key source --ewoq is the only one available for devnet operations") ErrEwoqKeyOnFuji = errors.New("key source --ewoq is not available for fuji operations") )
Functions ¶
func CallAddValidator ¶ added in v1.2.7
func CallConfigure ¶ added in v1.3.4
func CallCreate ¶ added in v1.3.4
func CallCreate( cmd *cobra.Command, subnetName string, forceCreateParam bool, genesisFileParam string, useSubnetEvmParam bool, useCustomParam bool, evmVersionParam string, useLatestEvmVersionParam bool, customVMRepoURLParam string, customVMBranchParam string, customVMBuildScriptParam string, ) error
func CallDeploy ¶ added in v1.3.4
func CallExportSubnet ¶ added in v1.2.7
func CheckForInvalidDeployAndGetAvagoVersion ¶ added in v1.2.7
func CheckForInvalidDeployAndGetAvagoVersion(network localnetworkinterface.StatusChecker, configuredRPCVersion int) (string, error)
Determines the appropriate version of avalanchego to run with. Returns an error if that version conflicts with the current deployment.
func CheckSubnetIsElastic ¶ added in v1.2.2
func GetKeychain ¶ added in v1.0.0
func GetKeychainFromCmdLineFlags ¶ added in v1.3.4
func GetNetworkFromCmdLineFlags ¶ added in v1.3.4
func PrintDeployResults ¶ added in v1.0.0
func PrintReadyToSignMsg ¶ added in v1.0.0
func PrintRemainingToSignMsg ¶ added in v1.0.0
func PrintTransformResults ¶ added in v1.2.0
func PromptDuration ¶ added in v1.2.7
func PromptNodeID ¶ added in v1.3.3
func PromptWeight ¶ added in v1.3.3
func SaveNotFullySignedTx ¶ added in v1.0.0
func ValidateSubnetNameAndGetChains ¶ added in v1.2.7
Types ¶
This section is empty.