Documentation
¶
Overview ¶
Package stark implements utilities for generating imx.L2Signer
Index ¶
Constants ¶
View Source
const ( DefaultSeedMessage = "Only sign this request if you’ve initiated an action with Immutable X." ApplicationName = "immutablex" LayerName = "starkex" Index = "1" )
Variables ¶
This section is empty.
Functions ¶
func GenerateKey ¶
GenerateKey generates a random key that can be used to create StarkSigner. On creation save this key for future usage as this key will be required to reuse your stark signer. @return Randomly generated private key.
Types ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
StarkSigner implements L2Signer interface.
func (*Signer) GetPublicKey ¶ added in v1.0.0
GetPublicKey returns the stark public key of the StarkSigner as a 64 digit hex string prefixed with 0x.
Click to show internal directories.
Click to hide internal directories.