ch3 sx tools part 2

pull/2/head
Andreas M. Antonopoulos 10 years ago
parent e5003bbe0f
commit d48c70ca59

@ -1160,7 +1160,7 @@ $ cat seed
eb68ee9f3df6bd4441a9feadec179ff1
----
The seed value can also be exported as a word mnemonic that is human readable and easier to store and type than a hexadecimal string, using sx tools +mnemonic+ sub-command:
The seed value can also be exported as a word mnemonic that is human readable and easier to store and type than a hexadecimal string, using the +mnemonic+ command:
----
$ sx mnemonic < seed > words
@ -1168,10 +1168,10 @@ $ cat words
adore repeat vision worst especially veil inch woman cast recall dwell appreciate
----
The mnemonic words can be used to reproduce the seed. Notice that we use the +sx-mnemonic+ command (with a dash), not the sx command with the mnemonic sub-command:
The mnemonic words can be used to reproduce the seed, using the +mnemonic+ command again:
----
$ sx-mnemonic < words
$ sx mnemonic < words
eb68ee9f3df6bd4441a9feadec179ff1
----
@ -1189,46 +1189,10 @@ $ sx genpriv 1 < seed | sx addr
1G1oTeXitk76c2fvQWny4pryTdH1RTqSPW
----
With deterministic keys we can generate and re-generate a large number of keys, all derived from a single seed in a deterministic chain. This technique is used in many wallets to generate keys that can be backed up and restored with a single simple word mnemonic. This makes it easier than requiring that the wallet be backed up with all its randomly generated keys every time a key is added.
With deterministic keys we can generate and re-generate thousands of keys, all derived from a single seed in a deterministic chain. This technique is used in many wallet applications to generate keys that can be backed up and restored with a simple multi-word mnemonic. This is easier than having to backup the wallet with all its randomly generated keys every time a new key is created.
[TIP]
====
The sx toolkit offers many useful commands for encoding and decoding addresses, converting to and from different formats and representations. Use them to explore the various formaat such as base58, base58check, hex etc.
====

Loading…
Cancel
Save