Versions in this module Expand all Collapse all v1 v1.0.0 Dec 26, 2019 Changes in this version + const BtcPrivatePrefix + const BtcPubkeyHash + const BtcPublicPrefix + const DefaultBtcKey + const DefaultLtcKey + const LtcPrivatePrefix + const LtcPubkeyHash + const LtcPublicPrefix + const TestBtcPrivatePrefix + const TestBtcPubkeyHash + const TestBtcPublicPrefix + const TestLtcPrivatePrefix + const TestLtcPubkeyHash + const TestLtcPublicPrefix + type WalletGenPrefixes struct + Key string + PrivatePrefix string + PubkeyHash string + PublicPrefix string + type WalletGenerator struct + func NewDefaultBchWalletGenerator(test bool) (*WalletGenerator, error) + func NewDefaultBtcWalletGenerator(test bool) (*WalletGenerator, error) + func NewDefaultLtcWalletGenerator(test bool) (*WalletGenerator, error) + func NewWalletGenerator(prefixes WalletGenPrefixes) (*WalletGenerator, error) + func (w *WalletGenerator) ByteCheck(dbin []byte) error + func (w *WalletGenerator) MasterKey(seed []byte) (*HDWallet, error) + func (w *WalletGenerator) StringAddress(data string) (string, error) + func (w *WalletGenerator) StringCheck(key string) error + func (w *WalletGenerator) StringChild(data string, i uint32) (string, error) + func (w *WalletGenerator) StringWallet(data string) (*HDWallet, error) v0 v0.1.0 Jan 9, 2019 Changes in this version + var Private []byte + var Public []byte + var TestPrivate []byte + var TestPublic []byte + func ByteCheck(dbin []byte) error + func GenSeed(length int) ([]byte, error) + func StringAddress(data string) (string, error) + func StringCheck(key string) error + func StringChild(data string, i uint32) (string, error) + type HDWallet struct + Chaincode []byte + Depth uint16 + Fingerprint []byte + I []byte + Key []byte + Vbytes []byte + func MasterKey(seed []byte) *HDWallet + func StringWallet(data string) (*HDWallet, error) + func (w *HDWallet) Address() string + func (w *HDWallet) Child(i uint32) (*HDWallet, error) + func (w *HDWallet) Pub() *HDWallet + func (w *HDWallet) Serialize() []byte + func (w *HDWallet) String() string