The Wallet class is intended to be the main class by which we interact with the bchwallet daemon. The class will need to be able to start and stop the daemon and provide convenience methods to the gRPC interface.
The methods we will need to implement are:
[ ] getBlockChainInfo returns hash and height. Should probably save the height in the class for use when calculating confirmations.
[ ] getBalance
[ ] getCurrentAddress
[ ] getTransactions
[ ] changePassphrase
[ ] createTransaction
[ ] sweepAccount
[ ] signTransaction
[ ] publishTransaction
[ ] walletExists
[ ] createWallet
[ ] validateAddress
[ ] generateMnemonicSeed
The following must subscribe to TransactionNotifications and call back on the appropriate listener
The
Wallet
class is intended to be the main class by which we interact with the bchwallet daemon. The class will need to be able to start and stop the daemon and provide convenience methods to the gRPC interface.The methods we will need to implement are:
getBlockChainInfo
returns hash and height. Should probably save the height in the class for use when calculating confirmations.getBalance
getCurrentAddress
getTransactions
changePassphrase
createTransaction
sweepAccount
signTransaction
publishTransaction
walletExists
createWallet
validateAddress
generateMnemonicSeed
The following must subscribe to
TransactionNotifications
and call back on the appropriate listenerregisterTransactionCallback
registerBlockCallback