Documentation
¶
Index ¶
- func FromECDSAPub(pub *ecdsa.PublicKey) []byte
- func GenerateEthereumData(args *[]interface{}, functionName string, functionSignatures map[string]string) (string, error)
- func GenerateKey() (*ecdsa.PrivateKey, error)
- func HexToECDSA(hexkey string) (*ecdsa.PrivateKey, error)
- func Keccak256(data ...[]byte) []byte
- func NewKeccakState() types.KeccakState
- func S256() elliptic.Curve
- func ToECDSA(d []byte) (*ecdsa.PrivateKey, error)
- type Address
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromECDSAPub ¶
func GenerateEthereumData ¶
func GenerateEthereumData(args *[]interface{}, functionName string, functionSignatures map[string]string) (string, error)
GenerateEthereumData generates Ethereum data for calling a function at a specific address
func GenerateKey ¶
func GenerateKey() (*ecdsa.PrivateKey, error)
GenerateKey generates a new private key.
func HexToECDSA ¶
func HexToECDSA(hexkey string) (*ecdsa.PrivateKey, error)
func NewKeccakState ¶
func NewKeccakState() types.KeccakState
NewKeccakState creates a new KeccakState
Types ¶
Click to show internal directories.
Click to hide internal directories.