Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeForSigning ¶
EncodeForSigning - Encoding the typed data
Types ¶
type EtherSigner ¶
type GcpKmsSigner ¶
func NewGcpKmsSigner ¶
func NewGcpKmsSigner(hexAddress string, keyVersionName string) (*GcpKmsSigner, error)
func (*GcpKmsSigner) GetAddress ¶
func (k *GcpKmsSigner) GetAddress() string
func (*GcpKmsSigner) Sign ¶ added in v0.0.4
func (k *GcpKmsSigner) Sign(digestHash []byte) ([]byte, error)
func (*GcpKmsSigner) SignTypedData ¶
func (k *GcpKmsSigner) SignTypedData(typedData apitypes.TypedData) (sig []byte, err error)
SignTypedData - Sign typed data
type Wallet ¶
type Wallet struct { PrivateKey *ecdsa.PrivateKey Address common.Address }
func (*Wallet) GetAddress ¶
Click to show internal directories.
Click to hide internal directories.