Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internationalisation release #206

Merged
merged 127 commits into from
Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from 78 commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
1413081
Adds abilility to swap out text for internationalisation reasons
CarlBeek Feb 12, 2021
d828bb5
Remove auto function detector
CarlBeek Feb 12, 2021
6e3a0a3
Adds option auto function & file detection
CarlBeek Feb 12, 2021
3924b16
adds `existing_mnemonic`
CarlBeek Feb 12, 2021
5fceda2
Move remainder of messages into json files
CarlBeek Feb 22, 2021
b8c94a8
Fix typo
CarlBeek Feb 22, 2021
1f9626a
Moves `intl/utils.py` to `utils/intl.py`
CarlBeek Feb 22, 2021
4f10175
Add `msg_mnemonic_presentation` back
hwwhww Feb 23, 2021
b7f4188
Use load_text in test_new_mnemonic.py
hwwhww Feb 24, 2021
d38323e
@hwwhww's content nitpicks
CarlBeek Mar 8, 2021
2b222cd
imports 8 languages from crowdin
wackerow Mar 22, 2021
61e0c15
imports 2 languages from Crowdin
wackerow Mar 22, 2021
b288277
Enables intl language selection for `existing_mnemonic` options
CarlBeek Apr 1, 2021
907bb2e
enables `load_text()` to have a `lang` parameter
CarlBeek Apr 1, 2021
e439443
Convert remaining click.Options to JITOptions
CarlBeek Apr 1, 2021
621ee4f
load_test bug fixes
CarlBeek Apr 1, 2021
7b393bd
Adds missing `func` args to `load_text`
CarlBeek Apr 1, 2021
0e06e35
Test compiled executable binary
hwwhww Apr 2, 2021
df09118
tests fix
CarlBeek Apr 6, 2021
a84baf3
Merge in dev
CarlBeek Apr 7, 2021
871b689
Merge pull request #191 from wackerow/translation-crowdin-import
CarlBeek Apr 7, 2021
c61f197
Fix intl JSON tags
CarlBeek Apr 7, 2021
a92890a
Adds schema tests to intl json
CarlBeek Apr 7, 2021
ad0b06b
Fix mnemonic defaults
CarlBeek Apr 8, 2021
a2f9a2a
Language selection revamp
CarlBeek Apr 8, 2021
7c99880
Fuzzy language matching + hella callbacks
CarlBeek Apr 8, 2021
17a8840
Adds intl files to build
CarlBeek Apr 8, 2021
63968ec
Adds mising files to macos build
CarlBeek Apr 8, 2021
5068b92
Merge pull request #198 from ethereum/test-binaries
hwwhww Apr 9, 2021
d607b06
Adds translations files to pysinatller binary
CarlBeek Apr 9, 2021
7bbf7b3
Bump pyinstaller -> 4.2
CarlBeek Apr 9, 2021
6c2c708
Adds importlib-metadata for python < 3.8
CarlBeek Apr 9, 2021
25c093d
Adding before commiting helps
CarlBeek Apr 9, 2021
921b67d
adds zipp to build requirements
CarlBeek Apr 9, 2021
c5ecde0
Translation argument fixes
CarlBeek Apr 12, 2021
0542c1d
Adds indexing to language options
CarlBeek Apr 12, 2021
80f21e2
Merge branch 'dev' into translation
CarlBeek Apr 12, 2021
bcc64dd
Linting fixes
CarlBeek Apr 12, 2021
7471ed6
Update Binary-script testing to new verbage
CarlBeek Apr 12, 2021
6affab3
Adds intl tests
CarlBeek Apr 13, 2021
a7facf4
zh-CN content touchup
CarlBeek Apr 13, 2021
5bf8e54
Revert all CLI arguments to hard-coded English
CarlBeek Apr 13, 2021
9f09a2c
Merge branch 'translation' of github.com:ethereum/eth2.0-deposit-cli …
CarlBeek Apr 13, 2021
3a06e92
Adds revert to "en" if option does not exist for intl language
CarlBeek Apr 14, 2021
58a82d7
Excludes Tk & Tcl binaries from Linux & Win binaries
CarlBeek Apr 14, 2021
da97e6f
Extract new eth1 withdrawl params into JSON files
CarlBeek Apr 14, 2021
06d7920
Move eth1 withdrawal warnings into intl json files
CarlBeek Apr 19, 2021
e15806b
Update README with intl language options
CarlBeek Apr 19, 2021
b31f814
Move int-range checking from click to custom
CarlBeek Apr 19, 2021
68bb20d
Move choice checking from click to custom
CarlBeek Apr 19, 2021
45eaefe
Bump py from 1.9.0 to 1.10.0
dependabot[bot] Apr 20, 2021
ff34c4b
Intl password confirmations
CarlBeek Apr 23, 2021
06470b0
Small param typo
CarlBeek Apr 26, 2021
902c279
clarify en password confirmation prompts
CarlBeek Apr 26, 2021
b46e702
confirmation refactor
CarlBeek Apr 27, 2021
bd99461
intl start_index confirmation
CarlBeek Apr 27, 2021
126ebe2
intl start_index confirmation
CarlBeek Apr 27, 2021
64faf7e
Fix tests by adding --non_interactive flag.
CarlBeek Apr 30, 2021
261fdd9
adds confirm to start index for non-english languages
CarlBeek Apr 30, 2021
0b8d1c4
disallow 0 deposits (must be 1 or greater)
CarlBeek Apr 30, 2021
7962d4c
Mnemonic password warnign via repeated input
CarlBeek May 3, 2021
d07aea6
More lambdas for laziness!
CarlBeek May 4, 2021
6f388d8
Inform user why input validation failed
CarlBeek May 4, 2021
12a6615
Standardise argument headers
CarlBeek May 5, 2021
afad2b6
Fixes/removes incorrect help text about folders
CarlBeek May 5, 2021
a678da8
Merge pull request #182 from ethereum/translation
CarlBeek May 5, 2021
1d7648c
Merge pull request #201 from ethereum/dependabot/pip/py-1.10.0
CarlBeek May 5, 2021
b8e056c
Added clarification on number of validators prompt
CarlBeek Jun 24, 2021
908d48d
typo
CarlBeek Jun 24, 2021
5d58c5e
Merge pull request #205 from ethereum/en_lang_clarification
hwwhww Jun 25, 2021
208b1b3
Correct small typo from previous PR
colfax23 Jun 25, 2021
1c0eff8
Merge pull request #208 from colfax23/patch-2
hwwhww Aug 10, 2021
a5c4651
rename eth2deposit -> staking deposit
CarlBeek Aug 23, 2021
d038f18
Update macos build eth2 links
CarlBeek Aug 23, 2021
daa6a70
Update external links
CarlBeek Aug 24, 2021
bb6e3cd
Update internal links
CarlBeek Aug 24, 2021
34e7ceb
Removes internal references to eth2
CarlBeek Aug 24, 2021
ad9e20f
inlt files run through sys._MEIPASS for binaries
CarlBeek Aug 24, 2021
f4c4b87
CI checks binaries in dedicated folder
CarlBeek Aug 30, 2021
02bf159
copy folders with "-r"
CarlBeek Aug 30, 2021
f4d65df
Uses Powershells recursive copy
CarlBeek Aug 30, 2021
2e1427d
Apply suggestions from code review
CarlBeek Sep 2, 2021
65de454
Merge pull request #216 from ethereum/binary_import_fix
CarlBeek Sep 2, 2021
885af40
merde in dev & reslove conflicts
CarlBeek Sep 2, 2021
5c5c298
adds missing files from previous committ
CarlBeek Sep 2, 2021
8022261
Apply suggestions from code review
CarlBeek Sep 7, 2021
f8e30fd
Merge pull request #215 from ethereum/eth2_rename
CarlBeek Sep 10, 2021
8bf7979
version bump to 2.0.0. Yay "eth2" deprication
CarlBeek Jan 27, 2022
b608d87
bump circle-ci xcode version
CarlBeek Jan 27, 2022
a8b8ed6
update pyinstaller to 4.7
Raekye Dec 18, 2021
a4f5902
add arm build to ci
Raekye Dec 18, 2021
eda4a14
Merge pull request #231 from ethereum/fix-ci-xcode-version
hwwhww Jan 27, 2022
ba2ae91
updates naming for arm64
CarlBeek Jan 27, 2022
758aeab
Merge branch 'dev' into linux-arm-build
CarlBeek Jan 27, 2022
e02316c
remember to add all the hashes 🙃
CarlBeek Jan 27, 2022
a0d4190
adds tests to linux arm64 so that everything breaks now
CarlBeek Jan 27, 2022
41bc1a5
try PyInstaller==4.8
CarlBeek Jan 27, 2022
dfcd559
test manual forced import of datas json file
CarlBeek Jan 27, 2022
04cf193
imports are to folders, not files
CarlBeek Jan 27, 2022
ee9123c
Update pyinstaller for m1 support
CarlBeek Jan 27, 2022
270db9b
adds explaination on how to build on m1 using pyenv
CarlBeek Jan 27, 2022
429b63c
Remove "eth2" phrasing from launchpad
CarlBeek Jan 28, 2022
e1fa872
Fix `load_text`
hwwhww Jan 31, 2022
09b982e
Fix lint
hwwhww Jan 31, 2022
32745ba
Merge pull request #233 from ethereum/m1-binaries
hwwhww Jan 31, 2022
d946b21
Merge branch 'dev' into linux-arm-build
hwwhww Jan 31, 2022
eb4f9dc
Revert build.spec
hwwhww Jan 31, 2022
90a5360
Bump requirements_test.txt
hwwhww Jan 31, 2022
6ee291c
`build-linux` -> `build-linux-amd64`
hwwhww Jan 31, 2022
d4f3773
Merge pull request #232 from ethereum/linux-arm-build
CarlBeek Feb 2, 2022
231e423
Merge branch 'dev' into bump-testing-requirements
CarlBeek Feb 2, 2022
80131db
Merge pull request #235 from ethereum/bump-testing-requirements
CarlBeek Feb 2, 2022
9dee724
Merge branch 'dev' into eth2-murder-translation
CarlBeek Feb 2, 2022
f7872c7
Merge pull request #234 from ethereum/eth2-murder-translation
CarlBeek Feb 2, 2022
8a0e94d
Merge branch 'dev' into version_bump
CarlBeek Feb 2, 2022
477fb09
Merge pull request #230 from ethereum/version_bump
CarlBeek Feb 2, 2022
6a47bf8
Update pywin32 -> v303
CarlBeek Feb 2, 2022
6a07492
Adds support for Kiln testnet & depricates Pyrmont
CarlBeek Feb 2, 2022
0163bff
Bump cli version to v2.0.0
CarlBeek Feb 2, 2022
e6b7d3d
Adds Kintsugi testnet support
CarlBeek Feb 2, 2022
df7511e
removes "0x" from to_bytes method
CarlBeek Feb 2, 2022
c4b2b43
remove pywin32 python 3.6 hashes in requirements.txt
CarlBeek Feb 3, 2022
e562b5f
revert CLI_VERSION to be changed in a separate PR
CarlBeek Feb 3, 2022
f0d05a6
Merge pull request #239 from ethereum/update_pywin32
CarlBeek Feb 3, 2022
8907540
Merge pull request #240 from ethereum/testnet_versions
CarlBeek Feb 3, 2022
8a70dcd
bump CLI_VERSION to 2.0.0
CarlBeek Feb 3, 2022
8657a1b
Merge pull request #241 from ethereum/cli_version_bump
hwwhww Feb 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,22 @@ jobs:
mkdir ${BUILD_FILE_NAME};
pyenv global 3.7.5;
pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/linux/build.spec;
- run:
name: Test executable binaries
command: |
export PYTHONHASHSEED=42
export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7)
export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-linux-amd64;
export TEST_FOLDER_NAME=TMP_TEST_FOLDER
mkdir ${TEST_FOLDER_NAME}
cp -r ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME}
cp test_binary_script.py ${TEST_FOLDER_NAME}
cd ${TEST_FOLDER_NAME}
python test_binary_script.py ./${BUILD_FILE_NAME};
- run:
name: Compress the file
command: |
export PYTHONHASHSEED=42
export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7)
export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-linux-amd64;
tar -zcvf ${BUILD_FILE_NAME}.tar.gz ./${BUILD_FILE_NAME};
Expand All @@ -152,9 +165,22 @@ jobs:
mkdir $BUILD_FILE_NAME
$BUILD_FILE_NAME_PATH = ".\" + $BUILD_FILE_NAME
pyinstaller --distpath $BUILD_FILE_NAME_PATH .\build_configs\windows\build.spec
- run:
name: Test executable binaries
command: |
$PYTHONHASHSEED = 42
$CIRCLE_SHORT_SHA1 = $env:CIRCLE_SHA1.substring(0,7)
$BUILD_FILE_NAME = "eth2deposit-cli-" + $CIRCLE_SHORT_SHA1 + "-windows-amd64"
$TEST_FOLDER_NAME = "TMP_TEST_FOLDER"
mkdir ${TEST_FOLDER_NAME}
Copy-item ${BUILD_FILE_NAME} -destination ${TEST_FOLDER_NAME} -recurse
copy test_binary_script.py ${TEST_FOLDER_NAME}
cd ${TEST_FOLDER_NAME}
python test_binary_script.py ${BUILD_FILE_NAME}
- run:
name: Compress the file
command: |
$PYTHONHASHSEED = 42
$CIRCLE_SHORT_SHA1 = $env:CIRCLE_SHA1.substring(0,7)
$BUILD_FILE_NAME = "eth2deposit-cli-" + $CIRCLE_SHORT_SHA1 + "-windows-amd64"
$BUILD_FILE_NAME_PATH = ".\" + $BUILD_FILE_NAME
Expand Down Expand Up @@ -185,9 +211,22 @@ jobs:
export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-darwin-amd64;
mkdir ${BUILD_FILE_NAME};
pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/macos/build.spec;
- run:
name: Test executable binaries
command: |
export PYTHONHASHSEED=42
export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7)
export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-darwin-amd64;
export TEST_FOLDER_NAME=TMP_TEST_FOLDER
mkdir ${TEST_FOLDER_NAME}
cp -r ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME}
cp test_binary_script.py ${TEST_FOLDER_NAME}
cd ${TEST_FOLDER_NAME}
python3 test_binary_script.py ./${BUILD_FILE_NAME};
- run:
name: Compress the file
command: |
export PYTHONHASHSEED=42
export CIRCLE_SHORT_SHA1=$(eval echo $CIRCLE_SHA1 | cut -c -7)
export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-darwin-amd64;
tar -zcvf ${BUILD_FILE_NAME}.tar.gz ./${BUILD_FILE_NAME};
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ venv_build_test: venv_build
${VENV_NAME}/bin/python -m pip install -r requirements_test.txt

