Skip to content

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-improved

Install Dependencies ​

bash
npm install

Environment Variables ​

Copy the example environment file and fill in the required values:

bash
cp .env.example .env

Edit .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 compile

Run Tests ​

bash
npm run test

Run the Full E2E Suite ​

bash
npx hardhat test test/e2e.js

Run Foundry Tests ​

bash
forge test

Run the Frontend ​

bash
cd frontend
npm install
npm run dev

The frontend will be available at http://localhost:3000 by default.

Run the Documentation Site ​

bash
cd docs
npm install
npm run dev

The docs will be available at http://localhost:5173/docs/ by default.

Next Steps ​

Released under the GNU AGPL v3 License.