Commit Graph

47 Commits

Author SHA1 Message Date
974cf960fb
Utility functions added
Functions for easier Signature computation, transaction hash computation, signature verification
2022-09-20 16:44:27 +05:30
sairaj mote
1c3dabed86 minor UI fix 2022-08-28 22:17:54 +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
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
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
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
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
sairajzero
44bd69c7c8 Adding Bootstrap-UI 2022-06-18 03:33:06 +05:30
sairajzero
fb914d2ae7 re-enabling segwit and bech32 in UI
- re-enabled segwit and bech32 address shown in generation and retrieval (signing issue fixed in prev commit)
- view address details: remove duplicate address shown in same tx
2022-06-17 04:11:56 +05:30
sairajzero
842006cfc9 Fixed segwit/bech32 signing issues
- Fixed segwit/bech32 signing (transaction  inputs)
- Added verifyKey: verify the private key for address
- sendTx: accepts privateKeyHex and WIF
- Fixed: change amount bug (due to float aggregation)
2022-06-17 04:08:42 +05:30
sairajzero
361c1752a7 Disabling segwit and bech32
- disabled segwit and bech32 address shown in generation and retrieval
(until broadcast issue if fixed for them)
2022-06-16 03:51:42 +05:30
sairajzero
520a97595a broadcast tx
- broadcast the rawtx via api (ajax)
- Check if the entered private key is WIF format of legacy address (sender)

UI update:
- View details: handle when tx has change sent back
- Change text-color to red when tx is unconfirmed
2022-06-15 03:26:37 +05:30
sairajzero
4186f085c7 Adding address formats
- Supported address formats: legacy, segwit, bech32
- View all address formats of key generation and retrieval
- View WIF of key generation
2022-06-14 21:29:22 +05:30
sairajzero
6a4c46ee74 view address-details
- check balance moved to address-details form
2022-06-10 03:42:36 +05:30
sairajzero
4dc6395b3a Adding base-UI
forms and functions for the following
- generate-address
- retrieve-address
- check-balance
- send-tx (backend not completed)
2022-06-10 02:35:25 +05:30
sairajzero
9175f9fb05 Adding btc_api module 2022-06-10 01:59:41 +05:30
sairajzero
f3ef411089 Adding libraries 2022-06-10 01:55:35 +05:30
sairajzero
a764587bc6 Initial commit 2022-06-10 01:51:05 +05:30