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.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Variables
- func CallAddValidator(deployer *subnet.PublicDeployer, network models.Network, kc *keychain.Keychain, ...) 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, subnetOnlyParam bool, subnetName string, ...) error
- func CallExportSubnet(subnetName, exportPath string) error
- func CheckForInvalidDeployAndGetAvagoVersion(network localnetworkinterface.StatusChecker, configuredRPCVersion int) (string, error)
- func CheckSubnetIsElastic(subnetID ids.ID, network models.Network) (bool, error)
- func CreateSubnetFirst(cmd *cobra.Command, subnetName string, skipPrompt bool) error
- func DeploySubnetFirst(cmd *cobra.Command, subnetName string, skipPrompt bool, ...) error
- func HasSubnetEVMGenesis(subnetName string) (bool, 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 SaveNotFullySignedTx(txName string, tx *txs.Tx, chain string, subnetAuthKeys []string, ...) error
- func UpdateKeychainWithSubnetControlKeys(kc *keychain.Keychain, network models.Network, subnetName 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") )
Functions ¶
func CallAddValidator ¶
func CallConfigure ¶
func CallCreate ¶
func CallCreate( cmd *cobra.Command, subnetName string, forceCreateParam bool, genesisFileParam string, useSubnetEvmParam bool, useCustomParam bool, evmVersionParam string, evmChainIDParam uint64, evmTokenParam string, evmDefaultsParam bool, useLatestReleasedEvmVersionParam bool, useLatestPreReleasedEvmVersionParam bool, customVMRepoURLParam string, customVMBranchParam string, customVMBuildScriptParam string, ) error
func CallDeploy ¶
func CallExportSubnet ¶
func CheckForInvalidDeployAndGetAvagoVersion ¶
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 ¶
func CreateSubnetFirst ¶
func DeploySubnetFirst ¶
func DeploySubnetFirst(cmd *cobra.Command, subnetName string, skipPrompt bool, supportedNetworkOptions []networkoptions.NetworkOption) error
func HasSubnetEVMGenesis ¶
func PrintDeployResults ¶
func PrintReadyToSignMsg ¶
func PrintRemainingToSignMsg ¶
func PrintTransformResults ¶
func PromptDuration ¶
func PromptNodeID ¶
func SaveNotFullySignedTx ¶
Types ¶
This section is empty.