helper

package
v0.7.1-alpha1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPrivateKeyRaw = "aa75e9a7d427efc732f8e4f1a5b7646adcc61fd5bae40f80d13c8419c9f43d6d"

Variables

View Source
var (
	ErrRootchainNotFound = errors.New("rootchain not found")
	ErrRootchainPortBind = errors.New("port 8545 is not bind with localhost")
)

Functions

func GetRootchainAdminKey

func GetRootchainAdminKey() ethgo.Key

GetRootchainAdminKey returns rootchain admin private key

func GetRootchainID

func GetRootchainID() (string, error)

func InitRootchainAdminKey

func InitRootchainAdminKey(rawKey string) error

InitRootchainAdminKey initializes a private key instance from provided hex encoded private key

func ReadRootchainIP

func ReadRootchainIP() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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