wallet

package
v0.0.0-...-90f7a23 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

func GetPublicAddress(publicKeyECDSA *ecdsa.PublicKey) string

Public address that we usually see

func GetPublicAddressLegacy

func GetPublicAddressLegacy(publicKeyECDSA *ecdsa.PublicKey) string

func GetPublicKey

func GetPublicKey(privateKey *ecdsa.PrivateKey) interface{}

func GetPublicKeyBytes

func GetPublicKeyBytes(publicKeyECDSA *ecdsa.PublicKey) []byte

func GetPublicKeyECDSA

func GetPublicKeyECDSA(publicKey interface{}) *ecdsa.PublicKey

func GetPublicKeyHex

func GetPublicKeyHex(publicKeyECDSA *ecdsa.PublicKey) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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