I've tried: bitcoin-cli sethdseed 'word1 word2 ...' but i got invalid private key. please help me getting my 24 word seed using bitcoin core
2 Answers
How to get my 24 word seed using bitcoin-cli
You write about getting but your commands are about setting. This is confusing.
You can't get a seed-phrase from Bitcoin-core.
You can use the sethdseed function to "Set or generate a new HD wallet seed." this marks any existing private keys as inactive (which may or may not be what you want).
Note that an HD seed
and a (24 word) seed phrase
are different things.
I've tried: bitcoin-cli sethdseed 'word1 word2 ...' but i got invalid private key.
I think that may be because the second argument is not a seed phrase but a WIF key.
- "seed" (string, optional) The WIF private key to use as the new HD seed;
Related questions with useful answers (assuming you're trying to get seed-words out of Bitcoin Core because you think thats whats needed to transfer to another wallet that uses them)

- 26,841
- 3
- 25
- 51
-
Sorry Asking dumb questions but how can i convert my hdseed to a mnemonic phrase. – Erfan Sep 04 '20 at 11:12
-
@Erfan. There's no need. Instead people changing from Bitcoin core to another wallet usually export the private key and tell the new wallet to sweep the key. – RedGrittyBrick Sep 04 '20 at 11:38
dumpwallet
and then check the file forhdseed=1
. – tread Dec 10 '23 at 01:20