Commit Graph

371 Commits

Author SHA1 Message Date
sairaj mote
9d6f7ad1c7 UI for BTC mortgage 2023-08-26 04:12:09 +05:30
sairajzero
ffc9f2cef2 liquidation details on blockchain
- Banker writes liquidation details on blockchain on successful liquidation
2023-08-02 20:13:10 +05:30
sairajzero
975e6acfc3 update 2023-08-02 14:58:36 +05:30
sairajzero
22d1862fe5 Merge https://github.com/sairajzero/flo-standard-operations 2023-08-02 02:33:25 +05:30
sairajzero
4ac73de3a4 btcOperator v1.1.4b
- Fixed: error-feedback not returning correctly in broadcastTx
2023-08-02 02:32:35 +05:30
sairajzero
2c81092e12 fixed various bugs 2023-08-02 02:30:14 +05:30
sairajzero
6828ea32b8 loan open time fix
- Loan open time is now the token transfer time instead of loan details tx time
2023-08-01 22:27:32 +05:30
sairajzero
2a4d77abb9 fix: read loan data 2023-08-01 22:21:36 +05:30
sairajzero
f202dd7b79 Adding fail safe to loan transfer
fail-safe helps when the loan amount is transfered by details are not added to blockchain. this fail-safe can later be retried to write in blockchain
2023-08-01 22:19:06 +05:30
sairajzero
95c38ce512 bug fix: loans not readed from blockchain 2023-08-01 21:37:11 +05:30
sairajzero
36b8e0c538 Merge https://github.com/sairajzero/flo-standard-operations 2023-08-01 21:20:23 +05:30
sairajzero
32b12a74a1 btcOperator v1.1.4a: bug fix 2023-08-01 21:19:41 +05:30
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