commands

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: BSD-3-Clause Imports: 4 Imported by: 8

Documentation

Overview

Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

View Source
const (
	CLIBinary  = "./bin/avalanche"
	SubnetCmd  = "subnet"
	NetworkCmd = "network"
	KeyCmd     = "key"
)

Variables

This section is empty.

Functions

func CleanNetwork

func CleanNetwork()

#nosec G204

func CreateKey added in v0.2.0

func CreateKey(keyName string) (string, error)

#nosec G204

func CreateKeyForce added in v0.2.0

func CreateKeyForce(keyName string) (string, error)

#nosec G204

func CreateKeyFromPath added in v0.2.0

func CreateKeyFromPath(keyName string, keyPath string) (string, error)

#nosec G204

func CreateSubnetConfig

func CreateSubnetConfig(subnetName string, genesisPath string)

#nosec G204

func DeleteKey added in v0.2.0

func DeleteKey(keyName string) (string, error)

#nosec G204

func DeleteSubnetConfig

func DeleteSubnetConfig(subnetName string)

#nosec G204

func DeploySubnetLocally

func DeploySubnetLocally(subnetName string) string

Returns the deploy output

#nosec G204

func ExportKey added in v0.2.0

func ExportKey(keyName string) (string, error)

#nosec G204

func ExportKeyToFile added in v0.2.0

func ExportKeyToFile(keyName string, outputPath string) (string, error)

#nosec G204

func GetVersion

func GetVersion() string

func ListKeys added in v0.2.0

func ListKeys() (string, error)

#nosec G204

func StartNetwork

func StartNetwork() string

#nosec G204

func StopNetwork

func StopNetwork()

#nosec G204

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL