aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst5
-rwxr-xr-xkeytree.py3
2 files changed, 6 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index b73cc8c..aa9e27a 100644
--- a/README.rst
+++ b/README.rst
@@ -1,6 +1,7 @@
-keytree
-=======
+keytree.py
+==========
+- Make sure you have Python >= 3.7
- CD into the cloned repo
- Derive 10 keys from the given mnemonic: ``./keytree.py --end-idx 10``
- Generate a new mnemonic and derive 10 keys from it: ``./keytree.py --end-idx 10 --gen-mnemonic``
diff --git a/keytree.py b/keytree.py
index ce4727d..721324a 100755
--- a/keytree.py
+++ b/keytree.py
@@ -34,6 +34,9 @@
import os
import sys
+if sys.version_info[1] < 7:
+ sys.write("Python should be >= 3.7")
+ sys.exit(1)
basedir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, basedir + "/freezed_deps")