Pages:
Author

Topic: Transferring a wallet from electrum (2fa) (Read 369 times)

legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
March 18, 2023, 11:33:58 PM
#37
upd:
22.0.0
That version supports descriptor wallets despite not creating such wallet by default.

-snip-
there is no such option "create unsigned"
Then, the mirrored wallet isn't "descriptor" with watching-only descriptors, it's the legacy version.
Because the "Send" button should've been replaced with "Create Unsigned" if it is.

The alternative for non-descriptor wallet is what o_e_l_e_o pointed out but you need to update your Bitcoin Core for it to appear in the "Confirm send coin" window.
newbie
Activity: 14
Merit: 10
It's not on your screenshot. The "Send" button has been replaced with "Create Unsigned" - https://github.com/bitcoin/bitcoin/commit/5c3b800acd3ceb75ff6bbac8d0e2e1aaa95b0728

What version of Core are you running?

upd:
22.0.0
legendary
Activity: 2268
Merit: 18748
It's not on your screenshot. The "Send" button has been replaced with "Create Unsigned" - https://github.com/bitcoin/bitcoin/commit/5c3b800acd3ceb75ff6bbac8d0e2e1aaa95b0728

What version of Core are you running?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
newbie
Activity: 14
Merit: 10
Thanks a lot! There is a connection, but still endless synchronization in a circle. 323/324 or 719/720 and all over again.
Again, check the logs of both EPS and Electrum and see if you can pinpoint the issue. Feel free to share the logs here (preferably inside code tags for formatting reasons) so we can take a look too.

Try also using the --oneserver command with Electrum. This should increase the internal timeout and give it more time to attempt to sync.

there is no such option "create unsigned"
Click the "Send" tab in the Core GUI, and the button to "Create Unsigned" is at the bottom left corner.

https://i.imgur.com/JAEQ1vX.png
legendary
Activity: 2268
Merit: 18748
Thanks a lot! There is a connection, but still endless synchronization in a circle. 323/324 or 719/720 and all over again.
Again, check the logs of both EPS and Electrum and see if you can pinpoint the issue. Feel free to share the logs here (preferably inside code tags for formatting reasons) so we can take a look too.

Try also using the --oneserver command with Electrum. This should increase the internal timeout and give it more time to attempt to sync.

there is no such option "create unsigned"
Click the "Send" tab in the Core GUI, and the button to "Create Unsigned" is at the bottom left corner.
newbie
Activity: 14
Merit: 10
Thank you all for your advice, but the problem has not been solved yet. I followed the EPS path and installed it and did everything that was required by the instructions.  He successfully saw the tx and transactions were loaded into core in the watch only mode. But electrum does not connect to eps in any way. -snip-
If you want to spend them through that watching-only wallet, you can try this:

