2302 Commits

Author SHA1 Message Date
pythcoiner
02e28bbd3e
gui: implement Daemon.update_wallet_metadata() for lianad 2025-03-19 07:26:01 +01:00
pythcoiner
6988fa40c9
gui: implement Daemon.update_deriv_indexes() 2025-03-19 07:26:01 +01:00
pythcoiner
39f71d3de8
lianad: add update_deriv_indexes() command 2025-03-19 07:26:01 +01:00
pythcoiner
4c2adec67c
backup: serialize PSBT w/ Psbt::to_string() instead Psbt::serialize_hex() 2025-03-19 07:26:00 +01:00
pythcoiner
31f834f41d
backup: default deserialization 2025-03-19 07:26:00 +01:00
pythcoiner
4ba6486645
gui: add import/export features in settings 2025-03-19 07:26:00 +01:00
pythcoiner
325e2dc9b9
backup: add chain tip 2025-03-19 07:26:00 +01:00
pythcoiner
c4585e8efe
backup: add backup & Liana versions 2025-03-19 07:25:59 +01:00
pythcoiner
61793b35ce
backup: backup coins 2025-03-19 07:25:59 +01:00
pythcoiner
68bb742755
installer: add wallet export feature at descriptor backup step 2025-03-19 07:25:59 +01:00
pythcoiner
b0e560c0b5
export: make ExportModal::view() generic 2025-03-19 07:25:58 +01:00
pythcoiner
5dcecc5542
gui: make ExportModal.daemon optionnal 2025-03-19 07:25:58 +01:00
pythcoiner
530b8c12bc
gui: clippyfy 2025-03-19 07:25:58 +01:00
pythcoiner
ab3c8007ba
gui: implement ExportModal.modal_title() 2025-03-19 07:25:58 +01:00
pythcoiner
f41de56e38
gui: add import/export features in settings 2025-03-19 07:25:57 +01:00
pythcoiner
f1b62074d3
gui: implement backup 2025-03-19 07:25:57 +01:00
pythcoiner
f7ed341d28
gui: Daemon trait => add receive and change indexes to GetInfoResult 2025-03-18 17:38:41 +01:00
pythcoiner
86313f5282
export: implement export labels using BIP-0329 2025-03-18 17:38:40 +01:00
edouardparis
6d26f5278d
Merge #1588: Reword warning for non-unique provider key kind
d4dd7b3dbf4ab287f7e289b5b49d244fb6b44868 Reword warning for non-unique provider key kind (Michael Mallan)

Pull request description:

  This simplifies the warning message for the user in case a fetched provider key (more precisely, any key with the same fingerprint) has already been added to the wallet (as a different key kind).

ACKs for top commit:
  edouardparis:
    ACK d4dd7b3dbf4ab287f7e289b5b49d244fb6b44868

Tree-SHA512: b009955694a96e1a8929fbbd5a6254bc1ec227e0ad3de29018738c5aaa868f64892f84a726cc87fa1a72ef15bc290fed2fa971a0516b058a02c143b9c26a6803
2025-03-18 15:51:05 +01:00
edouardparis
e58370c3bc Changelog for v10 2025-03-18 11:36:01 +01:00
Michael Mallan
d4dd7b3dbf
Reword warning for non-unique provider key kind 2025-03-17 19:35:29 +00:00
pythcoiner
38eed1b881
lianad: add feature to dump labels in BIP-0329 format 2025-03-15 09:59:18 +01:00
pythcoiner
158651ebe7
import: implement import from file for psbt & descriptor 2025-03-15 09:59:11 +01:00
pythcoiner
2b9324993a
export: implement export for psbt 2025-03-15 09:59:07 +01:00
pythcoiner
baf4e75efe
export: implement export for descriptor 2025-03-15 09:59:00 +01:00
pythcoiner
a3bf250696
gui: make 'ExportModal' generic 2025-03-15 09:58:48 +01:00
pythcoiner
f13cd1fe73
export: rename 'State' into 'Export' and separate export logic 2025-03-15 09:58:40 +01:00
edouardparis
96570cd4cc
Merge #1583: Fetch and redeem provider keys using tokens
52e552313f1e7cadad08bf7402660efee0f34441 Fetch and redeem provider keys using tokens (Michael Mallan)

Pull request description:

  This PR implements #1578 and #1579.

  Please note the following:
  - I've left the cosigner option enabled for initial testing as part of this PR, but will disable it afterwards (#1584 ).
  - Using cosigner keys is currently possible in all templates, including the Simple Inheritance template, but given that there is only one key per path in this template, it would not be possible to continue with a cosigner key selected. I could disable the option to select cosigner keys in this template in a follow-up PR, but in any case there will be a warning so the user will be aware of the problem.
  - Safety net paths can only be added in the Custom template for now.
  - ~~This cannot yet be tested with Liana Connect.~~ Can be tested on Signet with Liana Connect.
  - ~~The URL for fetching & redeeming keys is still localhost and I will update it once the service is ready.~~
  - ~~The GUI layout needs to be refined as part of this PR.~~ No further GUI layout changes planned.

  Please also note that I've unhelpfully squashed everything into a single commit. I hope to be able to split these out into smaller commits, but wanted to check the overall approach first and there may also be some conflicts with other PRs.

