Getting Started
This guide walks you through setting up the Rugdrome monorepo, compiling the smart contracts, and running the test suite.
Prerequisites
Clone the Repository
bash
git clone https://github.com/TerexitariusStomp/equalizer-improved.git
cd equalizer-improvedInstall Dependencies
bash
npm installEnvironment Variables
Copy the example environment file and fill in the required values:
bash
cp .env.example .envEdit .env:
bash
# Private key used for deployment (keep secret)
PRIVATE_KEY=
# Blockscout API key for Robinhood Chain verification
ROBINHOOD_BLOCKSCOUT_API_KEY=
# Enables gas reporter in tests
REPORT_GAS=WARNING
Never commit .env or any private key. This repository uses .gitignore to exclude sensitive files.
Compile Contracts
bash
npm run compileRun Tests
bash
npm run testRun the Full E2E Suite
bash
npx hardhat test test/e2e.jsRun Foundry Tests
bash
forge testRun the Frontend
bash
cd frontend
npm install
npm run devThe frontend will be available at http://localhost:3000 by default.
Run the Documentation Site
bash
cd docs
npm install
npm run devThe docs will be available at http://localhost:5173/docs/ by default.
Next Steps
- Read the Architecture overview.
- Explore the Smart Contracts reference.
- Learn how to deploy the protocol.