Commit Graph

709 Commits

Author SHA1 Message Date
sairaj mote
f8f388f764 added UI states for logged in vs not 2021-10-13 17:32:30 +05:30
sairaj mote
19b760d99b added new UI for market orders 2021-10-11 17:26:07 +05:30
sairaj mote
d6df6e523c adding UI for user orders 2021-10-07 22:47:01 +05:30
Sai Raj
d1bb6e6d2e
Merge pull request #1 from sairajzero/main 2021-10-07 17:43:39 +05:30
Sai Raj
47d2c34820
Merge branch 'main' into main 2021-10-07 17:43:28 +05:30
sairaj mote
5a67beb249 Added wallet deposit/withdraw UI 2021-10-04 19:12:31 +05:30
sairaj mote
75879ca2f5 implementing new UI 2021-10-01 17:45:39 +05:30
sairajzero
8c6142af98 Bug fix
Fixed: Session secret not set in configuration
- Ignore optional Yes or No when config file is not available already.
2021-09-29 04:32:28 +05:30
sairajzero
96b9d3b6e9 Setup files
- Adding setup files to configure, set password.
- Private key will now be stored in encrypted shares. Password will be required for running the server.
- Automated creation of MySQL schema.
- Making floGlobals common for both server and client.
- Fixed a minor bug in database.js
2021-09-29 04:14:02 +05:30
sairajzero
8a014405f4 display current rate
Display FLO-INR rate in client page
2021-09-25 22:16:06 +05:30
Sai Raj
b2d77a3c2a
Merge branch 'sairajzero:master' into master 2021-09-25 16:27:30 +05:30
sairajzero
9ec17b4d55 Debugging 2021-09-25 00:29:48 +05:30
sairajzero
73c0ee9821 Adding password lock feature
- Users can lock the proxy key using a password (this is optional by the user).
- Password will be required (once per page load) to make any transactions
- Logged in user details will still be displayed. Only transactions will require password.
- Logout will automatically clear the password. (Logout can be done even without password)
2021-09-24 05:00:31 +05:30
sairajzero
c675ce3366 Fixed minor bugs in client scripts
- Added floGlobals and link for floBlockchainAPI
2021-09-24 03:35:53 +05:30
sairajzero
7362d0d4b7 Fixed various bugs in server scripts 2021-09-24 03:35:04 +05:30
sairajzero
8c31de3ccc Config update
- private key and flo addr for the admin
- Adding token URL
2021-09-24 03:34:01 +05:30
sairajzero
bfc6a1091a Changing XMLHttpRequest to fetch 2021-09-24 03:31:33 +05:30
sairajzero
60f1a2742d Update floCrypto.js 2021-09-24 03:31:03 +05:30
sairajzero
5164d51146 Bug fix: some variables not declared 2021-09-24 03:30:51 +05:30
sairajzero
20a2ecdd8e Adding SQL schema 2021-09-24 03:29:49 +05:30
sairajzero
c238e57132 Bug fix
- Fixed signature text construct bug (time -> timestamp)
2021-09-20 20:50:48 +05:30
sairajzero
9bdb578d1a Update client side pages
- Updating the old requests to new format
- Adding deposit/withdraw FLO/Rupee to client-side UI
2021-09-20 20:49:34 +05:30
sairajzero
c8e27f7315 updating floBlockchainAPI to latest (v2.1.1) 2021-09-20 20:48:01 +05:30
sairajzero
57ef8d14df floBlockchainAPI_v2.1.1a
- formatting the code
2021-09-17 02:46:48 +05:30
sairajzero
5c21a01b68 floBlockchainAPI v2.1.1
- improved sendTx to check if the utxo is already used but unconfirmed (ie, still in mempool) and ignore those utxos.
This allows users to send multiple tx from the same floID without the need to wait for confirmation of prev tx as long as enough utxos are available.

- Optional parameter: strict_utxo (boolean): Default=true (safe mode).
If false, allows unconfirmed UTXOs to be included in the txn.
This will allow users to chain send tx as long as enough balance FLO is available.
WARNING: if one tx in the chain is dropped, all next tx dependent on that tx will be dropped too.

