Bitcoin Forum
October 31, 2024, 05:11:16 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Transferring a wallet from electrum (2fa)  (Read 358 times)
Santorini7 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 10


View Profile
March 17, 2023, 04:45:21 PM
 #21

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
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18726


View Profile
March 17, 2023, 05:05:20 PM
 #22

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.
Santorini7 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 10


View Profile
March 17, 2023, 07:18:29 PM
 #23

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?
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6309


Self-proclaimed Genius


View Profile
March 18, 2023, 05:43:24 AM
Last edit: March 18, 2023, 07:28:26 AM by nc50lc
Merited by o_e_l_e_o (4)
 #24

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Santorini7 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 10


View Profile
March 18, 2023, 06:50:14 AM
 #25

There is no way to spend it with electrum?
LoyceV
Legendary
*
Offline Offline

Activity: 3486
Merit: 17607


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 18, 2023, 06:57:50 AM
Last edit: March 18, 2023, 08:25:05 AM by LoyceV
 #26

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.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
Santorini7 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 10


View Profile
March 18, 2023, 07:11:58 AM
 #27

I have already launched EPS. The issue is that it doesn't sync to the end.
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6309


Self-proclaimed Genius


View Profile
March 18, 2023, 07:20:24 AM
 #28

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Santorini7 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 10


View Profile
March 18, 2023, 07:21:36 AM
 #29

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.
Santorini7 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 10


View Profile
March 18, 2023, 09:04:39 AM
 #30

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"
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18726


View Profile
March 18, 2023, 09:08:00 AM
Last edit: March 18, 2023, 09:35:01 AM by o_e_l_e_o
 #31

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.
Santorini7 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 10


View Profile
March 18, 2023, 02:32:13 PM
 #32

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
LoyceV
Legendary
*
Offline Offline

Activity: 3486
Merit: 17607


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 18, 2023, 02:58:49 PM
Merited by famososMuertos (1)
 #33

Image:

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
Santorini7 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 10


View Profile
March 18, 2023, 04:12:08 PM
 #34


Do you see it in my screenshot?
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18726


View Profile
March 18, 2023, 05:08:25 PM
 #35

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?
Santorini7 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 10


View Profile
March 18, 2023, 05:11:23 PM
 #36

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
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6309


Self-proclaimed Genius


View Profile
March 19, 2023, 04:33:58 AM
 #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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!