Skip to content

EpicsDAO/solv2

Repository files navigation

solv Follow @EpicsDAO2

CLI Tool for Managing Solana Validators - "solv"

solv is a comprehensive command-line utility designed for Solana network validators. It simplifies the process of setting up, monitoring, and managing Solana validators, offering streamlined operations and enhanced performance insights. Whether you're a seasoned Solana validator or just getting started, solv provides the tools you need to ensure optimal validator operations on the Solana blockchain.

Solana Validator Setup

Linux Ubuntu 20.04 TS Linux Ubuntu 22.04 TS

$ sh -c "$(curl -sSfL "https://storage.googleapis.com/epics-bucket/resource/solv2/v2.1.0/install")"

solv

Generate Solana Validator Keys and Config

$ solv setup

Start Solana Validator

$ solv start

Stop Solana Validator

$ solv stop

Restart Solana Validator

$ solv restart

Default solana-validator.sh command is --no-incremental-snapshots.

If you want to download snapshot, you can use the following command.

$ solv restart --snapshot

This command will automatically remove --no-incremental-snapshots and add --no-genesis-fetch, --no-snapshot-fetch to yoursolana-validator.sh command.

Solana Validator Status

$ solv status

Solana Validator Logs

$ solv log

Show Solana Validator Config

This command will show your all config paths which are used by solana validator.

$ solv config

Solana Delegation Program

https://solana.org/delegation-program

solv CLI

$ solv --help
Usage: solv [options] [command]

CLI for Solana Validators

Options:
  -V, --version                         output the version number
  -h, --help                            display help for command

Commands:
  solv                                  Show Solv AA
  epoch                                 Get Current Epoch
  slot                                  Get Current Slot
  config|c                              Show Solv Validator Config
  status                                Show Solana Validator Status
  start                                 Start Solana Validator
  restart [options]                     Restart Solana Validator
  stop                                  Stop Solana Validator
  check                                 Check Solana Validator Environment
  install|i [options]                   Solana Install/Update Command
  mt [options]                          Linux Mount Command
  umt [options]                         Solana Umount Command
  mtr                                   Mount Reload Command
  setup [options]                       Setup Solana Validator All-in-One
  df                                    Disk Free Command
  lsblk|ls                              Solana Disk Usage Command
  stake [options] <stakeAccountPubkey>  Solana Delegate Stake Command
  update|u [options]                    Solana Version Update, Restart and Monitoring Delinquent Stake
  log|l [options]                       tail logs
  release|r [options] <version>         publish release
  help [command]                        display help for command

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/EpicsDAO/solv2 This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The package is available as open source under the terms of the Apache-2.0 License.

Code of Conduct

Everyone interacting in the SKEET project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.