New Wallet Creation Flow w/ watch-only and amnesic wallets #169
Replies: 3 comments
-
Also now that there are watch-only wallets, there's some scenarios where bails-wallet never needs to ask for a passphrase during wallet restore. So setting "the passphrase for the wallet" should come after choosing the name and whether to disable private keys and/or make it amnesic Right before wallet encryption info. And be skipped in the disable private keys case. |
Beta Was this translation helpful? Give feedback.
-
Decreasing priority to medium as this as both are actually L2 features for once we have offline signing. It's a bit silly to have watch only wallets without an always offline wallet. And they can effectively be created by losing the wallet passphrase. |
Beta Was this translation helpful? Give feedback.
-
In one dialog choose:
Wallet Name
[ Wallet [share_identifier] ]
Disable private keys for this wallet. Wallets with private keys disabled will have no private keys and cannot have an HD seed or imported private keys. This is ideal for watch-only wallets.
Prepends
/tmp/
to Wallet Name causing it to be stored in tmpfs not ~/Persistent/.bitcoin and lost on shutdown.If
/tmp/
is usedIf the user does not Disable Private Keys display:
else:
After the warnings/info is displayed:
Helps address #45 and #34 as "setup complete" is really "wallet setup complete" and the other dialogs are from
install-core
and don't need to display when just doingbails-wallet
operations. Also creates one of the L2 features and gives a more secure set-up.Watch only wallets can be spent by gathering the shares with their corresponding identifiers and loading them into an offline signing device or Non-persistent Wallet to sign PSBTs on the same USB. Forgetting the keys makes the user safe from rubber hose cryptanalysis.
These steps are all in series. As soon as the user confirms what they will be using or procedes with the default encrypted private keys enabled wallet. bitcoind begins importing the appropriate descriptors and will shutdown and start bitcoin-qt when it finishes.
If the user reaches the end of the information dialogs without bitcoin-qt having started. It will tell them importing descriptors can take some time and reminds them to lock the screen Super+L if they need to step away from their computer.
Alternately, bitcoin-qt could be started right after the user makes a selection so that visual progress bars can be displayed for rescanning. This is preferable since no more RAM heavy hashing needs to be done.
Beta Was this translation helpful? Give feedback.
All reactions