Versions in this module Expand all Collapse all v0 v0.5.0 Jun 14, 2021 Changes in this version + func Base58Decode(encodeddata []byte) []byte + func Base58Encode(payload []byte) []byte + func GenerateDoubleHash(payload []byte) []byte + func GeneratePublicKeyCheckSum(publickeyhash []byte) []byte + func GeneratePublicKeyHash(publickey []byte) []byte + func GenerateWalletKeys() (ecdsa.PrivateKey, []byte) + func Handle(err error) + func TruncateHash(hash []byte, length int) []byte + func ValidateWalletAddress(address string) bool + type Wallet struct + PrivateKey ecdsa.PrivateKey + PublicKey []byte + func NewWallet() *Wallet + func (w *Wallet) GenerateAddress() []byte + type WalletStore struct + Wallets map[string]*Wallet + func NewWalletStore() *WalletStore + func (ws *WalletStore) AddWallet() string + func (ws *WalletStore) FetchWallet(address string) *Wallet + func (ws *WalletStore) GetAddresses() []string + func (ws *WalletStore) Load() error + func (ws *WalletStore) Save()