Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FixedKSigner ¶
type FixedKSigner struct {
// contains filtered or unexported fields
}
FixedKSigner is a ethereum ECDSA signer who always sign payload with the given K value. In theory K value is randomly selected in ECDSA algorithm's step 3: https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm, but here we use a fixed K value instead.
func NewFixedKSigner ¶
func NewFixedKSigner(privKey string) (*FixedKSigner, error)
Click to show internal directories.
Click to hide internal directories.