Bitcoin Forum
June 19, 2024, 09:53:28 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / Re: How to import wallet from electrum to bitcoin core? on: February 13, 2024, 04:44:16 PM
According to the error it gives, it seems that you have to create a specific type of wallet in bitcoin core, but in what way would it be?
Create a non descriptor wallet. Add "false" at the end of your import command to avoid a re-scan. You only need a re-scan after the last import.

Perfect, it was just what I wanted and it works perfectly. It has been a great help to me. Thank you so much!!!
2  Other / Beginners & Help / Re: How to import wallet from electrum to bitcoin core? on: February 13, 2024, 02:10:36 PM
But if I do it the way you indicate, the transaction records contained in the electrum wallet in bitcoin core will not appear.

Importing only one address is because I thought it would be easier, but I don't care about importing the entire wallet. Whatever is easiest to do.

3  Other / Beginners & Help / Re: How to import wallet from electrum to bitcoin core? on: February 13, 2024, 01:58:52 PM
It is a wallet that has different addresses. When exporting the privatekeys, the different addresses with their respective privatekeys appear. I just want to import a private key.

It is necessary to import the wallet because I need the bitcoin core wallet to have the records of the electrum wallet transactions.



4  Other / Beginners & Help / How to import wallet from electrum to bitcoin core? on: February 13, 2024, 01:46:39 PM
I'm trying to import an electrum hd wallet into bitcoin core with the transaction logs included. I need to import a single address or the entire wallet, whichever is easier to do. I don't want to send funds from electrum wallet to bitcoin core wallet.

I have tried to follow the procedure in this link but it does not work for me.
https://bitcointalk.org/index.php?topic=5320198.msg63657719#msg63657719

Code:
bitcoin-cli importprivkey "privatekey" "fromelectrum"
error code: -4
error message:
This type of wallet does not support this command

According to the error it gives, it seems that you have to create a specific type of wallet in bitcoin core, but in what way would it be?

Bitcoin Core v23.2

Updated with the solution:

According to the error it gives, it seems that you have to create a specific type of wallet in bitcoin core, but in what way would it be?
Create a non descriptor wallet. Add "false" at the end of your import command to avoid a re-scan. You only need a re-scan after the last import.

We create the wallet without a descriptor

Code:
bitcoin-cli -named createwallet wallet_name="fromelectrum" descriptors=false

We import the privatekey

Code:
bitcoin-cli importprivkey "privatekey"

Thanks to Knight Hider!!!


5  Other / Beginners & Help / Re: Importing electrum seed to bitcoin core on: February 13, 2024, 01:34:23 PM
Importing from electrum to bitcoin core doesn't work for me.

Code:
bitcoin-cli importprivkey "privatekey" "fromelectrum"
error code: -4
error message:
This type of wallet does not support this command

Bitcoin Core v23.2

I suppose it is because a specific wallet has to be created in bitcoin core, but I don't know how.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!