Commit Graph

536 Commits

Author SHA1 Message Date
sairajzero
6f9f44c82e Adding multisig bech32 signing 2022-11-21 00:04:51 +05:30
sairajzero
b7254bc3ac btcOperator v1.0.13c bug fix
Fixed: tx outputs with 0 value (such as change amount) not removed
2022-11-20 19:46:22 +05:30
sairajzero
006ff9f0a9 btcOperator v1.0.13b: Fee from receiver
- Added: fee_from_receiver option to create transaction.
- change_address and fee_from_receiver are passed as options for createTx, createSignedTx, sendTx and createMultiSigTx
- Fixed: getTx not rejecting properly when txid is invalid
2022-11-18 17:49:03 +05:30
sairaj mote
9dd075757e Minor UI tweaks 2022-11-15 00:10:24 +05:30
sairajzero
663dfe2d54 floCloudAPI v2.4.3
- Fixed a rare bug where array has empty value
- now `null` is supported by objectData update (ie, objects can now have null as value)
2022-11-06 04:27:24 +05:30
sairaj mote
638aa6c125 copywriting changes 2022-10-27 15:46:38 +05:30
sairajzero
bffb130bd4 floBlockchainAPI v2.3.3d
- renamed sender and receiver options to senders and receivers (bug fix)
2022-10-26 20:17:48 +05:30
sairaj mote
951697a34b code refactoring 2022-10-26 18:42:44 +05:30
sairaj mote
9a7b55c381 Added standard and bech32 conversion UI logic 2022-10-26 14:07:09 +05:30
sairajzero
d21db616da btcOperator v1.0.12
- Changed broadcastTx to coinb API to eliminate $.ajax requirement
- Set default value for fee=null (automatic fee) to createSignedTx and createMultiSigTx
2022-10-24 15:39:54 +05:30
5c0fbfe953
Update lib_btc.js 2022-10-18 19:07:25 +05:30
7b8764fd2c
Update lib_btc.js 2022-10-18 12:23:28 +05:30
7f402a375c
Update lib_btc.js 2022-10-18 09:54:40 +05:30
sairajzero
87f0260fe4 btcOperator v1.0.11
- Added createSignedTx: creates a signed tx (same as sendTx, but doesnt broadcast)
- Added transactionID: returns the txid of the tx_hex (or tx-object)
2022-10-18 04:43:53 +05:30
cb21c7f84b
decode of bech32multisig added 2022-10-17 13:48:21 +05:30
sairaj mote
5095dd5225 UI fix 2022-10-16 17:00:00 +05:30
sairaj mote
ae9f892b93 UI bug fix 2022-10-16 16:55:25 +05:30
sairajzero
c38b7257cf Minor fixes
floCrypto v2.3.3e
- Adding options args to toFloID function. options object accept std and/or bech properties. if specified only converts if given address are from specified version

floBlockchainAPI v2.3.3c
- Fixed: tx failing due to dust amount in change value
- readData: when passes tx option as true, now also gives senders and receivers (Set)

