Skip to content

Gas Golf Leaderboard

Compete to solve challenges with the least gas.

Intermediate14h1–2 people16/20 fit
TL;DR

Build Gas Golf Leaderboard for solidity developers in ~14h with 1–2 people. Stack: Foundry + Next.js + Postgres.

Why it wins: Competitive and educational.

Build flow

01 · Problem
Gas optimisation is learned slowly with no feedback.
02 · Solution
Post challenges with test suites, measure gas of submissions with Foundry and rank them on a leaderboard.
03 · Build
  1. 1Write challenges
  2. 2Run Foundry gas reports
  3. 3Store results
  4. 4Rank
04 · Demo
Submit a solution and climb the leaderboard.

MVP checklist

  • Challenges
  • Gas measurement
  • Leaderboard
  • Solution reveal

Tech stack

TechRole
FoundryContract testing + deploy
Next.jsFrontend + API routes
PostgresRelational database

Reference repos

Open-source projects you can build on. Links checked 2026-10-31.

Related ideas

More Web3