utils

package
v0.1.5 Latest Latest
Warning

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

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

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 DeleteConfigs

func DeleteConfigs(subnetName string) error

func GetBaseDir

func GetBaseDir() string

func ParseGreeterAddress

func ParseGreeterAddress(output string) error

func ParseRPCFromDeployOutput

func ParseRPCFromDeployOutput(output string) (string, error)

func ParseRPCFromRestartOutput

func ParseRPCFromRestartOutput(output string) (string, 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