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 GetRootchainID ¶
func GetRootchainPrivateKey ¶ added in v0.8.1
GetRootchainPrivateKey returns rootchain account private key
func InitRootchainPrivateKey ¶
InitRootchainPrivateKey initializes a private key instance from provided hex encoded private key
func IsTestMode ¶
IsTestMode returns true in case provided rootchain private key is the same as DefaultPrivateKey one
func ReadRootchainIP ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.