Commit Graph
100 Commits
Author SHA1 Message Date
Vlad Stan c83b4b6737 chore: add extension by default 2022-10-12 08:27:14 +03:00
Vlad Stan 6accf8f7ee chore: code format 2022-10-12 08:03:23 +03:00
Vlad Stan 8f40422f88 feat: try to accept tokens 2022-10-11 21:37:08 +03:00
Vlad Stan ccec86ec7f feat: show receive dialog 2022-10-11 18:44:28 +03:00
Vlad Stan 5bf225acd4 fix: do not stop secret search 2022-10-11 18:28:07 +03:00
Vlad Stan 94dcfdb16c feat: burn in hell token 2022-10-11 18:24:29 +03:00
Vlad Stan ae9ab55fae chore: aahaaa\ 2022-10-11 18:09:07 +03:00
Vlad Stan a95e62406d feat: select coin limitted 2022-10-11 17:42:47 +03:00
Vlad Stan b2ca749ff3 refactor: re-order methods 2022-10-11 15:55:18 +03:00
Vlad Stan 376b914c7c feat: send tokens UI 2022-10-11 15:36:24 +03:00
Vlad Stan d45dfbd283 feat: show balance 2022-10-11 15:06:10 +03:00
Vlad Stan 44d04f1364 refactor: simplify code 2022-10-11 14:59:20 +03:00
Vlad Stan 1c0a889d97 feat: simple tokenList 2022-10-11 14:55:34 +03:00
Vlad Stan f0cc78dc47 feat: add tabs 2022-10-11 14:05:08 +03:00
Vlad Stan 1f386a7bc3 feat: sell fixed amount token 2022-10-11 13:51:35 +03:00
Vlad Stan 5f43512594 chore: remove mock data 2022-10-10 23:06:16 +03:00
Vlad Stan 422711649f feat: secret stuff 2022-10-10 22:56:03 +03:00
Vlad Stan 8af4f95cc1 chore: parse invoice 2022-10-10 15:05:32 +03:00
Vlad Stan 9fd6a26ec5 chore: code clean-up 2022-10-10 14:25:25 +03:00
Vlad Stan 7f20755c5a chore: here and there 2022-10-10 14:22:00 +03:00
Vlad Stan 07eea85677 refactor: extract store functions 2022-10-10 13:58:20 +03:00
Vlad Stan 5087612ecf refactor: rename 2022-10-10 13:54:52 +03:00
Vlad Stan 4a046d5745 refactor: renamings 2022-10-10 13:45:53 +03:00
Vlad Stan 13a46c1ebe chore: do not loose stuff 2022-10-10 13:06:11 +03:00
Vlad Stan f2c43ba51b feat: stupid random tests 2022-10-10 12:42:34 +03:00
Vlad Stan 7eaf28f6fa feat: show status 2022-10-10 09:35:47 +03:00
Vlad Stan feab3b3a20 chore: code clean-up 2022-10-10 09:21:29 +03:00
Vlad Stan 016534600e refactor: renamings 2022-10-10 09:19:53 +03:00
Vlad Stan 33522204d6 feat: store tokenBuys 2022-10-10 09:07:15 +03:00
Vlad Stan 67d824b610 feat: basic buys table 2022-10-08 14:54:48 +03:00
Vlad Stan e44f614490 feat: check mobile UI 2022-10-08 14:41:45 +03:00
Vlad Stan 9231147063 feat: ui stuff 2022-10-08 14:28:27 +03:00
Vlad Stan c4a951eca2 feat: show mint invoice dialog 2022-10-08 14:21:49 +03:00
Vlad Stan bcbe66d607 feat: random ui update 2022-10-08 12:30:29 +03:00
Vlad Stan c921dde066 chore: fix unused endpoint path 2022-10-08 11:51:07 +03:00
Vlad Stan 849178bb87 feat: add split logic 2022-10-08 11:38:14 +03:00
Vlad Stan 468d1513ae fix: check invoice amount against blinded message amount 2022-10-07 20:27:40 +03:00
Vlad Stan 0555b4c074 fix: enpoints 2022-10-07 19:44:06 +03:00
Vlad Stan 20ca11a004 feat: make endpoints compatible with cashu client 2022-10-07 18:18:46 +03:00
Vlad Stan 01877d3b1d feat: melt tokens 2022-10-07 17:44:02 +03:00
Vlad Stan c8d5a0cae4 feat: update invoice status 2022-10-07 15:18:09 +03:00
Vlad Stan 03313e975c fix: mint format 2022-10-07 15:09:26 +03:00
Vlad Stan 94aca31c32 chore: code clean-up 2022-10-07 14:57:12 +03:00
Vlad Stan 9b5a8cf6f4 fix: uniq promise 2022-10-07 14:53:13 +03:00
Vlad Stan 8f32e56b71 fix: don't even try to refactor 2022-10-07 14:51:06 +03:00
Vlad Stan 14e9df1d3e feat: return promises 2022-10-07 13:44:26 +03:00
Vlad Stan 95ebd179ad feat: check paid invoices 2022-10-07 11:47:37 +03:00
Vlad Stan b27d31b381 feat: add wallet check 2022-10-07 11:18:17 +03:00
Vlad Stan 33212e0b73 chore: format 2022-10-07 11:17:02 +03:00
Vlad Stan 91a981a9ac feat: store generated invoices per mint 2022-10-07 11:08:46 +03:00
Vlad Stan 1ea8593de1 feat: generate invoice for amount 2022-10-07 10:23:42 +03:00
Vlad Stan df0ddc1c45 feat: generate keys 2022-10-07 10:09:16 +03:00
Vlad Stan 7ee6d09585 feat: add link for hardware-wallet browser flash 2022-09-13 16:24:30 +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