Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: BtcMaxi2090 on May 10, 2023, 11:06:00 PM



Title: transform a seed in wallet.dat file
Post by: BtcMaxi2090 on May 10, 2023, 11:06:00 PM
hey everyone i have a seed and i want to transform my seed in wallet.dat file and import it in my node, any idea which tools allow me to change my seed word into wallet.dat please?


Title: Re: transform a seed in wallet.dat file
Post by: Sarah Azhari on May 11, 2023, 12:02:56 AM
hey everyone i have a seed and i want to transform my seed in wallet.dat file and import it in my node, any idea which tools allow me to change my seed word into wallet.dat please?

You can't,

but in another way, you can import your seed first to Electrum (tick BIP39 Option) or another wallet support and get the private key,
After you got the private key, then in the Bitcoin core wallet, go to console type: importprivkey , that automatically will save in wallet.dat

Don't forget to specify in what address you want to run in the node by the specific private key.


Title: Re: transform a seed in wallet.dat file
Post by: BitMaxz on May 11, 2023, 02:27:55 AM
There is no tool to convert seed into a wallet.dat file maybe someone knows but there's another way to do that by using the iancoleman tool you can extract all private keys and import it all to wallet.dat in your Bitcoin core.

Check this tool https://iancoleman.io/bip39/

Make sure to download this source and run it offline for safety purposes.


Title: Re: transform a seed in wallet.dat file
Post by: Husires on May 11, 2023, 06:06:35 AM
hey everyone i have a seed and i want to transform my seed in wallet.dat file and import it in my node, any idea which tools allow me to change my seed word into wallet.dat please?

You can extract private keys for that seed or collect all inputs in one address and extract the key for that address.
If you want to include a lot of private keys, it is better to make rescan=false to stop scan blockchain after that command

But why do you need that? You risk losing your coins will increase, so it is better to create a new wallet.dat, and send transactions to it.
If you are concerned about your privacy, use one of the mixing services.


Title: Re: transform a seed in wallet.dat file
Post by: o_e_l_e_o on May 11, 2023, 11:16:07 AM
Rather than extract individual private keys as the posters above have suggested, the best thing to do is to recover your wallet via the seed phrase in some software such as Electrum or Ian Coleman, extract the master private key at your chosen derivation path, and then import that using a descriptor to Bitcoin Core in order to recreate the entire wallet.