Commit Graph
100 Commits
Author SHA1 Message Date
Vlad StanandGitHub daf5768d52 fix: remove user from model (#1067) 2022-10-21 14:49:17 +02:00
Vlad StanandGitHub 9de38f908b fix: wallet not found error (#1063) 2022-10-20 16:40:23 +02:00
Vlad StanandGitHub 7711387d64 fix: use bigint for amounts in postgres (#1030) 2022-10-07 14:23:57 +02:00
Vlad Stan 463941ec94 fix: always include change output for fee 2022-09-28 10:33:43 +03:00
Vlad Stan a8b90bd595 fix: close serial port when re-pairing fails 2022-09-27 17:35:27 +03:00
Vlad Stan f1670c3153 chore: version bump 2022-09-27 17:20:33 +03:00
Vlad Stan 649c653836 fix: do not show command data in logs 2022-09-27 17:19:32 +03:00
Vlad Stan 2b56efa2b6 fix: paired devices list 2022-09-27 17:15:12 +03:00
Vlad Stan d5f78e83d9 chore: update created by 2022-09-27 17:15:12 +03:00
Vlad Stan 80a62569f9 fix: wait for connection to init 2022-09-27 17:15:12 +03:00
Vlad Stan 6e405d1fc4 fix: output address on confirmation based on selected network 2022-09-27 17:15:12 +03:00
Vlad Stan c30ead3d9b feat: seed input: autocomplete and validate words 2022-09-20 15:49:03 +03:00
Vlad Stan 7a243105f9 feat: add info message for Console 2022-09-20 10:50:48 +03:00
Vlad Stan 282ab31989 chore: version bumb 2022-09-19 17:14:08 +03:00
Vlad Stan 3342be0b16 feat: update word position on device button click 2022-09-19 17:11:57 +03:00
Vlad Stan 7ee6d09585 feat: add link for hardware-wallet browser flash 2022-09-13 16:24:30 +03:00
Vlad Stan a8951f5b48 feat: show QR code for descriptor and xpub 2022-09-09 18:40:31 +03:00
Vlad Stan d965457b92 feat: show seed word in browser (for devices with no display) 2022-09-09 17:47:12 +03:00
Vlad Stan f14689fb60 feat: do not allow taproot inputs to be sent for signing 2022-09-09 17:06:36 +03:00
Vlad Stan d77619279d chore: code clean-up 2022-09-09 16:28:20 +03:00
Vlad Stan 8c87e84b68 feat: show address details on device 2022-09-09 16:01:53 +03:00
Vlad Stan c432671ab7 chore: fix typo 2022-09-09 16:01:53 +03:00
Vlad Stan 4368422b5c feat: show version
Helps when users report issues
2022-09-09 16:01:53 +03:00
Vlad Stan 2704552685 fix: type can be None due to migration issue 2022-09-09 11:55:12 +03:00
Vlad Stan 9bbcd28452 feat: UI improvements and fixes 2022-08-22 10:09:26 +03:00
Vlad Stan d08b7455e7 feat: add passphrase support 2022-08-22 09:04:16 +03:00
Vlad Stan 739646f702 fix: show message when device not paired 2022-08-19 18:54:54 +03:00
Vlad Stan 95e7633e19 fix: await async method 2022-08-19 18:05:05 +03:00
Vlad Stan 5b59cdcd0d feat: buttonConfig pins are optional 2022-08-19 17:49:01 +03:00
Vlad Stan 83f998fe37 feat: remember paired devices 2022-08-19 14:59:59 +03:00
Vlad Stan 713909292e chore: format code 2022-08-19 08:51:57 +03:00
Vlad StanandGitHub fb7030c30f Merge branch 'main' into secure_communication 2022-08-19 01:42:17 -04:00
Vlad Stan 218ee77acd feat: handle forced logout 2022-08-18 18:57:20 +03:00
Vlad Stan 90938e89e1 feat: show pairing code 2022-08-18 17:54:26 +03:00
Vlad Stan d8d4d4d057 feat: add buttons config 2022-08-18 16:33:10 +03:00
Vlad Stan 61d3ca8c0b feat: hand pairing response 2022-08-18 10:32:56 +03:00
Vlad Stan e37fc0b898 fix: check-paring message 2022-08-18 09:01:05 +03:00
Vlad Stan faa9a017a4 refactor: rename command 2022-08-18 08:49:46 +03:00
Vlad Stan fb60673f67 feat: add ping command 2022-08-18 08:38:40 +03:00
Vlad Stan f73f5a90c9 feat: only allow DH key exchange in the first 60 seconds 2022-08-16 14:08:04 +03:00
Vlad Stan 7c796f428a feat: allow COMMAND_PASSWORD_CLEAR in clear text 2022-08-16 12:16:09 +03:00
Vlad Stan 32bb59255d feat: restore takes both the password and the seed as args 2022-08-15 15:59:49 +03:00
Vlad Stan 01d2db5a1b fix: bad command for restore 2022-08-15 15:43:35 +03:00
Vlad Stan a32754610a feat: use random IV for each request 2022-08-12 16:52:55 +03:00
Vlad Stan 19dfef6044 fix: help command 2022-08-12 15:55:19 +03:00
Vlad Stan 1c03b28b77 feat: add more logging for HWW 2022-08-12 15:29:48 +03:00
Vlad Stan 58ab68b876 feat: use aes lib foe encryption 2022-08-12 15:12:03 +03:00
Vlad Stan e6c8865eca feat: decrypt data from HWW 2022-08-12 14:12:40 +03:00
Vlad Stan 174cc28fe1 feat: special log for hww 2022-08-12 12:07:41 +03:00
Vlad Stan 3f71df7829 feat: use external aes lib 2022-08-12 10:25:54 +03:00
Vlad Stan e20cfd3e6d fix: handle serial port disconnect 2022-08-11 15:06:32 +03:00
Vlad Stan 6b57c8b2a7 chore: code format 2022-08-11 14:31:14 +03:00
Vlad Stan e884e3b003 fix: look&feel on small screens 2022-08-11 14:22:14 +03:00
Vlad Stan 3d1ea76676 feat: add Copy button for addresses 2022-08-11 13:20:29 +03:00
Vlad Stan a6fba27554 fix: address link to mempool.space 2022-08-11 13:02:02 +03:00
Vlad Stan f24149050d feat: encrypt outgoing commands 2022-08-11 08:59:06 +03:00
Vlad Stan 6d4116b049 feat: working version. commit not to lose 2022-08-10 16:53:39 +03:00
Vlad StanandGitHub 1f139884fe WatchOnly Extension - add Serial Port communication (#839)
* feat: add `Share PSBT` button with options

* feat: add basic communication via the serial port

* chore: code format

* feat: send data to and from serial port

* fix: port disconnect

* feat: handle psbt extract

* feat: show signed transaction details

* fix: handle Connect/Disconnect failure state

* feat:small UI improvements

* feat: broadcast transaction (partial solution)

* feat: integrate psbt response from HWW

* feat: login and send commands to HWW

* feat: ui improvements

* feat: ui/ux improvements

* feat: more small UI impreovemsnts

* feat: simplify UI

* feat: add `help` command

* feat: add wipe command

* feet: add `seed` command

* feat: add `restore` command

* feat: always show PSBT input text (for outside PSBTs)

* feat: show spinner while signing tx

* feat: hide panels after transaction is broadcast

* feat: basic use of custom components

* refactor: move components one folder up

* refactor: extract wallet-config

* refactor: extract `wallet-list` component

* refactor: clean-up

* chore: code format html component files

* refactor: extract address-list component

* refactor: extract `history` component

* refactor: extract `utxo-list` component

* feat: UI/UX improvements

* feat: partial payment redesign

* refactor: rename `fee` to `fee-rate`

* refactor: rename component

* refactor: extract `send-to` component

* refactor: payment: first migration

* fix: init `sendToList`

* fix: change address

* fix: change address and `Select All` coins

* feat: show custom fees & two way binding for addresses

* fix: scanAddressesWithAmount

* fix: max amount

* fix: coin selection mode

* chore: code clean-up

* feat: shuffle the UI

* fix: change amount

* feat: update tx size in real time

* fix: coin selection

* fix: show erro messages

* fix: psbt generation

* refactor: move serial port logic

* refactor: payment component

* refactor: code clean-up; use `slot` for `serial-signer`

* feat: toggle serial port

* feat: add Disconnect command

* feat: prompt for `Connect` and `Login` before signing

* refactor: send psbt to device

* feat: extract signed transaction

* refactor: code clean-up

* feat: show auth green icon

* chore: code clean-up

* feat: show console

* feat: allow `Connect` from dropdown menu

* fix: stop if serial port cannot be open

* feat: confirm outputs and fee

* feat: add cancel command

* fix:  add `sats-denominated` for confirmations

* feat: wait for HWW to authenticate, then open dialog

* feat: share PSBT as text

* refactor: extract `refreshAddresses`

* feat: small UI improvements

* feat: add default `Mainnet` network

* feat: fix mempool endpint

* feat: propagate config update only when explicitly updated

* feat: add network for wallet accounts

* fix: stop scanning when network changed

* chore: code clean-up

* chore: code clean-up

* feat: show hardware device Xpub option

* fix: handle failed to parse psbt

* feat: add accounts using the HWW

* fix: testnet is in the bip32 derivation path

* feat: add spinner while wallet account is created

* fix: check network and masterpub for duplicate accounts

* feat: integrate transaction broadcast

* feat: add password confirmation for `Wipe` and `Restore`

* fix: fingerprint is not unique per account (it is the fingerprint of the master)

* chore: code clean-up, remove `masterpub_fingerprint`

* fix: account name diplay

* chore: code format

* fix: memppol links

* fix: shortcut buttons

* fix: note update

* chore: code format

* chore: clean-up rebase left overs

* chore: clean-up

* feat: less technical labels for addresses

* feat: add serial port config params

* fix: address type selection

* chore: drop `mempool` table

* fix: change & fee value

* fix: handle no input signed scenario

* fix: sat/btc unit

* fix: small UI stuff

* doc: update the readme

* Update README.md
2022-08-09 11:00:09 +02:00
Vlad StanandGitHub 63849a0894 Generalize conv.py (#849)
* feat: generalize the script for  `sqlite` to `postgres`

* fix: revert db connection params

* doc: remove manual conversion docs

* chore: fix formatting

* fix: add back instructions for `mock_data.zip`

* fix: exclude SQLite tables from migration

* fix: rename `your_extension.db` to `your_extension.sqlite3`
2022-08-09 10:45:50 +02:00
Vlad StanandGitHub 1f158dfd03 Update README.md 2022-08-05 16:32:03 +03:00
Vlad Stan ac203046a6 doc: update the readme 2022-08-05 16:31:29 +03:00
Vlad Stan 8075503566 fix: small UI stuff 2022-08-04 15:19:03 +03:00
Vlad Stan e55044da5a fix: sat/btc unit 2022-08-04 14:09:42 +03:00
Vlad Stan 337234cb0c fix: handle no input signed scenario 2022-08-04 14:04:49 +03:00
Vlad Stan 40ca51af0e fix: change & fee value 2022-08-04 13:47:20 +03:00
Vlad Stan a0450cbdd9 chore: drop mempool table 2022-08-04 12:19:31 +03:00
Vlad Stan 798b8e5fdf fix: add network column for migration 2022-08-04 12:01:46 +03:00
Vlad Stan 48ab496cb4 fix: address type selection 2022-08-04 11:05:27 +03:00
Vlad Stan 4ab43e0743 feat: add serial port config params 2022-08-04 10:11:06 +03:00
Vlad Stan b46ec8f149 feat: less technical labels for addresses 2022-08-04 08:06:17 +03:00
Vlad Stan 05b758a784 chore: clean-up 2022-08-03 14:43:31 +03:00
Vlad Stan 6c332ce0c5 chore: clean-up rebase left overs 2022-08-03 13:54:34 +03:00
Vlad Stan 828e4a78d1 chore: code format 2022-08-03 13:50:59 +03:00
Vlad Stan f1976e624d fix: note update 2022-08-03 13:50:07 +03:00
Vlad Stan f11a51a4cc fix: shortcut buttons 2022-08-03 13:50:07 +03:00
Vlad Stan d14fbd68aa fix: memppol links 2022-08-03 13:50:07 +03:00
Vlad Stan d078b7b1f2 chore: code format 2022-08-03 13:50:07 +03:00
Vlad Stan b83f19e5d1 fix: account name diplay 2022-08-03 13:50:07 +03:00
Vlad Stan 04327a98cb chore: code clean-up, remove masterpub_fingerprint 2022-08-03 13:50:07 +03:00
Vlad Stan cb137e7142 fix: fingerprint is not unique per account (it is the fingerprint of the master) 2022-08-03 13:50:07 +03:00
Vlad Stan 2ae4df70ea feat: add password confirmation for Wipe and Restore 2022-08-03 13:50:07 +03:00
Vlad Stan c407e054fd feat: integrate transaction broadcast 2022-08-03 13:50:07 +03:00
Vlad Stan a030b20971 fix: check network and masterpub for duplicate accounts 2022-08-03 13:50:07 +03:00
Vlad Stan 35ab1e7d9c feat: add spinner while wallet account is created 2022-08-03 13:50:07 +03:00
Vlad Stan f202d80241 fix: testnet is in the bip32 derivation path 2022-08-03 13:50:07 +03:00
Vlad Stan 2ac8ee95b0 feat: add accounts using the HWW 2022-08-03 13:50:07 +03:00
Vlad Stan 73265a9951 fix: handle failed to parse psbt 2022-08-03 13:50:07 +03:00
Vlad Stan ae479ee0d0 feat: show hardware device Xpub option 2022-08-03 13:50:07 +03:00
Vlad Stan a50fc2d4ae chore: code clean-up 2022-08-03 13:50:07 +03:00
Vlad Stan 6f19dab416 chore: code clean-up 2022-08-03 13:50:07 +03:00
Vlad Stan 5697bd3b31 fix: stop scanning when network changed 2022-08-03 13:50:07 +03:00
Vlad Stan 6150b767e4 feat: add network for wallet accounts 2022-08-03 13:50:07 +03:00
Vlad Stan 4671954896 feat: propagate config update only when explicitly updated 2022-08-03 13:50:07 +03:00
Vlad Stan 657ed7a37c feat: fix mempool endpint 2022-08-03 13:50:07 +03:00
Vlad Stan 51c8b58fdb feat: add default Mainnet network 2022-08-03 13:50:07 +03:00
Vlad Stan 68f45c471e feat: small UI improvements 2022-08-03 13:50:07 +03:00
Vlad Stan 6de8b0b06d refactor: extract refreshAddresses 2022-08-03 13:50:07 +03:00
Vlad Stan 5e20c4314b feat: share PSBT as text 2022-08-03 13:50:07 +03:00
Vlad Stan 5414e3e772 feat: wait for HWW to authenticate, then open dialog 2022-08-03 13:50:07 +03:00
Vlad Stan 1089be017b fix: add sats-denominated for confirmations 2022-08-03 13:50:07 +03:00