helper

package
v0.0.0-...-dd56834 Latest Latest
Warning

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

Go to latest
Published: May 23, 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