0

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

3

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.

  1. "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)

  • Sorry Asking dumb questions but how can i convert my hdseed to a mnemonic phrase. – Erfan Sep 4 '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 4 '20 at 11:38
  • thank you for your help – Erfan Sep 4 '20 at 12:32
4

You can't.

Bitcoin Core is not BIP39 compliant.

  • To note, this is not a bad thing. Bitcoin Core is also not compliant with regulations on PPE, but that doesn't not taint it as a software product. – Pseudonymous Sep 2 '20 at 13:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.