venv_test: venv_build_test
$(VENV_ACTIVATE) && python -m pytest .
$(VENV_ACTIVATE) && python -m pytest ./tests

venv_lint: venv_build_test
$(VENV_ACTIVATE) && flake8 --config=flake8.ini ./eth2deposit ./tests && mypy --config-file mypy.ini -p eth2deposit
Expand Down
39 changes: 36 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->


- [Introduction](#introduction)
- [Tutorial for users](#tutorial-for-users)
- [Build requirements](#build-requirements)
- [For Linux or MacOS users](#for-linux-or-macos-users)
- [File Permissions](#file-permissions)
- [Option 1. Download binary executable file](#option-1-download-binary-executable-file)
- [Step 1. Installation](#step-1-installation)
- [Step 2. Create keys and `deposit_data-*.json`](#step-2-create-keys-and-deposit_data-json)
- [language Argument](#language-argument)
- [Commands](#commands)
- [`new-mnemonic` Arguments](#new-mnemonic-arguments)
- [`existing-mnemonic` Arguments](#existing-mnemonic-arguments)
Expand All @@ -19,13 +20,15 @@
- [Step 0. Python version checking](#step-0-python-version-checking)
- [Step 1. Installation](#step-1-installation-1)
- [Step 2. Create keys and `deposit_data-*.json`](#step-2-create-keys-and-deposit_data-json-1)
- [Language Argument](#language-argument)
- [Commands](#commands-1)
- [Arguments](#arguments)
- [Successful message](#successful-message-1)
- [Option 3. Build `deposit-cli` with `virtualenv`](#option-3-build-deposit-cli-with-virtualenv)
- [Step 0. Python version checking](#step-0-python-version-checking-1)
- [Step 1. Installation](#step-1-installation-2)
- [Step 2. Create keys and `deposit_data-*.json`](#step-2-create-keys-and-deposit_data-json-2)
- [Language Argument](#language-argument-1)
- [Commands](#commands-2)
- [Arguments](#arguments-1)
- [Option 4. Use Docker image](#option-4-use-docker-image)
Expand All @@ -37,18 +40,21 @@
- [Option 1. Download binary executable file](#option-1-download-binary-executable-file-1)
- [Step 1. Installation](#step-1-installation-3)
- [Step 2. Create keys and `deposit_data-*.json`](#step-2-create-keys-and-deposit_data-json-4)
- [Language Argument](#language-argument-2)
- [Commands](#commands-3)
- [Arguments](#arguments-3)
- [Option 2. Build `deposit-cli` with native Python](#option-2-build-deposit-cli-with-native-python-1)
- [Step 0. Python version checking](#step-0-python-version-checking-2)
- [Step 1. Installation](#step-1-installation-4)
- [Step 2. Create keys and `deposit_data-*.json`](#step-2-create-keys-and-deposit_data-json-5)
- [Language Argument](#language-argument-3)
- [Commands](#commands-4)
- [Arguments](#arguments-4)
- [Option 3. Build `deposit-cli` with `virtualenv`](#option-3-build-deposit-cli-with-virtualenv-1)
- [Step 0. Python version checking](#step-0-python-version-checking-3)
- [Step 1. Installation](#step-1-installation-5)
- [Step 2. Create keys and `deposit_data-*.json`](#step-2-create-keys-and-deposit_data-json-6)
- [Language Argument](#language-argument-4)
- [Commands](#commands-5)
- [Arguments](#arguments-5)
- [Development](#development)
Expand Down Expand Up @@ -102,6 +108,14 @@ or run the following command to enter the interactive CLI and generate keys from
./deposit existing-mnemonic
```

###### language Argument

The Launchpad offers many language/internationalization options. If you wish to select one as a CLI argument, it must be passed in before one of the commands is chosen.

| Argument | Type | Description |
| -------- | -------- | -------- |
| `--language` | String. Options: `العربية`, `ελληνικά`, `English`, `Français`, `Bahasa melayu`, `Italiano`, `日本語`, `한국어`, `Português do Brasil`, `român`, `简体中文`. Default to `English` | The language you wish to use the CLI in. |

###### Commands

The CLI offers different commands depending on what you want to do with the tool.
Expand All @@ -118,7 +132,7 @@ You can use `new-mnemonic --help` to see all arguments. Note that if there are m
| Argument | Type | Description |
| -------- | -------- | -------- |
| `--num_validators` | Non-negative integer | The number of signing keys you want to generate. Note that the child key(s) are generated via the same master key. |
| `--mnemonic_language` | String. Options: `chinese_simplified`, `chinese_traditional`, `czech`, `english`, `italian`, `korean`, `portuguese`, `spanish`. Default to `english` | The mnemonic language |
| `--mnemonic_language` | String. Options: `简体中文`, `繁體中文`, `český jazyk`, `English`, `Italiano`, `한국어`, `Português`, `Español`. Default to `English` | The mnemonic language |
| `--folder` | String. Pointing to `./validator_keys` by default | The folder path for the keystore(s) and deposit(s) |
| `--chain` | String. `mainnet` by default | The chain setting for the signing domain. |
| `--eth1_withdrawal_address` | String. Eth1 address in hexadecimal encoded form | If this field is set and valid, the given Eth1 address will be used to create the withdrawal credentials. Otherwise, it will generate withdrawal credentials with the mnemonic-derived withdrawal public key in [EIP-2334 format](https://eips.ethereum.org/EIPS/eip-2334#eth2-specific-parameters). |
Expand All @@ -130,7 +144,7 @@ You can use `existing-mnemonic --help` to see all arguments. Note that if there
| Argument | Type | Description |
| -------- | -------- | -------- |
| `--validator_start_index` | Non-negative integer | The index of the first validator's keys you wish to generate. If this is your first time generating keys with this mnemonic, use 0. If you have generated keys using this mnemonic before, use the next index from which you want to start generating keys from (eg, if you've generated 4 keys before (keys #0, #1, #2, #3), then enter 4 here.|
| `--num_validators` | Non-negative integer | The number of signing keys you want to generate. Note that the child key(s) are generated via the same master key. |
| `--num_validators` | Non-negative integer | The number of new signing keys you want to generate. Note that the child key(s) are generated via the same master key. |
| `--folder` | String. Pointing to `./validator_keys` by default | The folder path for the keystore(s) and deposit(s) |
| `--chain` | String. `mainnet` by default | The chain setting for the signing domain. |
| `--eth1_withdrawal_address` | String. Eth1 address in hexadecimal encoded form | If this field is set and valid, the given Eth1 address will be used to create the withdrawal credentials. Otherwise, it will generate withdrawal credentials with the mnemonic-derived withdrawal public key in [EIP-2334 format](https://eips.ethereum.org/EIPS/eip-2334#eth2-specific-parameters). |
Expand Down Expand Up @@ -199,6 +213,9 @@ You can also run the tool with optional arguments:
./deposit.sh existing-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
```

###### Language Argument

See [here](#language_argument) for `--language` arguments.
###### Commands

See [here](#commands)
Expand Down Expand Up @@ -262,6 +279,10 @@ python3 ./eth2deposit/deposit.py new-mnemonic --num_validators=<NUM_VALIDATORS>
python3 ./eth2deposit/deposit.py existing-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
```

###### Language Argument

See [here](#language_argument) for `--language` arguments.

###### Commands

See [here](#commands)
Expand Down Expand Up @@ -341,6 +362,10 @@ deposit.exe new-mnemonic --num_validators=<NUM_VALIDATORS> --mnemonic_language=e
deposit.exe existing-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
```

###### Language Argument

See [here](#language_argument) for `--language` arguments.

###### Commands

See [here](#commands)
Expand Down Expand Up @@ -399,6 +424,10 @@ You can also run the tool with optional arguments:
./deposit.sh existing-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
```

###### Language Argument

See [here](#language_argument) for `--language` arguments.

###### Commands

See [here](#commands)
Expand Down Expand Up @@ -459,6 +488,10 @@ python .\eth2deposit\deposit.py new-mnemonic --num_validators=<NUM_VALIDATORS> -
python .\eth2deposit\deposit.pyexisting-mnemonic --num_validators=<NUM_VALIDATORS> --validator_start_index=<START_INDEX> --chain=<CHAIN_NAME> --folder=<YOUR_FOLDER_PATH>
```

###### Language Argument

See [here](#language_argument) for `--language` arguments.

###### Commands

See [here](#commands)
Expand Down
7 changes: 5 additions & 2 deletions build_configs/linux/build.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ block_cipher = None

a = Analysis(['../../eth2deposit/deposit.py'],
binaries=[],
datas=[('../../eth2deposit/key_handling/key_derivation/word_lists/*.txt', './eth2deposit/key_handling/key_derivation/word_lists/')],
datas=[
('../../eth2deposit/key_handling/key_derivation/word_lists/*.txt', './eth2deposit/key_handling/key_derivation/word_lists/'),
('../../eth2deposit/intl', './eth2deposit/intl',)
],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
Expand Down
17 changes: 15 additions & 2 deletions build_configs/linux/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
-r ../../requirements.txt

# Build tools for binary distribution
PyInstaller==3.6 \
--hash=sha256:3730fa80d088f8bb7084d32480eb87cbb4ddb64123363763cf8f2a1378c1c4b7
pyinstaller==4.2 \
--hash=sha256:f5c0eeb2aa663cce9a5404292c0195011fa500a6501c873a466b2e8cad3c950c
setuptools==49.2.0 \
--hash=sha256:272c7f48f5cddc5af5901f4265274c421c7eede5c8bc454ac2903d3f8fc365e9 \
--hash=sha256:afe9e81fee0270d3f60d52608549cc8ec4c46dada8c95640c1a00160f577acf2
Expand Down Expand Up @@ -45,3 +45,16 @@ altgraph==0.17 \
macholib==1.14 \
--hash=sha256:0c436bc847e7b1d9bda0560351bf76d7caf930fb585a828d13608839ef42c432 \
--hash=sha256:c500f02867515e6c60a27875b408920d18332ddf96b4035ef03beddd782d4281
pyinstaller-hooks-contrib==2021.1 \
--hash=sha256:27558072021857d89524c42136feaa2ffe4f003f1bdf0278f9b24f6902c1759c \
--hash=sha256:892310e6363655838485ee748bf1c5e5cade7963686d9af8650ee218a3e0b031
importlib-metadata==3.10.0 \
--hash=sha256:c9db46394197244adf2f0b08ec5bc3cf16757e9590b02af1fca085c16c0d600a \
--hash=sha256:d2d46ef77ffc85cbf7dac7e81dd663fde71c45326131bea8033b9bad42268ebe
zipp==3.4.1 \
--hash=sha256:3607921face881ba3e026887d8150cca609d517579abe052ac81fc5aeffdbd76 \
--hash=sha256:51cb66cc54621609dd593d1787f286ee42a5c0adbb4b29abea5a63edc3e03098
typing-extensions==3.7.4.3 \
--hash=sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918 \
--hash=sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c \
--hash=sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f
9 changes: 6 additions & 3 deletions build_configs/macos/build.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ block_cipher = None


a = Analysis(['../../eth2deposit/deposit.py'],
binaries=[('/System/Library/Frameworks/Tk.framework/Tk', 'tk'), ('/System/Library/Frameworks/Tcl.framework/Tcl', 'tcl')],
datas=[('../../eth2deposit/key_handling/key_derivation/word_lists/*.txt', './eth2deposit/key_handling/key_derivation/word_lists/')],
binaries=None,
datas=[
('../../eth2deposit/key_handling/key_derivation/word_lists/*.txt', './eth2deposit/key_handling/key_derivation/word_lists/'),
('../../eth2deposit/intl', './eth2deposit/intl'),
],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
Expand Down
17 changes: 15 additions & 2 deletions build_configs/macos/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
-r ../../requirements.txt

# Build tools for binary distribution
PyInstaller==3.6 \
--hash=sha256:3730fa80d088f8bb7084d32480eb87cbb4ddb64123363763cf8f2a1378c1c4b7
pyinstaller==4.2 \
--hash=sha256:f5c0eeb2aa663cce9a5404292c0195011fa500a6501c873a466b2e8cad3c950c
setuptools==49.2.0 \
--hash=sha256:272c7f48f5cddc5af5901f4265274c421c7eede5c8bc454ac2903d3f8fc365e9 \
--hash=sha256:afe9e81fee0270d3f60d52608549cc8ec4c46dada8c95640c1a00160f577acf2
Expand Down Expand Up @@ -45,3 +45,16 @@ altgraph==0.17 \
macholib==1.14 \
--hash=sha256:0c436bc847e7b1d9bda0560351bf76d7caf930fb585a828d13608839ef42c432 \
--hash=sha256:c500f02867515e6c60a27875b408920d18332ddf96b4035ef03beddd782d4281
pyinstaller-hooks-contrib==2021.1 \
--hash=sha256:27558072021857d89524c42136feaa2ffe4f003f1bdf0278f9b24f6902c1759c \
--hash=sha256:892310e6363655838485ee748bf1c5e5cade7963686d9af8650ee218a3e0b031
importlib-metadata==3.10.0 \
--hash=sha256:c9db46394197244adf2f0b08ec5bc3cf16757e9590b02af1fca085c16c0d600a \
--hash=sha256:d2d46ef77ffc85cbf7dac7e81dd663fde71c45326131bea8033b9bad42268ebe
zipp==3.4.1 \
--hash=sha256:3607921face881ba3e026887d8150cca609d517579abe052ac81fc5aeffdbd76 \
--hash=sha256:51cb66cc54621609dd593d1787f286ee42a5c0adbb4b29abea5a63edc3e03098
typing-extensions==3.7.4.3 \
--hash=sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918 \
--hash=sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c \
--hash=sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f
7 changes: 5 additions & 2 deletions build_configs/windows/build.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ block_cipher = None

a = Analysis(['..\\..\\eth2deposit\\deposit.py'],
binaries=[],
datas=[('..\\..\\eth2deposit\\key_handling\\key_derivation\\word_lists\\*.txt', '.\\eth2deposit\\key_handling\\key_derivation\\word_lists')],
datas=[
('..\\..\\eth2deposit\\key_handling\\key_derivation\\word_lists\\*.txt', '.\\eth2deposit\\key_handling\\key_derivation\\word_lists'),
('..\\..\\eth2deposit\\intl', '.\\eth2deposit\\intl'),
],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
Expand Down
17 changes: 15 additions & 2 deletions build_configs/windows/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
-r ../../requirements.txt

# Build tools for binary distribution
PyInstaller==3.6 \
--hash=sha256:3730fa80d088f8bb7084d32480eb87cbb4ddb64123363763cf8f2a1378c1c4b7
pyinstaller==4.2 \
--hash=sha256:f5c0eeb2aa663cce9a5404292c0195011fa500a6501c873a466b2e8cad3c950c
setuptools==49.2.0 \
--hash=sha256:272c7f48f5cddc5af5901f4265274c421c7eede5c8bc454ac2903d3f8fc365e9 \
--hash=sha256:afe9e81fee0270d3f60d52608549cc8ec4c46dada8c95640c1a00160f577acf2
Expand Down Expand Up @@ -65,3 +65,16 @@ pywin32==228 \
pywin32-ctypes==0.2.0 \
--hash=sha256:9dc2d991b3479cc2df15930958b674a48a227d5361d413827a4cfd0b5876fc98 \
--hash=sha256:24ffc3b341d457d48e8922352130cf2644024a4ff09762a2261fd34c36ee5942
pyinstaller-hooks-contrib==2021.1 \
--hash=sha256:27558072021857d89524c42136feaa2ffe4f003f1bdf0278f9b24f6902c1759c \
--hash=sha256:892310e6363655838485ee748bf1c5e5cade7963686d9af8650ee218a3e0b031
importlib-metadata==3.10.0 \
--hash=sha256:c9db46394197244adf2f0b08ec5bc3cf16757e9590b02af1fca085c16c0d600a \
--hash=sha256:d2d46ef77ffc85cbf7dac7e81dd663fde71c45326131bea8033b9bad42268ebe
zipp==3.4.1 \
--hash=sha256:3607921face881ba3e026887d8150cca609d517579abe052ac81fc5aeffdbd76 \
--hash=sha256:51cb66cc54621609dd593d1787f286ee42a5c0adbb4b29abea5a63edc3e03098
typing-extensions==3.7.4.3 \
--hash=sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918 \
--hash=sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c \
--hash=sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f
Loading