You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ python-mnemonic
7
7
Reference implementation of BIP-0039: Mnemonic code for generating
8
8
deterministic keys
9
9
10
+
Maintained by `Trezor <https://trezor.io>`_. See the `GitHub repository <https://github.com/trezor/python-mnemonic>`_ for source code and issue tracking.
11
+
10
12
Abstract
11
13
--------
12
14
@@ -77,4 +79,36 @@ Given the word list, calculate original entropy:
77
79
78
80
entropy = mnemo.to_entropy(words)
79
81
82
+
Command-line interface
83
+
----------------------
84
+
85
+
The ``mnemonic`` command provides CLI access to the library:
86
+
87
+
.. code-block:: sh
88
+
89
+
$ mnemonic create --help
90
+
$ mnemonic check --help
91
+
$ mnemonic to-seed --help
92
+
93
+
Generate a new mnemonic phrase:
94
+
95
+
.. code-block:: sh
96
+
97
+
$ mnemonic create
98
+
$ mnemonic create -s 256 -l english -p "my passphrase"
0 commit comments