Commit Graph

11 Commits

Author SHA1 Message Date
sairajzero
2a78454cae Fixes and improvements
- Fixes for blockbook API (floBlockchainAPI >=3.0.0)
- Improvements to listTransactions
- formatted tx details have mining details separately. Added senders and receivers details containing full list of senders and receivers.  Added other tx details like confirmation, fee, block
- listTransactions fn now uses options: page, pageSize
2023-07-06 06:59:05 +05:30
sairajzero
f83884b591 Update flo-webwallet.js
- removed syncTransactions and readTransactions
- replace the above with listTransactions function set
- listTransactions(address) gets the latest  tx (1000 max)
- listTransactions.syncOld(address, initItem): use the initItem received by listTransaction or prevous .syncOld call. give the next old 1000 tx
- listTransaction.syncNew(address, lastItem): use lastItem received by listTransaction or previous .syncNew call). gives the new txs (1000 max) from last call
2023-05-13 18:24:11 +05:30
sairajzero
49fca9c2c4 Bug fixes 2023-05-10 03:20:01 +05:30
sairajzero
8b4669cea8 Fixes for new flosight changes 2023-05-10 02:01:07 +05:30
sairajzero
0c14975fcb removing unused dummy fns 2023-05-10 01:52:34 +05:30
sairajzero
e421d401da Moved bunkTransferTokens code to floTokenAPI
- floWebWallet.bunkTransferTokens is still available, but it invokes floTokenAPI.bunkTransferTokens where the code is moved to
2023-05-02 22:17:52 +05:30
sairajzero
f86818c1cb bunkTransferTokens: Improvements and fixes
- Fixes for floBlockchainAPI update (and waitForConfirmation moved to floBlockchainAPI)
- reject when receiver object list is empty
- when only 1 receiver is there, directly send tx using floTokenAPI.sendTx without spliting UTXOs
2023-05-02 21:43:06 +05:30
sairajzero
ec718a3c4e Adding bunkTransferTokens
- Added bunkTransferTokens: bulk transfer tokens to multiple receivers
- usage: floWebWallet.bunkTransferTokens(sender, privKey, token, receivers)
sender: floID of sender
privKey: private key of sender
token: token to send
receivers: an object representing receiver floID and amount
ie, {receiverID1: amount1, receiverID2: amount2....}
eg: {Fxyz: 123, Fpqr:321, Fabc: 987}
2023-04-23 23:13:21 +05:30
sairaj mote
a8f6d9d4c7 Bug fix and code refactoring 2023-03-30 02:03:55 +05:30
sairajzero
f89cf27826 Update flo-webwallet.js
- Wrapped flo webwallet module inside IIF.
- use strict for flo webwallet module
- moved onload fn to index.html
2022-12-30 04:16:58 +05:30
sairajzero
d4673462c0 update stdops (and split script files) 2022-12-30 03:52:12 +05:30