Documentation ¶
Overview ¶
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Constants
- func CleanNetwork()
- func CleanNetworkHard()
- func CreateCustomVMConfig(subnetName string, genesisPath string, vmPath string)
- func CreateKey(keyName string) (string, error)
- func CreateKeyForce(keyName string) (string, error)
- func CreateKeyFromPath(keyName string, keyPath string) (string, error)
- func CreateSpacesVMConfig(subnetName string, genesisPath string)
- func CreateSubnetEvmConfig(subnetName string, genesisPath string)
- func CreateSubnetEvmConfigWithVersion(subnetName string, genesisPath string, version string)
- func DeleteKey(keyName string) (string, error)
- func DeleteSubnetConfig(subnetName string)
- func DeploySubnetLocally(subnetName string) string
- func DeploySubnetLocallyWithVersion(subnetName string, version string) string
- func DeploySubnetLocallyWithViperConf(subnetName string, confPath string) string
- func ExportKey(keyName string) (string, error)
- func ExportKeyToFile(keyName string, outputPath string) (string, error)
- func GetVersion() string
- func ImportSubnetConfig(repoAlias string, subnetName string)
- func ImportSubnetConfigFromURL(repoURL string, branch string, subnetName string)
- func ListKeys() (string, error)
- func SimulateAddValidatorPublicly(subnetName string, key string, nodeID string, start string, period string, ...) string
- func SimulateDeploySubnetPublicly(subnetName string, key string, controlKeys string) string
- func SimulateJoinPublicly(subnetName string, avalanchegoConfig string, pluginDir string) string
- func StartNetwork() string
- func StopNetwork()
Constants ¶
View Source
const ( CLIBinary = "./bin/avalanche" SubnetCmd = "subnet" NetworkCmd = "network" KeyCmd = "key" )
Variables ¶
This section is empty.
Functions ¶
func CreateCustomVMConfig ¶ added in v0.2.3
#nosec G204
func CreateKeyForce ¶ added in v0.2.0
#nosec G204
func CreateKeyFromPath ¶ added in v0.2.0
#nosec G204
func CreateSpacesVMConfig ¶ added in v0.2.3
#nosec G204
func CreateSubnetEvmConfig ¶ added in v0.2.3
#nosec G204
func CreateSubnetEvmConfigWithVersion ¶ added in v0.2.3
#nosec G204
func ExportKeyToFile ¶ added in v0.2.0
#nosec G204
func GetVersion ¶
func GetVersion() string
func ImportSubnetConfig ¶ added in v0.2.3
#nosec G204
func ImportSubnetConfigFromURL ¶ added in v0.2.3
#nosec G204
func SimulateAddValidatorPublicly ¶ added in v0.2.3
func SimulateAddValidatorPublicly( subnetName string, key string, nodeID string, start string, period string, weight string, ) string
simulates fuji add validator execution path on a local network
func SimulateDeploySubnetPublicly ¶ added in v0.2.3
simulates fuji deploy execution path on a local network
func SimulateJoinPublicly ¶ added in v0.2.3
simulates fuji join execution path on a local network
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.