Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Goerli network name. Goerli = "goerli" // Kovan network name. Kovan = "kovan" // Mainnet network name. Mainnet = "mainnet" // Rinkeby network name. Rinkeby = "rinkeby" // Ropsten network name. Ropsten = "ropsten" )
Ethereum
Variables ¶
This section is empty.
Functions ¶
func GetPublicKeyFromTransaction ¶
func GetPublicKeyFromTransaction(r, s, v *big.Int, to, input []byte, nonce uint64, gasPrice *big.Int, gas uint64, value *big.Int) ([]byte, error)
GetPublicKeyFromTransaction retrieve the public key from the transaction information
Types ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
Signer for ethereum.
type SignerOptions ¶
type SignerOptions struct { Tx *types.Transaction ChainID *big.Int }
SignerOptions options that can be set when signing an ethereum transaction.
Click to show internal directories.
Click to hide internal directories.