{"modulePath":"github.com/RAMPAGEXP/ethermint","version":"v0.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package tests\n\n## Functions\n\n```go\nfunc GenerateAddress() common.Address\n```\nGenerateAddress generates an Ethereum address.\n\n```go\nfunc NewAddrKey() (common.Address, cryptotypes.PrivKey)\n```\nNewAddrKey generates an Ethereum address and its corresponding private key.\n\n```go\nfunc NewSigner(sk cryptotypes.PrivKey) keyring.Signer\n```\n\n## Types\n\n```go\ntype Signer struct {\n\t// contains filtered or unexported fields\n}\n```\nSigner defines a type that is used on testing for signing MsgEthereumTx\n\n```go\nfunc (s Signer) Sign(_ string, msg []byte) ([]byte, cryptotypes.PubKey, error)\n```\nSign signs the message using the underlying private key\n\n```go\nfunc (s Signer) SignByAddress(address sdk.Address, msg []byte) ([]byte, cryptotypes.PubKey, error)\n```\nSignByAddress sign byte messages with a user key providing the address.\n\n","path":"github.com/RAMPAGEXP/ethermint/tests","name":"tests","synopsis":"","isRedistributable":true}
