Using dcrseedhextowords
1. Introduction
Decred wallet seed, also called the human readable hash, comes from the PGP Word List by Patrick Juola, a computational linguist and Philip Zimmermann, creator of PGP.
2. Visualization
Dave Collins, one of the developers of the Decred Project, created a small tool called dcrseedhextowords, which allows the user to convert a hexadecimal private key into the seed. This tool runs in Windows, Linux and macOS.
Prerequisite
Go 1.5 or newer must be installed to run this tool. To install, see Installing Go (golang).
The following steps were performed on a Debian 9 64-bit.
a) Clone Dave’s repository. Some dependencies, like dcrwallet source code, will be downloaded:
$ go get -u github.com/davecgh/dcrseedhextowords/...
or
$ /usr/local/go/bin/go get -u github.com/davecgh/dcrseedhextowords/...
b) Enter the directory where the source code was downloaded and compile:
$ cd $HOME/go/src/github.com/davecgh/dcrseedhextowords/
$ go build
or
$ /usr/local/go/bin/go build
c) Run with a test key, created in the article Offline wallets with dcraddrgen:
$ ./dcrseedhextowords 997d0863025c3dca3473902031a58a34a98441c80a60fc5e532805f78bd4c771
The expected result is the seed that was presented in that same article:
prowler insincere aimless Galveston accrue fascinate commence
revenue choking hurricane peachy butterfat chatter paperweight
Oakland confidence revenge Jupiter cranky retrieval allow
fortitude wayside finicky dwelling cellulose adult voyager
obtuse souvenir soybean hideaway pheasant