btcOperator v1.0.10b
- Fixed: minor bugs
2022-10-14 23:11:05 +05:30
49c6a30885
Update lib_btc.js 2022-10-10 17:49:00 +05:30
0b9a71a1a2
Update lib_btc.js 2022-10-10 17:46:53 +05:30
e9490c8b67
exposing encoding and decoding bech32 2022-10-10 17:35:36 +05:30
92c15c67a4
Updated scriptcode creator 2022-10-01 19:18:31 +05:30
sairajzero
7d84ded426 btcOperator v1.0.10a: broadcastTx resolves txid
- When broadcast is successful, txid is resolved
- sendTx also resolves txid due to the above change
2022-09-30 05:11:09 +05:30
eb3513a23f
Bux fix in Bitcoin signature
Signature updated to take into account sighash_type
2022-09-28 18:08:21 +05:30
17bd919673
Added simplified Bitcoin signature 2022-09-28 17:40:09 +05:30
cb56d36a14
Added ripmd160-sha256 double hash 2022-09-25 12:13:04 +05:30
8d07e1201c
Update lib_btc.js 2022-09-22 07:47:51 +05:30
34dd44e0bb
Update lib_btc.js 2022-09-22 07:40:53 +05:30
926f8150ec
Update lib_btc.js 2022-09-21 17:43:40 +05:30
sairaj mote
2b4e77c6ea Merge branch 'main' of https://github.com/ranchimall/btc-webwallet 2022-09-21 16:24:19 +05:30
sairaj mote
647fee26e6 bug fix 2022-09-21 16:23:27 +05:30
b9ac6d73f8
Modified double SHA256 to fit BIP143 2022-09-21 16:02:08 +05:30
4579562765
Added direct double SHA computation 2022-09-21 15:31:49 +05:30
1d08007754
minor bug fix
Added definition of curve when decompressing public key
2022-09-21 01:36:48 +05:30
sairaj mote
218f084abb minor bug fix 2022-09-21 00:24:22 +05:30
448299c3c8
Update lib_btc.js 2022-09-20 19:02:58 +05:30
974cf960fb
Utility functions added
Functions for easier Signature computation, transaction hash computation, signature verification
2022-09-20 16:44:27 +05:30
sairajzero
084ffe10e2 btcOperator v1.0.10: parseTransaction
- Added parseTransaction: parse the given transaction
Parameters:
tx : transaction hex (or tx object from coinjs.transaction)
Resolves: parsed object
2022-09-11 22:36:50 +05:30
sairajzero
39d34f6e8c floCloudAPI v2.4.2e
- Adding generalDataset to floGlobals: returns the filtered general data set. (Parameters type and options)
2022-09-04 04:09:27 +05:30
sairaj mote
1c3dabed86 minor UI fix 2022-08-28 22:17:54 +05:30
sairajzero
04aad28600 Improved auto-fee calc
- createTx and createMultiSigTx will now resolve an object with tx_hex and other values (amount, size, etc)
2022-08-25 03:04:56 +05:30
sairajzero
77ff76d787 Replacing Math.random with securedMathRandom 2022-08-22 22:06:14 +05:30
sairajzero
7b5a5e6bfe Bug fixes and improvements
floCrypto v2.3.3b
floCloudAPI v2.4.2d
floDapps v2.3.2d
2022-08-21 21:14:29 +05:30
sairajzero
67386fd69f Update btcOperator.js
- Added checkIfSameTx(tx1, tx2): checks if the transactions is of the same
2022-08-16 20:39:49 +05:30
sairajzero
dc19a4e565 Bug fixes: floBlockchainAPI and lib.js 2022-08-16 17:30:46 +05:30
sairajzero
f0a4837222 btcOperator v1.0.7c
- Fixed: createTransaction not returning promise
- Fixed: script not correctly added for multisig inputs
- Fixed: signTx throwing syntax error
- Added checkSigned(tx, bool?): check if the tx is signed or not. (bool is optional, default=true, if true returns a boolean value, else returns a detailed array of input's length)

- Fixed minor bugs in lib.js
2022-08-16 03:24:55 +05:30
sairajzero
6e5cdbd820 floCrypto v2.3.3b
- Added floCrypto.tmpID: generates a random floID with no private key (use this only for one-time id)
- Added toFloID(address): returns equivalent floID (btc-segwit address NOT supported)
- Fixed bug: legacy addresses of length 33 not working in verifyPubKey and validateAddr
2022-08-16 03:11:24 +05:30
sairajzero
36a4067d67 bug fix 2022-08-16 00:37:38 +05:30
sairajzero
45878e6ebe Update floDapps.js
- myFloID, myPubKey, myPrivKey will now return undefined when user not logged in
2022-08-14 18:38:29 +05:30
sairajzero
91e6b82387 btcOperator v1.0.7b
- Added: signTx
- Added multiSigAddress
2022-08-10 02:58:36 +05:30