wallet-interface
wallet-interface copied to clipboard
Interfaces for the openbazaar-go wallet
Developers and implementors want to promote better abstractions and to motivate anything which consume `wallet-interface` to rely on their local implementations instead of on internal types. The exported types returned...
Should we align the types for this data with how it's [used in ob-go](https://github.com/OpenBazaar/openbazaar-go/blob/446aed9e9b008f15ff866e3d6f758d8ff24e122c/pb/contracts.pb.go#L405)?
In this change, a new interface 'WalletAddress' is introduced which contains the methods used by the app. The one method 'IsForNet' which is btc specific is excluded.
Some aspects of the wallet should be reflected in the interface. Ex: - currency code for the coins - does the wallet/coin support time-based redemption scripts - maximum coin divisibility...