Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestEthRPCEndPoint = os.Getenv("ETHRPCENDPOINT")
TestEthRPCEndPoint :
View Source
var TestKeystorePath = os.Getenv("KEYSTORE")
TestKeystorePath :
View Source
var TestPassword = "123"
TestPassword :
Functions ¶
func DeployRegistryContract ¶
func DeployRegistryContract() (registryAddress common.Address, registry *contracts.TokensNetwork, secretRegistryAddress common.Address, err error)
DeployRegistryContract :
Types ¶
type TestAccount ¶
type TestAccount struct { Address common.Address PrivateKey *ecdsa.PrivateKey }
TestAccount :
func GetAccounts ¶
func GetAccounts() (accounts []TestAccount, err error)
GetAccounts unlock all accounts on TestKeystorePath
func GetAccountsByAddress ¶
func GetAccountsByAddress(address common.Address) (account TestAccount, err error)
GetAccountsByAddress : find and unlock account by TestPassword
Click to show internal directories.
Click to hide internal directories.