Documentation ¶
Index ¶
- func GeneratePrivateKey() *ecdsa.PrivateKey
- func GetPrivateKeyBytes(privateKey *ecdsa.PrivateKey) []byte
- func GetPrivateKeyHex(privateKey *ecdsa.PrivateKey) string
- func GetPublicAddress(publicKeyECDSA *ecdsa.PublicKey) string
- func GetPublicAddressLegacy(publicKeyECDSA *ecdsa.PublicKey) string
- func GetPublicKey(privateKey *ecdsa.PrivateKey) interface{}
- func GetPublicKeyBytes(publicKeyECDSA *ecdsa.PublicKey) []byte
- func GetPublicKeyECDSA(publicKey interface{}) *ecdsa.PublicKey
- func GetPublicKeyHex(publicKeyECDSA *ecdsa.PublicKey) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePrivateKey ¶
func GeneratePrivateKey() *ecdsa.PrivateKey
func GetPrivateKeyBytes ¶
func GetPrivateKeyBytes(privateKey *ecdsa.PrivateKey) []byte
func GetPrivateKeyHex ¶
func GetPrivateKeyHex(privateKey *ecdsa.PrivateKey) string
Private key to sign transactions
func GetPublicAddress ¶
Public address that we usually see
func GetPublicAddressLegacy ¶
func GetPublicKey ¶
func GetPublicKey(privateKey *ecdsa.PrivateKey) interface{}
func GetPublicKeyBytes ¶
func GetPublicKeyECDSA ¶
func GetPublicKeyHex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.