ethers

package
v0.0.0-...-6d31ec0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeForSigning

func EncodeForSigning(typedData apitypes.TypedData) (*common.Hash, error)

EncodeForSigning - Encoding the typed data

func PersonalSign

func PersonalSign(message string, privateKey *ecdsa.PrivateKey) (string, error)

PersonalSign - Returns a signature string

func SignCancelOrder

func SignCancelOrder(orderHash string) (string, error)

SignCancelOrder - Generates signature for cancel_order

func SignOrder

func SignOrder(order types.OrderParameters, chainId int) (string, error)

SignOrder - Signs Order

func SignTypedData

func SignTypedData(typedData apitypes.TypedData, privateKey *ecdsa.PrivateKey) (string, error)

SignTypedData - Sign typed data

Types

This section is empty.

Jump to

Keyboard shortcuts

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