Skip to main content

Installation

The Starknet Staking v2 validator can be installed using several methods. Choose the one that best fits your environment and needs.

Pre-compiled Binaries

The easiest way to get started is by downloading pre-compiled binaries from our release page.

  1. Visit the releases page
  2. Download the appropriate binary for your operating system
  3. Make the binary executable (on Unix systems):
    chmod +x validator
  4. Run the validator:
    ./validator --help

Building from Source

Prerequisites

Build Steps

  1. Clone the repository:

    git clone https://github.com/NethermindEth/starknet-staking-v2.git
    cd starknet-staking-v2
  2. Build the validator:

    make validator
  3. The binary will be available at ./build/validator

  4. Verify the installation:

    ./build/validator --help

Using Docker

Prerequisites

  • Docker installed and running

Pull the Image

docker pull nethermind/starknet-staking-v2

Run with Docker

docker run nethermind/starknet-staking-v2 --help