Skip to content

gitcoinco/easy-retro-pgf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

41e6f79 · Mar 2, 2025
May 6, 2024
Sep 12, 2024
Jul 5, 2024
Mar 2, 2025
Jul 5, 2024
Dec 21, 2023
Dec 21, 2023
Feb 29, 2024
Jul 5, 2024
Dec 23, 2024
Jun 20, 2024
May 23, 2024
Apr 7, 2024
Dec 23, 2024
Dec 21, 2023
Dec 21, 2023
Mar 22, 2024
Mar 26, 2024
Dec 23, 2023

Repository files navigation

EasyRetroPGF

Documentation

Supported Networks

All networks EAS is deployed to are supported

Mainnets

  • Ethereum
  • Optimism
  • Base
  • Arbitrum One
  • Linea
  • Celo
  • Filecoin

Testnets

  • Sepolia
  • Optimism Goerli
  • Base Goerli
  • Arbitrum Goerli
  • Polygon Mumbai
  • Linea Goerli

Development

To run locally follow these instructions:

git clone https://github.com/gitcoinco/easy-retro-pgf

bun install # (or pnpm / yarn / npm)

cp .env.example .env # and update .env variables

docker-compose up # starts a local postgres instance

bun run dev

bun run db:push # create database tables

open localhost:3000

Technical details

  • EAS - Projects, profiles, etc are all stored on-chain in Ethereum Attestation Service
  • Batched requests with tRPC - Multiple requests are batched into one (for example when the frontend requests the metadata for 24 projects they are batched into 1 request)
  • Server-side caching of requests to EAS and IPFS - Immediately returns the data without calling EAS and locally serving ipfs cids.
  • SQL database for ballots - Votes are stored privately in a Postgres database
  • Allo2 for token distribution - Payouts are calculated based on amount of configured tokens in the pool and the vote calculation