Commit Graph

3199 Commits

Author SHA1 Message Date
dni ⚡
3457ff101e
fix regtest (#867)
Co-authored-by: dni <dni.khr@gmail.com>
2022-08-12 21:05:13 +02: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
Arc
d1e1cbed41
Merge pull request #863 from motorina0/onchain_review_fixes
onchain extension - review & fix
2022-08-11 13:24:17 +01: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
calle
8dfb4329d1
ssl cert creation method using openssl (#860) 2022-08-10 10:32:43 +02:00
calle
05edd908f0
fix lnurlw balance_check (#854) 2022-08-09 12:48:10 +02:00
calle
4fc0a25d41
Mega-merge 4: Reenable LndWallet gRPC and use TrackPaymentV2 (#745)
* readd lndgrpc

* debug logging

* Use TrackPaymentV2

* /v2/router/track

* lnd_router_grpc

* flag for blocking check

* error handling

* fix name

* regtest lndgrpc

* new test pipeline

* fix env

* check for description hash

* remove unnecessary asserts for clarity

* assume that description_hash is a hash already

* no lock

* description hashing in backend

* restore bolt11.py

* /api/v1/payments with hex of description

* comment

* refactor wallets

* forgot eclair

* fix lnpay

* bytes directly

* make format

* mypy check

* make format

* remove old code

* WIP status check

* LND GRPC docs

* restore cln to main

* fix regtest

* import

* remove unused import

* format

* do not expect ok

* check ok

* delete comments
2022-08-09 11:49:39 +02:00
Vlad Stan
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 Stan
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
Tiago Vasconcelos
af8af54376
Fix/hotfix custom design (#850)
* allow to toggle custom desing on and off

* make custom design off by default, toggle custom design
2022-08-09 10:05:37 +02:00
Vlad Stan
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
calle
b83fb1d5d8
VoidWallet: return PaymentStatus(None) (#845) 2022-08-04 18:40:46 +02:00
calle
7fc1361475
cln invoice only int (#844) 2022-08-04 17:40:04 +02:00
calle
9b27c2da01
argparser respect boolean arguments (#842) 2022-08-04 16:37:48 +02: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
dni ⚡
48a57513f4
create new Dockerfile using poetry (#806)
* create new Dockerfile using poetry

* dont use unsure docker hub image

* add example env variable to docker command

* remove copy of lnbits, and order of commands

* add build.py for static files

* add compiled resources to docker ignore, so we don't accidently add it to image

* use generic python

* CMD with arguments

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-04 08:05:51 +02:00
Vlad Stan
b46ec8f149 feat: less technical labels for addresses 2022-08-04 08:06:17 +03:00
2624789
fa2a0ab1bd
Fix Get a withdraw link (#617) 2022-08-03 15:06:25 +02:00
calle
8535d70d36
Poetry dev (#837)
* black and isort for tests

* black and isort for build

* use poetry in Makefile, update pyproject.toml dependencies and add configs for black, pytest, mypy, isort there

* switching github workflow to poetry

* set mininum version to python 3.7

* fix tests

* add types-protobuf to dev packages

* fix cln regtest

* update docs

* try fix 1

* mypy fix2

* fix isort formatting workflow

* add prettier to dev docs

* multiple valid python version for pyproject

* update poetry.lock

* remove development installation, not needed anymore

* fix migration workflows

* format into one test

* fix yaml

* fix pipeline

* fix pipeline

* fix again

* fix

* rename checks

* remove venv tests

* venv test once

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-03 14:10:32 +02:00
Vlad Stan
05b758a784 chore: clean-up 2022-08-03 14:43:31 +03:00
calle
2edaa0ee03
Poetry: uvicorn with .env and command line arguments (#836)
* fixed poetry logs

* make isort happy

* Poetry: uvicorn .env and command line arguments

* restore commands.py

* format

* own it

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-03 13:16:50 +02: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