Commit Graph

536 Commits

Author SHA1 Message Date
sairajzero
bc44405102 btcOperator v1.0.7a
- Adding auto fee calculation
- Optimized the code
- Fixed minor bugs
2022-08-09 03:19:56 +05:30
sairaj mote
f210f51fc3 added "old browser" warning 2022-08-04 17:16:53 +05:30
sairaj mote
8c622dfa38 minor code refactoring 2022-08-03 17:17:05 +05:30
sairajzero
4244774635 btcOperator v1.0.7
- Added createTx: Create an unsigned tx (no privkey required) [segwit sender not supported for now as redeem-script needed]
- Added createMultiSigTx: Create an unsigned tx for multisig address
- Optimised sendTx to reuse code (no functional change)
2022-08-03 03:54:58 +05:30
sairaj mote
cfcc82fb00 Added transaction details searching 2022-08-02 02:39:09 +05:30
sairaj mote
6fa634b096 Bug fixes and UX improvements
-- added better indication for pending transactions
-- fixed details of same address not refreshing when clicking on 'go' again
--  made 'all' as default for searched address
-- added a favicon
2022-07-31 17:17:47 +05:30
sairaj mote
c409ade8f6 bug fixes 2022-07-30 16:07:58 +05:30
sairaj mote
6237ce452b code refactoring 2022-07-30 14:49:19 +05:30
sairaj mote
603312db4e replaced jquery ajax 2022-07-29 00:09:46 +05:30
sairaj mote
7c0aeef420 bug fixes 2022-07-28 23:47:53 +05:30
sairaj mote
be881dbebc bug fixes 2022-07-28 17:16:08 +05:30
sairajzero
9dd132b145 Update README.md 2022-07-28 02:45:56 +05:30
sairajzero
4bced4352d floDapps, floCloudAPI: retain blkchain id on login
floDapps login:
- login to btc address when btc private key is entered
- login to flo id when flo (or any other) private key is entered

floCloudAPI user:
- accept userID and private key for user set

Others:
- Fixed: minor bugs
2022-07-28 02:27:07 +05:30
sairajzero
f673d3f37a floCrypto v2.3.3a
floCrypto.verifyPubKey: verify public key of any blockchain address
- Parameters:
1. pubKeyHex - public key hex
2. address - blockchain address

floCrypto.getAddress: get address respective to the blockchain
- Parameters:
1. privateKeyHex - private key (WIF)
2. strict - (optional, default=false) if false returns floID when no match of privatekey prefix found.
2022-07-28 02:11:48 +05:30
sairaj mote
6395707bfa bug fix 2022-07-26 17:59:11 +05:30
sairaj mote
b306a1fecc UI fix 2022-07-26 17:57:11 +05:30
sairaj mote
f4c48245d8 bug fix 2022-07-26 17:55:21 +05:30
sairaj mote
250da3f03b added routing for address details 2022-07-26 17:53:15 +05:30
sairaj mote
15eacc1dba minor UX improvements 2022-07-26 17:27:24 +05:30
sairaj mote
834b31fa65 added visual cue for unconfirmed tx 2022-07-26 17:18:42 +05:30
sairaj mote
0c40a15a31 fixed a typo 2022-07-26 17:07:02 +05:30
sairajzero
2b8e77b5f7 Bug fixes
- floCrypto.validateAddr: bech default=true
- floCloudAPI: proxyID
- commented coinjs api vars
2022-07-26 15:16:22 +05:30
sairaj mote
6b7644ada4 UI tweaks 2022-07-25 22:43:25 +05:30
sairaj mote
a68191de3a minor UI tweaks 2022-07-25 20:13:30 +05:30
sairaj mote
37bf4fe12e minor UI fix 2022-07-25 18:29:38 +05:30
sairaj mote
01776fdc82 minor UX improvements 2022-07-25 16:17:55 +05:30
sairaj mote
528ec5a21e UI revamp 2022-07-24 23:43:40 +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
sairajzero
8158fc91d8 UI update
- Added: 'Convert' Tab/Panel
- Added: form for address conversion (BTC<->FLO)
- Moved: key conversion form to Convert tab
2022-06-28 02:44:26 +05:30
sairajzero
7d6df3d6dd cross-blockchain: address conversion
- convert address from one blockchain to another (target version required)
- Conversions: btc_api.convert
 . legacy2legacy
 . legacy2bech
 . bech2bech
 . bech2legacy
2022-06-28 02:41:04 +05:30
sairajzero
fd3f746a51 UI update
- Added: form for WIF conversion
- Added: Input fields for private-keys of senders in sendTx
- Added: feedback/result box for sendTx panel (txid or error is displayed)
2022-06-26 21:13:21 +05:30
sairajzero
349fcae37f cross-blockchain WIF conversion
- convert compressed WIF from one blockchain to another (target privkey prefix needed)
- btc_api.pubkey: return the same if pubkey is passed. (thus address, segwitAddress, bech32Address now accepts pubkey, privkey and wif)
- btc_api.address: accepts optional parameter 'prefix' to generate address for respective blockchain (Default: 0x00 BTC)
2022-06-26 19:13:53 +05:30
Sai Raj
334bf46fa1
Merge pull request #2 from ranchimall/dev
multi-inputs
2022-06-26 18:45:47 +05:30
sairajzero
c3f28423d3 un-commenting the broadcast in sendTx 2022-06-26 18:44:39 +05:30
sairajzero
22b5f58b23 Bug fix
- sendTx not signing properly when legacy is after bech32/segwit address (senders)
Solution used: sort privkey before signing the tx (legacy 1st then bech32/segwit)
2022-06-25 22:49:06 +05:30
sairajzero
315d0fd6e3 UI: multiple input-id (senders) 2022-06-22 04:15:21 +05:30
sairajzero
b28c0d86a2 Fixed: Sign-bug on multiple input-id
- now signing works for multiple input-ids for the following
  . all legacy
  . all segwit/bech32

- Adding change_addr optional parameter in sendTx (if entered sends the change to given address)
- ignore unconfirmed utxos
2022-06-22 03:15:48 +05:30
sairajzero
ee642839fb Multiple Input-IDs in sendTx
- Adding support for multiple input IDs in sendTx
- Pass array to senders/privKeys for multiple InputIDs (both arrays should have equal length)
- Pass array to receivers/amount for multipls outputIDs (both arrays should have equal length)
- Address-keys are verified for sender pairs
- Address, amounts are validated for receiver pairs
2022-06-21 19:27:00 +05:30
sairajzero
fb54b96221 Bug fix
- send tx not working when single receiver is entered (UI bug)
- View details UI: Aligned the addresses in view tx table
- sendTx: reject when total receiver amount is less than fee or zero
2022-06-20 21:09:54 +05:30
Sai Raj
9458f4855e
Adding RBF sequence 2022-06-19 14:41:17 +05:30
sairajzero
1e9cb164ad Multiple receivers in sendTx
- Can now send to more than one receiver
- receiverID, amount is replaced as receivers (object) format: {id1:amt1, id2:amt2}
- Updated UI for the same
2022-06-18 05:37:43 +05:30