Docs fixup after moving CLI to its own file

This commit is contained in:
kdmukai
2024-03-02 07:57:39 -06:00
parent b29e0bcf50
commit 5160418449
2 changed files with 20 additions and 20 deletions
+10 -10
View File
@@ -234,34 +234,34 @@ python3 mnemonic.py -h
Usage: Usage:
# 50 dice rolls / 12-word mnemonic # 50 dice rolls / 12-word mnemonic
python3 mnemonic_generation.py dice 5624433434... python3 mnemonic.py dice 5624433434...
# 99 dice rolls / 24-word mnemonic # 99 dice rolls / 24-word mnemonic
python3 mnemonic_generation.py dice 6151463561... python3 mnemonic.py dice 6151463561...
# 50 dice rolls, entered as 0-5 / 12-word mnemonic # 50 dice rolls, entered as 0-5 / 12-word mnemonic
python3 mnemonic_generation.py --zero-indexed-dice dice 5135535514... python3 mnemonic.py --zero-indexed-dice dice 5135535514...
# 128 coin flips / 12-word mnemonic # 128 coin flips / 12-word mnemonic
python3 mnemonic_generation.py coins 1111100111... python3 mnemonic.py coins 1111100111...
# 256 coin flips / 24-word mnemonic # 256 coin flips / 24-word mnemonic
python mnemonic_generation.py coins 0010111010... python mnemonic.py coins 0010111010...
# GENERATE 50 random dice rolls / 12-word mnemonic # GENERATE 50 random dice rolls / 12-word mnemonic
python3 mnemonic_generation.py dice rand12 python3 mnemonic.py dice rand12
# GENERATE 99 random dice rolls / 24-word mnemonic # GENERATE 99 random dice rolls / 24-word mnemonic
python3 mnemonic_generation.py dice rand24 python3 mnemonic.py dice rand24
# GENERATE 99 random dice rolls, entered as 0-5 / 24-word mnemonic # GENERATE 99 random dice rolls, entered as 0-5 / 24-word mnemonic
python3 mnemonic_generation.py --zero-indexed-dice dice rand24 python3 mnemonic.py --zero-indexed-dice dice rand24
# GENERATE 128 random coin flips / 12-word mnemonic # GENERATE 128 random coin flips / 12-word mnemonic
python3 mnemonic_generation.py coins rand12 python3 mnemonic.py coins rand12
# GENERATE 256 random coin flips / 24-word mnemonic # GENERATE 256 random coin flips / 24-word mnemonic
python3 mnemonic_generation.py coins rand24 python3 mnemonic.py coins rand24
``` ```
### How to get the same results in iancoleman.io ### How to get the same results in iancoleman.io
+10 -10
View File
@@ -21,34 +21,34 @@ Compare its results against iancoleman.io/bip39 and bitcoiner.guide/seed
Usage: Usage:
# {mnemonic_generation.DICE__NUM_ROLLS__12WORD} dice rolls / 12-word mnemonic # {mnemonic_generation.DICE__NUM_ROLLS__12WORD} dice rolls / 12-word mnemonic
python3 mnemonic_generation.py dice 5624433434... python3 mnemonic.py dice 5624433434...
# {mnemonic_generation.DICE__NUM_ROLLS__24WORD} dice rolls / 24-word mnemonic # {mnemonic_generation.DICE__NUM_ROLLS__24WORD} dice rolls / 24-word mnemonic
python3 mnemonic_generation.py dice 6151463561... python3 mnemonic.py dice 6151463561...
# {mnemonic_generation.DICE__NUM_ROLLS__12WORD} dice rolls, entered as 0-5 / 12-word mnemonic # {mnemonic_generation.DICE__NUM_ROLLS__12WORD} dice rolls, entered as 0-5 / 12-word mnemonic
python3 mnemonic_generation.py --zero-indexed-dice dice 5135535514... python3 mnemonic.py --zero-indexed-dice dice 5135535514...
# 128 coin flips / 12-word mnemonic # 128 coin flips / 12-word mnemonic
python3 mnemonic_generation.py coins 1111100111... python3 mnemonic.py coins 1111100111...
# 256 coin flips / 24-word mnemonic # 256 coin flips / 24-word mnemonic
python mnemonic_generation.py coins 0010111010... python mnemonic.py coins 0010111010...
# GENERATE {mnemonic_generation.DICE__NUM_ROLLS__12WORD} random dice rolls / 12-word mnemonic # GENERATE {mnemonic_generation.DICE__NUM_ROLLS__12WORD} random dice rolls / 12-word mnemonic
python3 mnemonic_generation.py dice rand12 python3 mnemonic.py dice rand12
# GENERATE {mnemonic_generation.DICE__NUM_ROLLS__24WORD} random dice rolls / 24-word mnemonic # GENERATE {mnemonic_generation.DICE__NUM_ROLLS__24WORD} random dice rolls / 24-word mnemonic
python3 mnemonic_generation.py dice rand24 python3 mnemonic.py dice rand24
# GENERATE {mnemonic_generation.DICE__NUM_ROLLS__24WORD} random dice rolls, entered as 0-5 / 24-word mnemonic # GENERATE {mnemonic_generation.DICE__NUM_ROLLS__24WORD} random dice rolls, entered as 0-5 / 24-word mnemonic
python3 mnemonic_generation.py --zero-indexed-dice dice rand24 python3 mnemonic.py --zero-indexed-dice dice rand24
# GENERATE 128 random coin flips / 12-word mnemonic # GENERATE 128 random coin flips / 12-word mnemonic
python3 mnemonic_generation.py coins rand12 python3 mnemonic.py coins rand12
# GENERATE 256 random coin flips / 24-word mnemonic # GENERATE 256 random coin flips / 24-word mnemonic
python3 mnemonic_generation.py coins rand24 python3 mnemonic.py coins rand24
""" """
RAND_12 = "rand12" RAND_12 = "rand12"
RAND_24 = "rand24" RAND_24 = "rand24"