diff options
author | Determinant <[email protected]> | 2024-08-23 00:22:38 -0700 |
---|---|---|
committer | Determinant <[email protected]> | 2024-08-23 00:25:54 -0700 |
commit | c4bea62fbf5b3245cd5458181a41c942640197aa (patch) | |
tree | 03d8538eeb17b04dacc1212a2fc35ce5145f5980 | |
parent | 10604117581c9ee8e186f28bda6417364dbb1772 (diff) |
...
-rw-r--r-- | README.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 --------------- |