In Bitcoin Core, there should be a "Create Unsigned" option in 'Send' tab to create an 'unsigned RAW transaction'.
Create a transaction with appropriate amount of inputs and fee, then save the ".psbt" file in a flash drive.
(your txn will be high in size so don't set the fee rate too high)

Open your 2FA Electrum in an offline machine (restore it from seed to be able to use it offline).
Load the .psbt file through the menu "Tools->Load transaction->From file", you should be able to sign it using two keys (Review the outputs and amounts).
After signing, export it through "Export->Copy to Clipboard" and find a way to transfer the copied Signed RAW Transaction to your Bitcoin Core.

Lastly, in Bitcoin Core, open the console (Window->Console),
In the Console, enter the command: sendrawtransaction "PASTE_THE_SIGNED_RAW_TRANSACTION" to send the transaction to the network.

Note: tested only on single-sig SegWit, haven't tested if the watching-only wallet created for EPS includes the redeem script; depending on the watching-only copy, this method may not work.

there is no such option "create unsigned"
newbie
Activity: 14
Merit: 10
I have already launched EPS. The issue is that it doesn't sync to the end.
I'm ready. I am ready to pay for help with my transaction.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
There is no way to spend it with electrum?
Once it successfully synced, yes.
My reply above this quote is just an option in case Electrum didn't sync.

As additional note, if the watching-only wallet isn't a "descriptor" wallet, you won't be able to use that option either.
newbie
Activity: 14
Merit: 10
I have already launched EPS. The issue is that it doesn't sync to the end.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
This makes me wonder if it's possible to setup a custom public (paid!) Electrum server, that allows for much more transactions than the standard Electrum servers. There may be people willing to pay for this.
newbie
Activity: 14
Merit: 10
There is no way to spend it with electrum?
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
Thank you all for your advice, but the problem has not been solved yet. I followed the EPS path and installed it and did everything that was required by the instructions.  He successfully saw the tx and transactions were loaded into core in the watch only mode. But electrum does not connect to eps in any way. -snip-
If you want to spend them through that watching-only wallet, you can try this:

In Bitcoin Core, there should be a "Create Unsigned" option in 'Send' tab to create an 'unsigned RAW transaction'.
Create a transaction with appropriate amount of inputs and fee, then save the ".psbt" file in a flash drive.
(your txn will be high in size so don't set the fee rate too high)

Open your 2FA Electrum in an offline machine (restore it from seed to be able to use it offline).
Load the .psbt file through the menu "Tools->Load transaction->From file", you should be able to sign it using two keys (Review the outputs and amounts).
After signing, export it through "Export->Copy to Clipboard" and find a way to transfer the copied Signed RAW Transaction to your Bitcoin Core.

Lastly, in Bitcoin Core, open the console (Window->Console),
In the Console, enter the command: sendrawtransaction "PASTE_THE_SIGNED_RAW_TRANSACTION" to send the transaction to the network.

Note: tested only on single-sig SegWit, haven't tested if the watching-only wallet created for EPS includes the redeem script; depending on the watching-only copy, this method may not work.
newbie
Activity: 14
Merit: 10
Thanks a lot! There is a connection, but still endless synchronization in a circle. 323/324 or 719/720 and all over again.
should I change smth in config file?
legendary
Activity: 2268
Merit: 18748
It might be an issue with the default certificates EPS comes with expiring a few days ago. See this issue for details and for a fix: https://github.com/chris-belcher/electrum-personal-server/issues/286

If that doesn't work, then at the top of the EPS window it should tell you where it is logging to. Find that file and examine it for errors. Similarly, enable logs in Electrum, and then examine that file for errors too.
newbie
Activity: 14
Merit: 10
Thank you all for your advice, but the problem has not been solved yet. I followed the EPS path and installed it and did everything that was required by the instructions.  He successfully saw the tx and transactions were loaded into core in the watch only mode. But electrum does not connect to eps in any way. The command line says that it listens to the connection 127.0.0.1:50002, but electrum still cannot connect.

What I tried to do.
I ran eps on mac os, windows.
Changed ports to 50001 and several others.

I tried to set the electrum connection settings
127.0.0.1:50002:t
localhost:50002:t
and many other variations, but unsuccessfully
legendary
Activity: 2268
Merit: 18748
but I already tested my method a long time ago to extracted a private key from my 2FA wallet.
Is there no possibility you have misremembered?

If you right click on an address in a multi-sig wallet and click on "Details" instead of "Private key", then Electrum will show you the three (or however many) public keys for that address. So you could certainly use those three public keys to recreate a watch only wallet in some other software, but you could not then spend from that wallet without at least 2 of the private keys (in the case of a disabled 2FA 2-of-3 multi-sig).
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
Yes, it wouldn't work because it's a 2FA segwit as Santorini7 said above but I already tested my method a long time ago to extracted a private key from my 2FA wallet. I don't know about the latest version of Electrum but I tested it a long time ago.
That tool is designed for claiming Electrum forks from non-SegWit 2fa electrum
and since those forks don't support SegWit, there's no reason for Trusted Coin to upgrade the tool to support 2fa-segwit Electrum seed.
(or they do not have the time to update it)

Also, it's basically the same as restoring your 2fa seed phrase to Electrum except the restored wallet file is in "skeleton" state
which only consist of necessary data to be compatible with all Electrum versions and fork.
legendary
Activity: 2380
Merit: 5213
Yes, it wouldn't work because it's a 2FA segwit as Santorini7 said above but I already tested my method a long time ago to extracted a private key from my 2FA wallet. I don't know about the latest version of Electrum but I tested it a long time ago.
No version of electrum can give a single private key that can be used for recovering a multi-signature wallet. As already said, that's not possible that all.
Note that even if you disable 2FA, you would still have a multi-signature wallet.
Pages:
Jump to: