Versions in this module Expand all Collapse all v0 v0.0.9 Sep 23, 2022 Changes in this version + const WriteReadReadPerms + type Avalanche struct + Apm *apm.APM + ApmDir string + Conf *config.Config + Log logging.Logger + Prompt prompts.Prompter + func New() *Avalanche + func (app *Avalanche) CopyGenesisFile(inputFilename string, subnetName string) error + func (app *Avalanche) CopyKeyFile(inputFilename string, keyName string) error + func (app *Avalanche) CopyVMBinary(inputFilename string, subnetName string) error + func (app *Avalanche) CreateSidecar(sc *models.Sidecar) error + func (app *Avalanche) GenesisExists(subnetName string) bool + func (app *Avalanche) GetAPMBaseDir() string + func (app *Avalanche) GetAPMLog() string + func (app *Avalanche) GetAPMPluginDir() string + func (app *Avalanche) GetAPMVMPath(vmid string) string + func (app *Avalanche) GetAvalanchegoBinDir() string + func (app *Avalanche) GetBaseDir() string + func (app *Avalanche) GetCustomVMDir() string + func (app *Avalanche) GetCustomVMPath(subnetName string) string + func (app *Avalanche) GetGenesisPath(subnetName string) string + func (app *Avalanche) GetKeyDir() string + func (app *Avalanche) GetKeyPath(keyName string) string + func (app *Avalanche) GetReposDir() string + func (app *Avalanche) GetRunDir() string + func (app *Avalanche) GetRunFile() string + func (app *Avalanche) GetSidecarNames() ([]string, error) + func (app *Avalanche) GetSidecarPath(subnetName string) string + func (app *Avalanche) GetSnapshotsDir() string + func (app *Avalanche) GetSpacesVMBinDir() string + func (app *Avalanche) GetSubnetEVMBinDir() string + func (app *Avalanche) GetTmpPluginDir() string + func (app *Avalanche) GetTokenName(subnetName string) string + func (app *Avalanche) KeyExists(keyName string) bool + func (app *Avalanche) LoadEvmGenesis(subnetName string) (core.Genesis, error) + func (app *Avalanche) LoadRawGenesis(subnetName string) ([]byte, error) + func (app *Avalanche) LoadSidecar(subnetName string) (models.Sidecar, error) + func (app *Avalanche) Setup(baseDir string, log logging.Logger, conf *config.Config, ...) + func (app *Avalanche) SubnetEvmChainIDExists(chainID string) (bool, error) + func (app *Avalanche) UpdateSidecar(sc *models.Sidecar) error + func (app *Avalanche) WriteGenesisFile(subnetName string, genesisBytes []byte) error