Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.58 KB

File metadata and controls

55 lines (36 loc) · 1.58 KB

SSV Network

Developer setup

This repository uses Solidity, Hardhat, TypeScript scripts, npm dependencies, and just recipes as the main local workflow.

Prerequisites

  • Node.js LTS
  • npm
  • just for running the repository workflows

Optional but useful:

  • Anvil for fork-based testing and upgrade validation
  • Slither for static analysis
  • Echidna for invariant fuzzing

Install dependencies

npm install

Configure the environment

Copy the example file and fill in the values needed for the environments you use:

cp .env.example .env

Common variables:

  • MAINNET_RPC_URL and HOODI_RPC_URL for RPC access
  • MAINNET_PRIVATE_KEY and HOODI_PRIVATE_KEY for live owner or deployer actions
  • ETHERSCAN_KEY for block-explorer verification

The environment-specific deployment source of truth lives under deployments/<env>/config.json. The .env file mainly supplies RPC and signer credentials.

Compile and test

just build
just test-unit

Useful next steps: