Commit Graph

409 Commits

Author SHA1 Message Date
sairajzero
e3193cc06c Fixed: floData too large in loan opening
- now transfer tx will have borrower signature and coborrower signatures when token is transfered
- thus loan details tx will reduce the size (flodata)
2023-08-01 21:18:09 +05:30
sairajzero
d1ef13b26f Fixed various bugs 2023-08-01 20:31:59 +05:30
sairajzero
4e13fe2a0e floCrypto v2.3.6b
- floCrypto.signData to throw error when privateKey not passed
2023-08-01 19:33:53 +05:30
sairajzero
04f466b25e Update index.html 2023-08-01 18:41:22 +05:30
sairajzero
7bf54b0882 Merge https://github.com/sairajzero/flo-standard-operations 2023-08-01 18:41:01 +05:30
sairajzero
07a6d6b4d6 floCloudAPI v2.4.5a: bug fix
- Fixed: floCloudAPI.requestApplicationData on single request not decoding the result data (message)
2023-08-01 18:27:43 +05:30
sairajzero
7fb0dd6d9c bug fixes 2023-08-01 17:04:13 +05:30
sairajzero
f13c1057b5 update test bankerID 2023-08-01 17:00:47 +05:30
sairajzero
14381a577f bug fixes 2023-08-01 05:09:15 +05:30
sairajzero
ccb286a105 bug fixes 2023-08-01 04:10:25 +05:30
sairajzero
01332905a0 App initialization and bug fixes
- reading data from blockchain and storing in IDB
- fixed various buys
- check collateral is already been used for a diff loan (when lender tried to send loan)
2023-08-01 03:51:14 +05:30
sairajzero
9cf062282e Merge https://github.com/sairajzero/flo-standard-operations 2023-07-31 02:20:01 +05:30
sairajzero
2c656d40ba btcOperator v1.1.4
- CONSTANTS, get_fee_rate and some other useful fns are added to util
- getUTXOs can now be called directly using btcOperator.getUTXOs
2023-07-31 02:18:43 +05:30
sairajzero
098a62047c floCloudAPI v2.4.5 : file support
- uploadFile: upload a file to the cloud
- downloadFile: download a file from cloud

- upload/download file supports encryption of file. use options.encrypt in uploadFile and options.decrypt in downloadFile
2023-07-29 05:41:06 +05:30
sairajzero
5be35c28ce floDapps v2.4.1
- support for multiple cloud networks
2023-07-29 05:01:14 +05:30
sairajzero
471f291848 floCloudAPI v2.4.4: edit comment feature
- senders can now edit the comment of data they sent (by re-signing the new data)
2023-07-26 03:45:35 +05:30
sairajzero
b169ee7d61 Fixes and improvements in validation 2023-07-23 06:13:10 +05:30
sairajzero
eb7513663f Adding banker functions 2023-07-22 04:58:07 +05:30
sairajzero
4fb02dfdd5 Adding requests-to-banker functions
- BTC start rate is also signed and written in blockchain
2023-07-22 03:11:47 +05:30
sairajzero
d9997f9591 store sent messages in IDB 'outbox' 2023-07-22 02:00:49 +05:30
sairajzero
557a8b39de read/write policies from blockchain 2023-07-22 02:00:06 +05:30
sairajzero
999a52f12b Adding inbox and list fns 2023-07-21 05:35:52 +05:30
sairajzero
25295f1bf2 Adding some dependent functions 2023-07-21 05:31:10 +05:30
sairajzero
50305bde4c Adding functions for loan-closing 2023-07-21 05:29:07 +05:30
sairajzero
8032aee802 Adding sign and verification for loan-opening 2023-07-21 05:24:17 +05:30
sairajzero
5853b13c49 Adding functions for loan-opening steps 2023-07-21 05:22:19 +05:30
sairajzero
376ff0e7da adding btc get rate and loan blockchain structure 2023-07-21 05:16:59 +05:30
sairajzero
6ff4d1579b Init btc-mortgage module 2023-07-21 05:13:01 +05:30
sairajzero
0a43cf13cd Init ReadMe 2023-07-21 05:09:09 +05:30
sairajzero
12668a9bf8 moving js files into script/ 2023-07-21 05:08:31 +05:30
sairajzero
a007e5ab83 Merge https://github.com/sairajzero/flo-standard-operations 2023-07-21 04:58:56 +05:30
Sai Raj
4cc9a0c478
Initial commit 2023-07-21 04:49:48 +05:30
sairajzero
904deaa63c floBlockchainAPI v3.0.1b - bug fix
- Fixed: vin address at .addresses[0] not .scriptSig.addresses[0]
2023-07-05 13:48:38 +05:30
sairajzero
e120b657da floBlockchainAPI v3.0.1a
- Fixed: readTx and all its dependencies not having txs property when address (floID) doesnt have any tx
2023-07-05 13:35:07 +05:30
sairajzero
5398fcbbbc floBlockchainAPI v3.0.1
- Fixed readTxs: not working
- Removed fromBlock and toBlock options from readTxs

