Commit Graph

663 Commits

Author SHA1 Message Date
sairajzero
2b8e77b5f7 Bug fixes
- floCrypto.validateAddr: bech default=true
- floCloudAPI: proxyID
- commented coinjs api vars
2022-07-26 15:16:22 +05:30
sairajzero
8a211be849 Adding btcOperator module 2022-07-24 20:33:45 +05:30
sairajzero
0526a1f29f floCloudAPI v2.4.2: cross-blockchain receiverID
- Accept any blockchain ID as receiverID and automatically convert it into floID
2022-07-24 02:34:02 +05:30
sairajzero
fa3d790c6c floDapps v2.3.2: lock privkey by default
- Removed the options for launchStartUp
- private-key is on lock mode by default
- Added utility functions that uses private-key without entering password in .user
  .sign(message): signs message
  .decrypt(data): decrypts ciphertext in asymmetric
  .encipher(message): encrypts message in symmetric
  .decipher(data): decrypts ciphertext in symmetric
2022-07-24 02:29:04 +05:30
sairajzero
0a74e393ed floCrypto v2.3.2: validate any address
floCrypto.validateAddr: validate any blockchain address
- Parameters:
1. address - address to validate
2. std - checks for legacy version (optional, default=true) (true: allow any, array: list of versions, value: one version only, false: allow none)
3. bech - checks for bech version (optional, default=false) (true: allow any, array: list of versions, value: one version only, false: allow none)

