Skip to content

bx mnemonic new

Eric Voskuil edited this page May 8, 2015 · 14 revisions

Create a mnemonic seed (BIP39) from entropy.

$ bx mnemonic-new --help
Usage: bx mnemonic-new [-h] [--config VALUE] [--language VALUE] [SEED]   

Info: Create a mnemonic seed (BIP39) from entropy. WARNING: mnemonic     
should be created from properly generated entropy.                       

Options (named):

-c [--config]        The path to the configuration settings file.        
-h [--help]          Get a description and instructions for this command.
-l [--language]      The language identifier of the mnemonic dictionary  
                     to use. Options are 'en', 'es', 'ja', 'zh_Hans',    
                     'zh_Hant' and 'any', defaults to 'en'.              

Arguments (positional):

SEED                 The Base16 entropy from which the mnemonic is       
                     created. The length must be evenly divisible by 32  
                     bits. If not specified the entropy is read from     
                     STDIN.

See also mnemonic-to-seed.

Example 1

indivisible seed

$ bx mnemonic-new baad
The seed length in bytes is not evenly divisible by 32 bits.

Example 2

$ bx mnemonic-new baadf00dbaadf00dbaadf00dbaadf00d
rival hurdle address inspire tenant almost turkey safe asset step lab boy

Example 3

piped commands

$ bx seed | bx mnemonic-new
36e0ee880a21b1fe4333121499f5d0c9
dad alter pear begin brand you art girl behind soul injury napkin

Example 4

--language es

$ bx mnemonic-new baadf00dbaadf00dbaadf00dbaadf00d --language es
previo humilde actuar jarabe tabique ahorro tope pulpo anís señal lavar bahía

Example 5

--language ja

$ bx mnemonic-new baadf00dbaadf00dbaadf00dbaadf00d --language ja
ねんかん すずしい あひる せたけ ほとんど あんまり めいあん のべる いなか ふとる ぜんりゃく えいせい

Example 6

--language zh_Hans

$ bx mnemonic-new 36e0ee880a21b1fe4333121499f5d0c9 -l zh_Hans
值 所 毕 没 流 妨 性 守 解 芯 威 隔

Example 7

--language zh_Hant

$ bx mnemonic-new 36e0ee880a21b1fe4333121499f5d0c9 -l zh_Hant
值 所 畢 沒 流 妨 性 守 解 芯 威 隔

BX Menu

Clone this wiki locally