cryptocoin
cryptocoin copied to clipboard
Wallet object
A Wallet
object will basically be a collection of keys. Some attributes of the component keys will be exposed in aggregate (simple Wallet.balance
, for instance, will be the sum of each.balance for each in wallet.keys
), while others will be specific to the wallet level.
Note that as this interface is defined, care should be taken to allow for the implementation of hierarchical deterministic (HD; BIP32) wallets and similar structures. While in many cases a wallet will be a simple collection of keys generated either randomly or input directly by the developer, other wallets may have arbitrary key generation strategies of their own.