From c4bea62fbf5b3245cd5458181a41c942640197aa Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 23 Aug 2024 00:22:38 -0700 Subject: ... --- README.rst | 4 ++-- 1 file 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 --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 --------------- -- cgit v1.2.3-70-g09d2