aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2024-08-23 00:22:38 -0700
committerDeterminant <[email protected]>2024-08-23 00:25:54 -0700
commitc4bea62fbf5b3245cd5458181a41c942640197aa (patch)
tree03d8538eeb17b04dacc1212a2fc35ce5145f5980
parent10604117581c9ee8e186f28bda6417364dbb1772 (diff)
...
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 3e64cc7..b695ab9 100644
--- a/README.rst
+++ b/README.rst
@@ -15,7 +15,7 @@ Examples
- Use arbitrary UTF-8 string as your mnemonic ``./keytree.py --custom --save mykeystore.json``
- Show Fuji testnet address format ``./keytree.py <your options> --hrp fuji``
- Generate a new mnemonic and also use a 2/3 Shamir's secret sharing (3 shares, recoverable with any 2 of them): ``./keytree.py --gen-mnemonic --gen-shamir --shamir-threshold 2 --shamir-num 3``
-- Recover a new mnemonic from the previous example and save it to a keystore file: ``./keytree.py --recover-shamir --shamir-threshold 2 --shamir-num 3 --save mykeystore.json``
+- Recover a new mnemonic from the previous example and save it to a keystore file: ``./keytree.py --recover-shamir 1,2 --shamir-threshold 2 --shamir-num 3 --save mykeystore.json``
Caveat
@@ -45,7 +45,7 @@ Security
- ``mnemonic.py``: 284 lines, to generate/manipulate mnemonics
- ``bech32.py``: 123 lines, to Bech32-format addresses (for AVAX addresses)
- - ``shamir.py``: 113 lines, to implement a minimalist Shamir's secret sharing that's compatible with Ava Labs' implementation (https://github.com/ava-labs/mnemonic-shamir-secret-sharing-cli)
+ - ``shamir.py``: 80 lines, to implement a minimalist Shamir's secret sharing that's compatible with Ava Labs' implementation (https://github.com/ava-labs/mnemonic-shamir-secret-sharing-cli)
Portable Binary
---------------