utils

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	BaseTest      = "./test/index.ts"
	GreeterScript = "./scripts/deploy.ts"
	GreeterCheck  = "./scripts/checkGreeting.ts"
)

Variables

This section is empty.

Functions

func CheckKeyEquality added in v0.2.0

func CheckKeyEquality(keyPath1, keyPath2 string) (bool, error)

func DeleteConfigs

func DeleteConfigs(subnetName string) error

func DeleteKey added in v0.2.0

func DeleteKey(keyName string) error

func GetBaseDir

func GetBaseDir() string

func KeyExists added in v0.2.0

func KeyExists(keyName string) (bool, error)

func ParseGreeterAddress

func ParseGreeterAddress(output string) error

func ParseRPCsFromOutput added in v0.2.0

func ParseRPCsFromOutput(output string) ([]string, error)

func PrintStdErr added in v0.2.0

func PrintStdErr(err error)

func RunHardhatScript

func RunHardhatScript(script string) (string, string, error)

func RunHardhatTests

func RunHardhatTests(test string) error

func SetHardhatRPC

func SetHardhatRPC(rpc string) error

func SubnetConfigExists

func SubnetConfigExists(subnetName string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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