Commit Graph

536 Commits

Author SHA1 Message Date
sairajzero
2e0846edc4 floBlockchainAPI v2.4.0: multisig tx
Changes:
- multisig addresses are accepted as receiver address in all send-tx fns
- multisig addresses are accepted in query fns
- sendTx: sender can be regular address only

Added 3 multisig transaction fns:
- createMultisigTx: creates unsigned tx for multisig sender
- sendMultisigTx: create signed multisig tx and broadcast it
- writeMultisigData: same as writeData(), but for multisig
2023-02-20 04:59:23 +05:30
sairajzero
dac87a8595 floCrypto v2.3.4: multisig address
- Added getMultisigAddress(pubkeys, required_sigs): returns a multisig address from given pubkey list and required signatures
- Added decodeRedeemScript (redeemScript): decodes the given redeemscript (of multisig)
- Updated validateFloID: now validates FLO regular and multisig address. optional argument regularOnly(default=false) if true validates only FLO regular address.
2023-02-20 03:10:15 +05:30
sairajzero
0031761a06 lib v1.4.1: Bitcoin.Address: FLO-multisig support
- Bitcoin.Address now supports multisg version
- new Bitcoin.Address (hex) will now assign the respective version when its regular or multisig address

- Added constants: Bitcoin.Address
  .standardVersion= 0x23
  .multisigVersion = 0x5e
  .testnetVersion = 0x73
2023-02-20 03:09:46 +05:30
sairajzero
1f670be893 lib v1.4.0: Support for FLO multisig address 2023-02-19 17:43:07 +05:30
sairajzero
7d31dec230 lib v1.3.3: Improvements to bitjs for flo
- Updated tx.addflodata: will now check if the data is valid or not
- Optimized tx.serialize: changed complex code for appending flodata to a simple one
- Added bitjs.strToBytes: converts string (ascii) to strToBytes
- Added bitjs.pubkeydecompress: decompresses the public key
- Added bitjs.verifySignature: verify the signature (of hash and pubkey)
2023-02-19 17:39:19 +05:30
sairaj mote
047e78bd4b UI bug fixes 2023-02-19 00:49:50 +05:30
sairaj mote
26b21597de bug fix
--If external APIs fail and there is already a currency other than BTC is selected it'll default to BTC
2023-02-19 00:41:30 +05:30
sairaj mote
94e48dcd6b UI bug fixes 2023-02-19 00:23:44 +05:30
sairaj mote
47f20ab77c bug fixes 2023-02-19 00:16:49 +05:30
sairaj mote
8a1e253ed1 Bug fixes 2023-02-19 00:10:09 +05:30
sairaj mote
eb708fdb36
Merge pull request #1 from sairaj-mote/main
Error handling for exteral API not working
2023-02-18 18:38:10 +05:30
sairaj mote
07a3384eba bug fix 2023-02-18 01:06:03 +05:30
sairaj mote
e92c813a23 Handled API not working in UI 2023-02-18 00:36:58 +05:30
sairaj mote
9c99228119 app name change 2023-02-16 22:39:11 +05:30
sairaj mote
c19c9e28ee changed title 2023-02-16 20:38:22 +05:30
sairaj mote
7a4c6baae3 Bug fixes 2023-02-15 23:19:53 +05:30
sairaj mote
42ec55e68e fixed approx. fee showing 0 2023-02-15 23:01:17 +05:30
sairaj mote
917a797a0c Added approx. transaction fees 2023-02-15 22:43:30 +05:30
Sai Raj
837f4b4a6f
Merge pull request #15 from sairajzero/master 2023-02-08 19:23:28 +05:30
sairajzero
1dc6a4c9fc Update btcOperator.js 2023-01-31 02:14:28 +05:30
sairajzero
ca0d557d94 btcOperator v1.1.1: getTx.hex
- Added getTx.hex(txid): resolves the tx hex of the txid
- Update: api responses are checked for response.ok
- Fixed: getTx giving incorrect confirmation value for unconfirmed tx
2023-01-31 02:13:37 +05:30
sairajzero
8d4dfcc3f2 Fix: Tx search query not working 2023-01-31 01:35:59 +05:30
sairajzero
829be091e2 Fix: Address query not working 2023-01-31 01:26:43 +05:30
sairajzero
78fd191839 btcOperator v1.1.0
updating API link to blockchain.info
2023-01-31 01:23:52 +05:30
sairajzero
c2a94e6246 btcOperator v1.1.0: updating API provider
updating API link to blockchain.info
2023-01-31 01:21:48 +05:30
sairaj mote
788a93ea00 bug fix 2023-01-30 21:34:04 +05:30
sairaj mote
eb2676ee77 bug fixes 2023-01-21 05:02:06 +05:30
sairaj mote
3d5dacdc20 UX update and bug fixes
-- added better error reporting for private key field
2023-01-21 04:11:19 +05:30
Sai Raj
54edb63d07
Update btcOperator.js 2023-01-21 03:13:28 +05:30
sairaj mote
b9a0cc27e1 updated components 2023-01-21 02:52:47 +05:30
sairaj mote
4b513bb296 Bug fixes 2022-12-28 03:46:05 +05:30
sairaj mote
9fe70e688b UI changes 2022-12-27 23:36:58 +05:30
sairaj mote
0ae8417fc2 bug fix 2022-12-27 23:24:20 +05:30
sairaj mote
b8f077a8e9 bug fix for TX ID not showing 2022-12-27 23:21:54 +05:30
sairaj mote
c786e647a8 fixing fee calculation error 2022-12-27 23:09:29 +05:30
sairaj mote
830c269217 added console log to see fees 2022-12-27 22:57:27 +05:30
sairaj mote
e0d3a627e6 Added currency conversion while sending 2022-12-27 18:55:49 +05:30
sairaj mote
dfa134cc52 better error handling 2022-12-27 02:20:14 +05:30
sairajzero
c2b836c069 Updating floSight URLs 2022-12-23 22:48:52 +05:30
sairajzero
cc4380d623 floDapps v2.3.3
- Added support: update cloud node URL
- Added support: trusted IDs (configured by adminID)
- Trusted IDs have permission to edit tag data
2022-12-18 03:44:04 +05:30
sairaj mote
72916bae0f UI changes required for auto fee calculation 2022-12-18 03:08:38 +05:30
sairajzero
4c06604f4b Update btcOperator.js 2022-12-16 20:48:01 +05:30
sairajzero
ea4d1f67d6 bug fix: btcOperator v1.0.14b (ignore dust-change) 2022-12-16 20:47:21 +05:30
sairajzero
a71c851cc2 btcOperator v1.0.14a
- Added multisig-bech32 to auto-fee calc
- Fixed: createMultiSigTx not working with bech32 sender
- Fixed: checkSigned for multisig-bech32
2022-11-27 02:47:02 +05:30
sairajzero
9f04c846db Update index.html
- updated btc_api to btcOperator
- removed jquery script as its not needed anymore
2022-11-24 03:44:30 +05:30
sairajzero
02c844dfbf Update stdop 2022-11-24 03:43:14 +05:30
sairajzero
bab8d7d995 Delete lib_btc.js 2022-11-24 03:42:56 +05:30
sairajzero
aebda7ec80 btcOperator v1.0.14: multisig-bech32 (p2wsh) 2022-11-24 03:25:52 +05:30
sairajzero
7a6a02f2b6 Update lib.js
- support for multisig-bech32 (p2wsh)
2022-11-24 03:25:35 +05:30
sairajzero
9a487f1605 Fix: signing for multisig bech32 (p2wsh) 2022-11-24 03:16:05 +05:30