helper

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TestModeFlag = "test"
)

Variables

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

Functions

func GetRootchainID

func GetRootchainID() (string, error)

func GetRootchainPrivateKey

func GetRootchainPrivateKey(rawKey string) (ethgo.Key, error)

GetRootchainPrivateKey initializes a private key from provided raw 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