Documentation ¶
Index ¶
- Constants
- func Base58Decode(input []byte) []byte
- func Base58Encode(input []byte) []byte
- func Checksum(payload []byte) []byte
- func HandleFatalErrors(err error)
- func NewKeyPair() (ecdsa.PrivateKey, []byte)
- func PublicKeyHash(pubKey []byte) []byte
- func ValidateAddress(address string) bool
- type Wallet
- type WalletDB
Constants ¶
View Source
const (
ChecksumLength = 4
)
Variables ¶
This section is empty.
Functions ¶
func Base58Decode ¶
func Base58Encode ¶
func HandleFatalErrors ¶
func HandleFatalErrors(err error)
func NewKeyPair ¶
func NewKeyPair() (ecdsa.PrivateKey, []byte)
func PublicKeyHash ¶
func ValidateAddress ¶
Types ¶
type Wallet ¶
type Wallet struct { PrivateKey ecdsa.PrivateKey PublicKey []byte }
Click to show internal directories.
Click to hide internal directories.