- Fixed: chain querying to blockbook format for readAllTxs, readData, getLatestData

- Changed `mempool` option to `confirmed` option (for blockbook API)
- Removed `before` options from respective fns
2023-07-05 05:14:44 +05:30
sairajzero
d15af05764 floBlockchainAPI v3.0.0: BlockBook API
- Converting API calls to FLO blockbook API
- Changes and fixes required for the same
2023-07-04 00:20:24 +05:30
sairajzero
49d5c2411c btcOperator v1.1.3b: fix
- Fixed: fee increment minimum value
Minimum fee increment should be atleast MIN_FEE_UPDATE (219 satoshi)
2023-06-01 21:09:50 +05:30
sairajzero
365d3d4503 btcOperator v1.1.3a: bug fix
- Fixed: minor syntax errors and typos
- Fixed: createTransaction not giving correct fee and output value when dust is ignored
2023-06-01 21:06:04 +05:30
sairajzero
34c30aea05 btcOperator v1.1.3: increase fee
- editFee: increase the fee for the given transaction.
can pass either tx hex directly to edit it, or pass txid of unconfirmed tx to edit it for rebroadcasting

- transaction outputs will be removed if the value is less than DUST amount (546 satoshi)
2023-06-01 20:03:42 +05:30
Sai Raj
daeef19d5a
Merge pull request #10 from ranchimall/master 2023-05-19 01:01:09 +05:30
Sai Raj
3a00221587
Merge branch 'sairajzero:master' into master 2023-05-19 00:59:49 +05:30
sairajzero
92303cbc47 floBlockchainAPI v2.5.6b: bug fix 2023-05-13 18:18:23 +05:30
Sai Raj
0eb4215f23
Merge branch 'sairajzero:master' into master 2023-05-10 02:13:33 +05:30
sairajzero
d777303097 floTokenAPI v1.0.4a
- fixed: typo in bulkTransferTokens
2023-05-10 02:01:47 +05:30
sairajzero
94fb4f4849 compactIDB v2.1.2
- Fixed: options.limit not working in searchData
- Added option reverse to searchData (if set to true, the ordering will be reversed
2023-05-10 01:50:46 +05:30
sairajzero
1390c91907 floBlockchainAPI v2.5.6a
- minor bug fix: default value for options missing in readAllTxs fn
- removed flosight.duckdns.org from apiURL
2023-05-10 01:46:36 +05:30
sairajzero
46ae8581e4 floDapps v2.4.0
- Update for new flosight version
- requires floBlockchainAPI >= v2.5.6
- requires floCloudAPI >= v2.4.3a

- lastTx now stores the lastItem property (ie, txid)
- backward-support: maintaining support for idb data (lastTx) from old floDapps module to be converted to this version
2023-05-04 17:09:02 +05:30
sairajzero
9e10a02dc8 floBlockchainAPI v2.5.6
- All search query (get method) now uses URLSearchParams to construct the string
- renamed all lastKey property to lastItem to match flosight response
2023-05-04 17:04:55 +05:30
sairajzero
704def4db1 floCloudAPI v2.4.3a
- Added property: SNStorageName (string content "SuperNodeStorage"
2023-05-04 16:59:10 +05:30
sairajzero
7e618c98f2 floTokenAPI v1.0.4: Added 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 token amount
ie, {receiverID1: amount1, receiverID2: amount2....}
eg: {Fxyz: 123, Fpqr:321, Fabc: 987}
2023-05-02 22:15:54 +05:30