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 GetRootchainTestPrivKey ¶
GetRootchainTestPrivKey initializes a private key instance from hardcoded test account hex encoded private key
func ReadRootchainIP ¶
func ValidateSecretFlags ¶
ValidateSecretFlags validates provided secret flags. In case isTestMode is set to true, test account is being used and no need to specify secrets, otherwise they must be present.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.