Lido CLI tool for node operator key validation
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lido-cli-2.1.0.tar.gz
.
File metadata
- Download URL: lido-cli-2.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.8.10 Linux/5.11.0-35-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e34a70a959b3f038d503bbc8c5076e9426350eff136fb2be76f158955482ee37 |
|
MD5 | 0f9cf766f042216bfc56213c3eae0564 |
|
BLAKE2b-256 | 0e1af1dcb1091071aac6e2e0a5949ad260e66d1f1923338e6f12360a3e1ecf23 |
File details
Details for the file lido_cli-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: lido_cli-2.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.8.10 Linux/5.11.0-35-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f3937c2773f46b83ab40d69fb6ad1cedda055a44a1ba86e9f4c917dbd686c5 |
|
MD5 | 2c3d2e0a06397eacc5992589228b3a55 |
|
BLAKE2b-256 | 4ecca2fbbbae1f9b8c459a96206381079053de796567108cba290d9f57d1f60c |