- writeData (as it invokes sendTx) also have the above improvements
2021-09-17 02:25:16 +05:30
sairajzero
20fd7aaeb1 Deposit and withdraw request processing
- Processing of Deposit/Withdraw request for FLO/Rupee.
- renamed database's TxQuery to transaction
2021-09-16 03:17:33 +05:30
sairajzero
84b914bc9b Proxy key signatures for requests
- Uses the proxy public key sent by the users upon login to verify signatures on requests.
* This allows the users to not store their actual private key in the browser. Only the proxy private-key will be needed to be stored in the browser in addition to respective session data.
- Stores the request data and respective signatures upon successful processing.
2021-09-16 03:14:28 +05:30
sairajzero
8d4a2e79b8 update refresh button
refresh button also refreshed account details
2021-09-02 21:28:28 +05:30
sairajzero
9443ac5d51 Adding Order cancellation request 2021-09-02 21:24:11 +05:30
sairajzero
a7a2c22622 Update database.js
- Bug Fixed: Added commit to end a transaction
2021-09-02 04:58:33 +05:30
sairajzero
3eb9499713 Update market.js
- Added get rates function
- Added interval for match buy n sell function
- Added checks for buy and sell order placement
- Fixed minor bugs
2021-09-02 04:57:55 +05:30
sairajzero
0d84962b8a update client pages
- Fixed minor bugs
- Added event calls for sell and buy
- sell and buy events to check for valid inputs
2021-09-02 04:56:10 +05:30
sairajzero
0cc525b28e Update request.js
- Check if floID is registered before logging in. Also use the pubKey from DB. Therefore pubKey is not required to be sent in request during login.
- Respond correctly when floID is already registered when trying to re-register.
2021-09-01 21:33:27 +05:30
sairajzero
46f1c9b6c5 Adding simple client page 2021-09-01 21:30:11 +05:30
sairajzero
a137237010 Create start.js and main.js 2021-08-30 22:04:19 +05:30
sairajzero
9c344bc8e5 Create app module 2021-08-30 22:03:55 +05:30
sairajzero
0161108e87 Create database.js 2021-08-30 22:02:11 +05:30
sairajzero
a02b6d4680 Create .gitignore 2021-08-30 22:01:56 +05:30
sairajzero
80b9d36287 adding args and set_globals 2021-08-30 22:01:42 +05:30
sairajzero
c05e260b51 Adding std_op 2021-08-30 22:00:31 +05:30
sairajzero
a1fa6a3dfd Initial commit 2021-08-30 21:57:41 +05:30
sairajzero
f8954a2532 floBlockchainAPI v2.1.0
- readData: option txid changed to tx. now resolves data with txid, time, blockheight along with flo data as an object [if option tx is true].
Note: backward not compactible when txid was passed as option
2021-08-12 21:47:02 +05:30
Sai Raj
09539c1dc6
Merge pull request #14 from sairajzero/master 2021-07-24 04:24:32 +05:30
Sai Raj
4df09c206f
Merge branch 'master' into master 2021-07-24 04:24:02 +05:30
sairajzero
b575432ace floCloudAPI_v2.1.0
- Updating to node version of SuperNodeStorage
2021-07-24 04:09:44 +05:30
Sai Raj
571499907e
Update README.md 2021-06-25 15:16:48 +05:30
ea2a586b5a
Updted Flosight list 2021-06-22 18:59:26 +05:30
sairajzero
df8df5edbc floBlockchainAPI_2.0.1e
- Adding floBlockchainAPI.util.current(): returns the current working flosight link (to be used after at least 1 API request'
2021-06-07 14:27:52 +05:30
sairajzero
25df4bbbc0 bugfix (floBlockchainAPI_v2.0.1d)
floBlockchainAPI_v2.0.1d
- fetch_retry removes incorrect uri when parallel requests are called.
2021-06-06 17:10:55 +05:30
Sai Raj
f7fcaf12c6 Merge branch 'sairajzero:master' into master 2021-06-05 12:34:53 +05:30