ethereum

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

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
}

func NewSigner

func NewSigner(privateKey keys.PrivateKey) Signer

func (Signer) Sign

func (e Signer) Sign(opts mailbox.SignerOpts) (signedTransaction interface{}, err error)

type SignerOptions

type SignerOptions struct {
	Tx      *types.Transaction
	ChainID *big.Int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL