-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Sweep Private Key Tab #486
Comments
I think this is a feature to transfer all funds from another private key ("sweeping" it). At least this is how it is on other wallets that I've tested :) |
Woild be great to have it similar like electrum. Just a simple option to sweep private keys would be great |
Actually we don't even need to constrain this feature to bech32-only, because a single address balance query from a new Tor circuit is private. |
that means it will be possible to sweep coins from any address? is it far back on the roadmap or soon? |
Yes.
It's not even on any roadmap, just a concept ACK from me, which makes me sad, because I'd personally have a great use for this feature. |
FYI, I did put this on the ToDo list, since it is a feature that many do request. Hopefully a Wasabika finds the time to implement it :) |
would be great, i do think this is a very important feature for many use cases! hope to see it some day in wasabi |
I concur. This feature will be greatly appreciated. Its a bummer to have to use another wallet to sweep keys in order to send to wasabi. |
To make some progress here, I'd like to bring up the largest decision to be made here for discussion. Now, creating the UI elements are easy. The behavior is also straightforward: the user provides a privkey, we get the associated p2pkh/p2wpkh/etc keys to it. Then a call must be made to some service to get the utxos those to be swept. The dilemma is how should we get these? The issue is that Wasabi's backend runs on Bitcoin Core and it doesn't index addresses, so we would have to overcome that in one way or another. There are multiple solutions:
|
I think most users would prefer waiting longer for this feature to be implemented using option 1 or 3 ... versus using an option that introduces the potential for dangerous issues that cannot be fixed. Other wallets exist if an address NEEDS to be swept clean. |
I think that having an addresses index service is very useful and would allow us to do many things in the future but for this feature we need an utxos index, am I right? |
So, I was thinking, maybe it'd be better if we'd distribute this across many block explorers. This'd provide more reliability. Also we could use this to recover from the "spent" issue that we are too incompetent to properly fix. So here's what would happen ideally: We could feed a block explorer with a Of course having an address index on the backend would be ideal, but so many things we could get wrong and would take weeks to code it, and also possibly weeks to index the whole blockchain. But if someone feels the affinity for that, then I'm not stopping him. |
Are we still not able to sweep keys?? |
Yes still not able to do that. |
are there any updates? |
I think it is a huge security risk but some people could need to sweep the keys for some valid reason so, we could simply add it to the $ ./wcli.sh listkeys | head -10
fullkeypath internal keystate label p2wpkhscript secret pubkey pubkeyhash
84'/0'/0'/1/0 true 2 0 b0ba6bb14314bacd1f908eb2b9ecc74e0b041717 <secret private key here> 039d67f2c7c3dd1ed0ac301e677fe3abf6f059067796553211d562f46f2e420043 b0ba6bb14314bacd1f908eb2b9ecc74e0b041717
84'/0'/0'/1/1 true 2 0 6b470de643697581b2717e6d2b878470a26d5e83 <secret private key here> 02efaf8fddc729e51826439ebac6e5782f60890262fd6c0702f537062bc4fe00f2 6b470de643697581b2717e6d2b878470a26d5e83
84'/0'/0'/1/2 true 2 0 6e16974cb396a40fed7a0beaa561dcc411056843 <secret private key here> 0230a07c357acc2d1ff18f7d9efbd4d33fb18e5d57d65402a6a454e5afe7c03078 6e16974cb396a40fed7a0beaa561dcc411056843
84'/0'/0'/1/3 true 2 0 af3a7f07b296d3523f0d6860c6ca232bbcb8c87f <secret private key here> 02b6aca09cb632ac208dd2396a74dc20a67b955faf6688211a08584bc291470018 af3a7f07b296d3523f0d6860c6ca232bbcb8c87f
84'/0'/0'/1/4 true 2 0 469d19d3db1967ffc54e9f73f66568d5370e7fd3 <secret private key here> 032c92e3dd33a79795fbc494ee49212a12e0e052d7342921288b9d2be9ea5c06bf 469d19d3db1967ffc54e9f73f66568d5370e7fd3
|
I don't share the security concerns. Hackers learn by burning themselves and it is a hacker feature. My issue is this cannot be done properly without a lot of work. We have two problems:
|
No description provided.
The text was updated successfully, but these errors were encountered: