Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAddress ¶
GenerateAddress generates an Ethereum address.
func NewAddrKey ¶
func NewAddrKey() (common.Address, cryptotypes.PrivKey)
NewAddrKey generates an Ethereum address and its corresponding private key.
Types ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
Signer defines a type that is used on testing for signing MsgEthereumTx
func (Signer) SignByAddress ¶
SignByAddress sign byte messages with a user key providing the address.
Click to show internal directories.
Click to hide internal directories.