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.
- Visit the releases page
- Download the appropriate binary for your operating system
- Make the binary executable (on Unix systems):
chmod +x validator
- Run the validator:
./validator --help
Building from Source
Prerequisites
- Go compiler version
1.24
or above
Build Steps
-
Clone the repository:
git clone https://github.com/NethermindEth/starknet-staking-v2.git
cd starknet-staking-v2 -
Build the validator:
make validator
-
The binary will be available at
./build/validator
-
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