Skip to content

lidofinance/liquid-staking-vault-cli

Repository files navigation

Liquid Staking Vault CLI

A command-line interface (CLI) tool for managing liquid staking vaults. Simplify your staking operations with intuitive commands and streamlined workflows.

Table of Contents

Features

  • Easy Setup: Quick installation and configuration to get you started.
  • Vault Management: Create, update, and delete staking vaults with simple commands.
  • Monitoring: Track vault metrics.

Prerequisites

  • Node.js: Ensure you have Node.js (v20 or later) installed.
  • npm: Node Package Manager is required to install dependencies.

Installation

Install the Liquid Staking Vault CLI globally using npm:

npm install -g @lidofinance/lsv-cli

Alternatively, you can install it locally in your project:

npm install @lidofinance/lsv-cli

Configuration

Before using the CLI, configure your environment variables. You can set them in a .env file in your project root.

RPC_URL_17000=
RPC_URL_1=

# Contract addresses
DEPLOYED=deployed-holesky-vaults-devnet-0.json

# Wallet
PRIVATE_KEY_1=0x...
PRIVATE_KEY_17000=0x...

Usage

After installation and configuration, you can start using the CLI to manage your staking vaults.

lsv-cli [command] [options]
lsv-cli -h

Examples

VaultHub constants

lsv-cli vh constants -c 17000

Count of all vaults

lsv-cli vh v-count

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published