Post
Topic
Board Development & Technical Discussion
Merits 3 from 2 users
Topic OP
Bitcoin core hd wallet from mnemonic
by
tekbe
on 05/05/2019, 13:22:51 UTC
⭐ Merited by ETFbitcoin (2) ,Husna QA (1)
To have a way of (re-)creating Bitcoin Core wallets out of a word list I wrote a bash script.

https://github.com/tekbe/wallet-tools

How it works:


This can basically be done with two lines in the terminal:

Code:
$ echo "my random and secret word list" | bx mnemonic-to-seed | bx hd-new | bx hd-to-ec | bx ec-to-wif
L26zbMQRXyhUaaHcTQ13mzHWBauMPsG2qrmZQHx5QpYmMMFkhcWn
$ bitcoin-cli sethdseed true "L26zbMQRXyhUaaHcTQ13mzHWBauMPsG2qrmZQHx5QpYmMMFkhcWn"

A random word list can also be created with Bitcoin Explorer:

Code:
$ bx seed | bx mnemonic-new
sadness arrow artefact expect office carry fatal tape radar ladder dirt hawk echo bone exile uphold topple local

The script provides some extra convenience. Hope it's useful.