Node Operator Key Checker CLI
Installation
You can get this tool using pip:
pip install lido-cli
Or if you cloned this repository, install Python dependencies via:
./init.sh
Depending on how it's installed use:
lido-cli ...opts command ...opts or python lido_validate_keys.py ...opts command ...opts
Running
RPC Provider
This is the only thing required, the rest will be handled automatically unless overridden.
lido-cli --rpc https://mainnet.provider.io/v3/XXX validate_network_keys
Optional Parameters
By default, CLI will use embedded strings and ABIs, but you can specify your own arguments if needed. Make sure to use them on CLI itself and not on the command eg:
lido-cli --rpc https://mainnet.provider.io/v3/XXX --multicall_max_bunch 100 --multicall_max_workers 3 --multicall_max_retries 5 validate_network_keys
--rpc RPC provider for network calls.
--multicall_max_bunch Max bunch amount of Calls in one Multicall (max recommended 300).
--multicall_max_workers Max parallel calls for multicalls.
--multicall_max_retries Max call retries.
-d --details More logs about node operators and keys. (only for validate_network_keys)
Checking Network Keys
Command: validate_network_keys
Example:
lido-cli --rpc https://mainnet.provider.io/v3/XXX validate_network_keys
Checking Keys from File
Command: validate_file_keys
Specify the input file via --file
Example:
lido-cli --rpc https://mainnet.provider.io/v3/XXX validate_file_keys --file input.json
---
You can also get all commands and options via python lido_validate_keys.py --help
Metadata
Release files for lido-cli 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lido-cli-2.1.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lido_cli-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / lido-cli-2.1.0.tar.gz
| Download URL | lido-cli-2.1.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e34a70a959b3f038d503bbc8c5076e9426350eff136fb2be76f158955482ee37
|
|
BLAKE2b-256 checksum How to use checksums |
0e1af1dcb1091071aac6e2e0a5949ad260e66d1f1923338e6f12360a3e1ecf23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.8.10 Linux/5.11.0-35-generic
|
Release files / lido_cli-2.1.0-py3-none-any.whl
| Download URL | lido_cli-2.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6f3937c2773f46b83ab40d69fb6ad1cedda055a44a1ba86e9f4c917dbd686c5
|
|
BLAKE2b-256 checksum How to use checksums |
4ecca2fbbbae1f9b8c459a96206381079053de796567108cba290d9f57d1f60c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.8.10 Linux/5.11.0-35-generic
|