ACKs for top commit:
  edouardparis:
    ACK 52e552313f1e7cadad08bf7402660efee0f34441

Tree-SHA512: 7a6ff05c04e2c29d775175576fae725a8988696e0eca600b98b012265e561fad6acb1c90a3c3925127cd021b3758358db84f0687d8f1b7153e45fd7f72326600
2025-03-13 18:09:55 +01:00
Michael Mallan
52e552313f
Fetch and redeem provider keys using tokens 2025-03-13 16:02:26 +00:00
edouardparis
759411cfce
Merge #1580: Fix export subscription
a12bb0b5a4ff065c90c2cb1c9705f651af72d384 gui: add logs when export_subscription() fail to send a message (pythcoiner)
aa0c5d303a2aa925c0498ebd37ef1aa295eddff1 gui: minor cleanup in export_subscription() (pythcoiner)
3513226af0f42c465548ba6076573c063e6733f2 gui: fix the export subscription being stuck in Running state (pythcoiner)
85024d64bdf3133c9ef4f593ef9070df0958e702 gui: ExportModal.update() pass an ExportMessage instead app::message::Message in order to be used in a more generic way (pythcoiner)

Pull request description:

  fix a bug introduced in #1550 where the export subscription were stuck in `Running` state & minor cleanups

ACKs for top commit:
  edouardparis:
    ACK a12bb0b5a4ff065c90c2cb1c9705f651af72d384

Tree-SHA512: 62dd0bbcb46a5d53d959af2a4d924c7b4308b985c3e26d0c2bce5a99607fa4934a393447d7044fb503f89a8a7c2208365d129f1bb191a0a91b60036f584a6d35
2025-03-04 17:42:45 +01:00
pythcoiner
a12bb0b5a4
gui: add logs when export_subscription() fail to send a message 2025-03-02 13:15:29 +01:00
pythcoiner
aa0c5d303a
gui: minor cleanup in export_subscription() 2025-03-02 13:15:29 +01:00
pythcoiner
3513226af0
gui: fix the export subscription being stuck in Running state 2025-03-02 13:15:28 +01:00
pythcoiner
85024d64bd
gui: ExportModal.update() pass an ExportMessage instead app::message::Message in order to be used in a more generic way 2025-03-02 13:15:28 +01:00
edouardparis
50f102c653
Merge #1575: use ring provider with rustls in electrum client
b5049f0dde88eead2f19e847cb10eb00be59d6ea add source for reproducible build (Michael Mallan)
7a1d87fb4c90a05dbee83016929cc04d652e0921 use ring provider with rustls in electrum client (Michael Mallan)

Pull request description:

  This uses a modified version of bdk_electrum 0.15 (corresponding to BDK tag v1.0.0-alpha.13) that enables the use of the ring provider in rustls.

  The default aws-lc-rs provider breaks the reproducible build.

ACKs for top commit:
  edouardparis:
    ACK b5049f0dde88eead2f19e847cb10eb00be59d6ea

Tree-SHA512: 80d6e7125fda8dd6a769b3782775f32e75784f1f145662992ad9c32a597f509f0a99d7ac85314fd0aee4d748fd06762da209435b668f9e2714152318128518f2
2025-02-26 12:32:23 +01:00
Michael Mallan
b5049f0dde
add source for reproducible build 2025-02-26 09:53:22 +00:00
edouardparis
400598520a
Merge #1577: gui: refactor settings view
22a9b56b5badb31e6570e49550c03973780bdbbd gui: refactor settings view (pythcoiner)

Pull request description:

  This PR intruduce 2 new helper functions in order avoid duplicate code and increase readability:
   - `header()`
   - `settings_section()`

ACKs for top commit:
  edouardparis:
    ACK 22a9b56b5badb31e6570e49550c03973780bdbbd

Tree-SHA512: 406b4b1d2764b0e33f96720260edf99d11339f315f52849ac205cdd09143abf68187091603adf19eebad9259665992121cdff24ca1da17126af7fe07d8de8043
2025-02-26 10:18:59 +01:00
pythcoiner
22a9b56b5b
gui: refactor settings view 2025-02-25 17:38:40 +01:00
Michael Mallan
7a1d87fb4c
use ring provider with rustls in electrum client
This uses a modified version of bdk_electrum 0.15 (corresponding
to BDK tag v1.0.0-alpha.13) that enables the use of the ring
provider in rustls.