- For validating only floID, use floCrypto.validateFloID(floID)
2022-07-19 21:21:06 +05:30
sairajzero
fcc5f3ce4e Edit library to accept WIF of other versions 2022-07-17 17:04:03 +05:30
sairajzero
b80bd43313 floDapps, floCloudAPI: Secure private key
- Store AES-encrypted private key in memory. (exploring memory of browser will not have raw private key)
- floDapps lock/unlock (in user): locks or unlock the private key (ie, lock= Password required, unlock= password not required in returning private key)
- floDapps.launchStartUp now accepts options object
- to lock the private key on startup, pass {lock_key: true} in options objects of launchStartUp
2022-07-17 17:02:27 +05:30
sairajzero
5ab0bc36f0 Update floCrypto.js
- Removing explicit use of BigInteger in signing(/verify-sign) data
2022-07-16 03:32:44 +05:30
sairajzero
cfc36b80cd Secure private key using capsule 2022-07-16 03:30:03 +05:30
Sai Raj
80b4a8b9fe
Merge pull request #9 from ranchimall/master
Update README.md
2022-07-12 19:13:20 +05:30
Sai Raj
151ea8f751
Update README.md 2022-07-01 21:55:45 +05:30
sairaj mote
766128d2eb fixed app not loading when opening as file 2022-06-09 14:56:33 +05:30
sairaj mote
2a2d5f404e Added option to hide FLO ID on homepage 2022-06-08 18:00:42 +05:30
sairaj mote
46904b2411 UI/UX update
-- added transaction details when user receives FLO from cashier on low balance
2022-06-08 17:35:38 +05:30
sairaj mote
56910d5e98 minor UI fix 2022-06-06 20:09:29 +05:30
sairaj mote
330f9ad8a3 minor UI fix 2022-06-06 20:04:23 +05:30
sairaj mote
46056f9a39 UX improvement
-- conditionally rendering top-up steps based on QR code state
2022-06-06 19:58:46 +05:30
sairaj mote
0077223bb3 removed UPI deep link feature 2022-06-05 19:13:39 +05:30
sairaj mote
e9fdd209f2 bug fix 2022-06-05 18:55:11 +05:30
sairaj mote
51f0f3adb9 minor UI tweak 2022-06-05 18:14:15 +05:30
sairaj mote
fd10d3c6ec adding UPI direct pay link 2022-06-05 18:08:17 +05:30
sairaj mote
27fb44e4b7 testing UPI app links 2022-06-05 17:50:44 +05:30
sairaj mote
9013c37e91 minor UX issue fix 2022-06-05 15:16:47 +05:30
sairaj mote
11f17b919a implemented page visibility api for cashier status 2022-06-04 16:58:13 +05:30
sairajzero
42c8670d3f Note when min-FLO is converted
- When the cashier converts some rupee to FLO ( when user min-FLO balance is low), Appends (to note) the actual token (rupee) amount sent
- ie, note for those requests will be <txid>#<rupee_amt>
2022-06-04 02:56:36 +05:30
sairaj mote
fddaecd022 minor bug fix 2022-06-04 00:39:37 +05:30
sairaj mote
7221a12518 Added notification for processed request 2022-06-03 20:12:41 +05:30
sairaj mote
09bc1d22ad bug fixes 2022-06-03 19:34:57 +05:30
sairaj mote
1e8995076d bug fixes 2022-06-03 02:23:35 +05:30
sairaj mote
5ee21d2994 UI/UX and feature update
-- changes user flow for wallet top-up and changed the visual design to reflect that
-- top-up now works with random generated string
-- removed UPI ID asking step
-- implemented required changes to cashier side also
2022-06-02 15:30:20 +05:30
sairaj mote
5168fc3517 minor UI fix 2022-05-31 18:32:37 +05:30
sairaj mote
7f2f7d909c UI and UX update
-- implemented rule to include UPI ID while topping up
-- cashier can now see which UPI ID sent the money
-- Scanning QR code is collapsed by default to save space
-- decline request now shows a loader
2022-05-29 18:44:31 +05:30
sairaj mote
33a5e556f8 bug fixes 2022-05-27 16:21:10 +05:30
sairaj mote
b8647ffa03 added warning for low FLO balance to user 2022-05-27 00:14:39 +05:30
sairaj mote
c4686f6446 fixed payments history not sorted 2022-05-25 20:23:14 +05:30
sairaj mote
1b90cd89a3 bug fix 2022-05-25 20:12:12 +05:30
sairajzero
9435592c8b floTokenAPI v1.0.3b
- floGlobals.currency serves as getter and setter for DEFAULT.currency in tokenAPI module
2022-05-25 02:45:50 +05:30
sairajzero
29e20de25b floTokenAPI v1.0.3a
check if amount is not NaN before sendToken
2022-05-24 19:41:45 +05:30
Sai Raj
4c91895c6d
Merge pull request #22 from ranchimall/dev
Dev
2022-05-24 19:31:05 +05:30
sairajzero
4a6e063ed8 Bug fix 2022-05-24 19:28:38 +05:30
sairajzero
4eb2bae4a8 Bug fix 2022-05-24 18:56:18 +05:30
Sai Raj
71994502f8
Merge pull request #21 from ranchimall/dev-1
pull
2022-05-24 18:07:05 +05:30
Sai Raj
8b7e291f92
Merge branch 'dev' into dev-1 2022-05-24 18:06:34 +05:30
sairaj mote
7a4bd4ee7d Added blockchain transaction link for withdrawal 2022-05-24 17:17:05 +05:30
sairaj mote
4a2311f2ae Added loader to top-up confirmation 2022-05-24 16:03:20 +05:30
sairaj mote
73bc36316e minor cashier-side bug fix 2022-05-24 11:59:44 +05:30
sairajzero
eacc2fc655 Send user FLO if low (cash-to-token)
- Send FLO to user if their balance is below user_flo_threshold
- Automatically converts rupee token equivalent of send_user_flo value using exchangeAPI
- user_flo_threshold and send_user_flo are blockchain configured
2022-05-24 02:56:44 +05:30
sairajzero
960aa1f52d floBlockchainAPI v2.3.3
- If API is called when serverList is empty, reset the list and try again once
2022-05-24 02:25:44 +05:30
sairajzero
6c17afb913 Default cashier and other changes
- Encrypt UPI ID of users before sending to cashier
- Cashier: reconnect status ws at a regular interval to avoid timeout
- return the default cashier ID if no cashier is online (configured via blockchain)
2022-05-24 01:54:04 +05:30
sairajzero
7760570c95 Update stdop 2022-05-24 01:38:57 +05:30