Zen.JS wallet
Wallet implementation for light node.
Should use the remote node API.
Initially should call the remote node to get the unspent outputs.
Methods:
- Refresh - call the remote node again to check any updates
- GetBalance - return balance per asset
- Send - accept an address, asset and amount, return a signed transaction
- Run - accept a contract address, command, message, list of asset to send and return a signed transaction
- Publish - accept a signed transaction and publish
- Get History - accept count and skip and return list of transactions.
Edited by Doron Somech