The default aws-lc-rs provider breaks the reproducible build.
2025-02-24 17:23:59 +00:00
edouardparis
22c2a234a9
Merge #1570: Add copy paste overlay buttons to text_input
74f10a564fdb89c77c0a9470e8c9aa0ff9d4bd38 Add overlay with copy paste to text_input (edouardparis)
64dc91b578704bdbe1c2ac5081fa1d8aeaa9008e fork widget text_input (edouardparis)

Pull request description:

  We add an overlay to the fork of the text_input widget to display "Paste" when user clicks on Right click.
  When a text is selected, the button Copy is added to the overlay choices.
  ![20250211_14h38m41s_grim](https://github.com/user-attachments/assets/7c2c7532-c8a9-48c1-a094-3182b00ed302)
  ![20250211_14h39m04s_grim](https://github.com/user-attachments/assets/875a2cb2-1c98-419b-a573-c67f525c3a81)

ACKs for top commit:
  jp1ac4:
    tACK 74f10a564fdb89c77c0a9470e8c9aa0ff9d4bd38.

Tree-SHA512: c063507fdb5d973f624703712f859a81217c53a735595f83a6514b8e079246be6a7f140167768b2625de37671c4c7f7c187f58612f52f414a689be3453e3faf8
2025-02-12 16:57:32 +01:00
edouardparis
74f10a564f Add overlay with copy paste to text_input 2025-02-12 16:22:43 +01:00
edouardparis
64dc91b578 fork widget text_input 2025-02-12 16:22:43 +01:00
edouardparis
27570b4de9
Merge #1569: gui(installer): widen button to fit text on single line
8565dd31a9cc9b284601564671d64f9e2fc39193 gui(installer): widen button to fit text on single line (Michael Mallan)

Pull request description:

  This fixes #1568.

ACKs for top commit:
  edouardparis:
    ACK 8565dd31a9cc9b284601564671d64f9e2fc39193

Tree-SHA512: 4795692a8453609e3977ae817516e746b59f6c6fce8a10c9dd2ff6fd2385f959f2f3c457137065261d9bf39e713a260c586e9b01bab75fa396caac2371ce3679
2025-02-11 14:58:54 +01:00
Michael Mallan
8565dd31a9
gui(installer): widen button to fit text on single line 2025-02-11 10:04:24 +00:00
edouardparis
b1354be726
Merge #1567: gui(installer): fix misalignment in template intro images
449d54f8532a866607346c87c09a07a5f40afc16 gui(installer): fix misalignment in template intro images (Michael Mallan)

Pull request description:

  This is to fix #1486 using the images provided in that issue.

ACKs for top commit:
  edouardparis:
    ACK 449d54f8532a866607346c87c09a07a5f40afc16

Tree-SHA512: 75a50d82a1434bb3850edfe81b05b6476194f3e0875031235f4c1000c1fa3ee96fbddec524bd3757615458e94445b1b8cec9f36aeb60bfffa56aa6e99b199d62
2025-02-10 16:01:20 +01:00
edouardparis
a46cb5f8b4
Merge #1565: chore: fix some typos
37f0d543604b41254c466f3b3ddd3b16b42f560c chore: fix some typos (zoupingshi)

Pull request description:

ACKs for top commit:
  jp1ac4:
    ACK 37f0d543604b41254c466f3b3ddd3b16b42f560c. Thanks!

Tree-SHA512: ce04a47a018be1cac92dcadc67e00330cee1d4767c37cedda9daa88164988365c97c17bf5e65480b89dcc7e86855d48d94e69889e3c385501c7eeb3cd6139141
2025-02-10 15:39:28 +01:00
Michael Mallan
449d54f853
gui(installer): fix misalignment in template intro images 2025-02-10 14:19:41 +00:00
edouardparis
4dc10d1d7c
Merge #1566: gui(installer): allow deletion of any primary key and prevent deletion of all recovery paths
99ba17d0920d9d00a6d0df6d3c5169fe524b1363 gui(installer): allow deletion of any prim key if more than one (Michael Mallan)
ca3bd63667c7c357e899aeceb91d7adb512d65eb gui(installer): prevent deletion of all recovery paths (Michael Mallan)

Pull request description:

  This is to fix #1411 and #1407, which relate to whether primary or recovery keys, respectively, can be deleted in the installer.

  It lets a user delete any primary key as long as there are two or more.

  It lets a user delete a key from a recovery path only if there are at least two recovery paths or at least two keys in the given recovery path.

ACKs for top commit:
  edouardparis:
    ACK 99ba17d0920d9d00a6d0df6d3c5169fe524b1363

Tree-SHA512: 3838c29d92b1f0f5bd60cee303771e98434382c4fcf2a38a013b86a66cd9943dc299129534530469a0cb7c3eb62929b4fedb346e40d90fb3fd18b27c4c376fb4
2025-02-10 15:18:43 +01:00
Michael Mallan
99ba17d092
gui(installer): allow deletion of any prim key if more than one 2025-02-10 13:29:52 +00:00
Michael Mallan
ca3bd63667
gui(installer): prevent deletion of all recovery paths 2025-02-10 11:19:49 +00:00