Commit Graph

32 Commits

Author SHA1 Message Date
Sander van Grieken 8cd95f1f7f qml: limit BIP39 cosigners script type to initial choice (bip39) or initial seed (electrum) 2023-06-02 09:46:53 +02:00
SomberNight d2cf21fc2b qml wizard: enforce homogeneous master keys in multisig
- {xpub, Ypub, Zpub} categories cannot be mixed
- old mpk must not be used in multisig
2023-05-11 10:13:51 +00:00
Sander van Grieken 397019fe19 qml: veriyMasterKey don't raise Exception on unsupported wallet_type, log error and provide user feedback 2023-05-04 12:45:40 +02:00
SomberNight f5f177f7e8 qml wizard: fix restoring from old mpk (watchonly for "old" seeds)
fixes https://github.com/spesmilo/electrum/issues/8356
2023-04-27 09:34:23 +00:00
Sander van Grieken 2b091b283a qml: qebitcoin remove unused code, fix scoping, camelcase 2023-04-25 13:04:09 +02:00
SomberNight 312f2641e7 don't use bare except
use "except Exception", or if really needed explicitly "except BaseException"
2023-04-24 12:58:01 +00:00
Sander van Grieken 0423970ae0 qml: add word picker to SeedTextArea 2023-03-09 15:09:16 +01:00
Sander van Grieken 0bc8460005 qml: don't initialize instance variables on class scope for non-singletons
(this somehow escaped attention before, as most objects usually don't have multiple instances,
unless multiple wallets are open at the same time.)
Also, move all signal declarations, class constants and variables to the top of class definitions.
2023-01-12 13:09:21 +01:00
Sander van Grieken 9354dfc86d qml: skip multisig_show_masterpubkey view and instead present master pub key on every
cosigner key/seed import page.
2022-11-28 17:42:29 +01:00
Sander van Grieken ce35e68514 qml: multisig create_storage 2022-11-14 14:37:05 +01:00
Sander van Grieken 334bbf3505 qml: add plumbing for duplicate master pubkey check, fix multisig end conditions 2022-11-14 12:19:56 +01:00
Sander van Grieken 4c784ffe1f qml: consolidate multisig support into existing pages WCHaveSeed, WCHaveMasterKey, WCBIP39Refine.
Have these put cosigner data directly in the correct wizard_data leafs instead of relying on
wizard accept handlers.
2022-11-14 12:19:56 +01:00
Sander van Grieken f07b11f283 qml: add multisig support in WCBIP39Refine, add seed valid check for multisig in qebitcoin.py 2022-11-14 12:19:56 +01:00
Sander van Grieken 89936689fb qml: fix imports, flake issues 2022-11-14 12:19:56 +01:00
Sander van Grieken 5246f3d510 qml: refactor is_last checks to mostly lambdas, add multisig flow for 1st cosigner keystore,
add initial flow and view placeholders for additional cosigners.
2022-11-14 12:19:56 +01:00
Sander van Grieken 26d9c06e0c qml: add export TX and scan of TX 2022-10-28 10:46:23 +02:00
Sander van Grieken fac4003354 qml: fix wizard_data not available to 'last' check on have seed wizard page
also refactor seed verification, split off seed_variant from seed_type (partial disambiguation),
fix bip39 wallet creation
2022-10-24 13:03:33 +02:00
Sander van Grieken 6ea3a16cc8 add wallet type imported addresses/private keys to wizard 2022-10-21 13:32:16 +02:00
Sander van Grieken 43bac2edff qml: use new wizard approach in qml and also implement 2FA/trustedcoin 2022-10-21 13:31:24 +02:00
Sander van Grieken fad9f87303 qml: accept raw tx from send page paste/qrscan and show TxDetails 2022-08-16 16:09:00 +02:00
Sander van Grieken 008805d97c qml: implement initial wallet from master key 2022-07-28 16:55:50 +02:00
Sander van Grieken 5008cef491 qml: optimize imports 2022-07-28 16:53:05 +02:00
Sander van Grieken 3fd33169f5 frontend improvements, refactor qeinvoicelistmodel 2022-07-07 18:29:01 +02:00
Sander van Grieken b188b48e2f after-rebase fixes 2022-07-07 18:29:01 +02:00
Sander van Grieken 5031391484 add a QEAmount type for storing/passing BTC amounts in the widest sense
from a UI perspective. Stores sats, millisats (LN), whether MAX amount is
requested etc

some refactor QEInvoice type and Send page
2022-07-07 18:29:01 +02:00
Sander van Grieken 7013f9d26b generate and parse bip 21 qr codes 2022-07-07 18:29:01 +02:00
Sander van Grieken e329c54162 implement bip39 seed to wallet
fix auto-upgrade wallet
2022-07-07 18:28:00 +02:00
Sander van Grieken bbd0ff8b91 move wizard components to separate files, add initial bip39 refine page 2022-07-07 18:28:00 +02:00
Sander van Grieken 7e1606fe86 validate seeds for Electrum, BIP39, SLIP39 seeds and perform create wallet in from seed scenario
Currently only Electrum seeds are considered valid.
For BIP39 additional dialog is needed.
For SLIP39 multiple mnemonics need to be supported to generate a seed
2022-07-07 18:28:00 +02:00
Sander van Grieken 07452a6a7a seed generation can take some time, do it in a background thread and
show a busy indicator while we wait
2022-07-07 18:28:00 +02:00
Sander van Grieken 4cae116ad8 create wallet at end of new wallet wizard 2022-07-07 18:28:00 +02:00
Sander van Grieken c999b3a297 add Bitcoin QObject for seed generation 2022-07-07 18:28:00 +02:00