A command-line interface (CLI) tool for managing Lido staking vaults. Simplify your staking operations with intuitive commands and streamlined workflows.
For changes between versions see Changelog
- Easy Setup: Quick installation and configuration to get you started.
- Vault Management: Create and manage staking vaults with simple commands.
- Monitoring: Track vault metrics.
- Node.js: Ensure you have Node.js (v20 or later) installed.
- npm: Node Package Manager is required to install dependencies.
git clone [email protected]:lidofinance/lido-staking-vault-cli.git
Before using the CLI, configure your environment variables. You can set them in a .env
file in your project root.
CHAIN_ID=560048 // required
CL_URL=url
EL_URL=url
# Contract addresses
DEPLOYED=deployed-hoodi-vaults-testnet-2.json // required
# Wallet
PRIVATE_KEY=0x
# or encrypted file
# ACCOUNT_FILE=wallets/account.json
# ACCOUNT_FILE_PASSWORD=1234
# WalletConnect (optional)
# Note: WALLET_CONNECT_PROJECT_ID is NOT a secret. It is a public identifier
# of the application using WalletConnect.
WALLET_CONNECT_PROJECT_ID=ee928c025792b10a6daa97d85328c433
If you plan to manage contracts, the privateKey is a required property for this type of operations. For using elLink in the right way, be attentive to match the RPC resolver link and its chain ID.
After installation and configuration, you can start using the CLI to manage your staking vaults.
yarn start [command] [options]
yarn start -h
VaultHub constants
yarn start vo r info
Count of all vaults
yarn start contracts hub r v-count
For additional information about available methods and functionality, refer to the documentation for the Lido Staking Vault CLI.
This project is licensed under the MIT License.