# README
Bitmark Wallet
This a implementation of Hierarchical Deterministic wallet according to BIP32. It currently supports bitcoin and litecoin.
Prerequisite
- go 1.8+
Examples
seed := "fded5e8970380eef15f742348d28511111366ae6a55188402b16c69922006fe6"
walletData := "wallet.dat"
w := wallet.New(seed, walletData)
coinAccount, err = w.CoinAccount(wallet.BTC, wallet.Test(test), 0)
if err != nil {
log.Fatal(err)
}
addr, err := coinAccount.NewExternalAddr()
fmt.Println(err)
# Constants
Follow the rule of account discovery in BIP44 https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account-discovery.
No description provided by the author
No description provided by the author
# Variables
BitcoinMain is params for main net.
BitcoinTest is params for test net.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LitecoinMain is params for litecoin main net.
LitecoinTest is params for litecoin test net.
# Structs
BoltAccountStore is an account store using boltdb.
CoinAccount is the root struct for manipulate coins.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author