GithubHelp home page GithubHelp logo

benbarahona / maci-rpgf-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from privacy-scaling-explorations/maci-platform

0.0 0.0 0.0 5.58 MB

EasyRetroPGF with MACI

Home Page: https://maci-rpgf.vercel.app

License: MIT License

JavaScript 6.81% TypeScript 93.11% CSS 0.08%

maci-rpgf-test's Introduction

MACI-RPGF

Documentation

MACI-RPGF uses EAS as backbone to run Retroactive Public Goods Funding to reward contributors (As used by the Optimism Collective) while adding a privacy layer to reduce bribery and collusion using MACI.

MACI-RPGF docs

MACI docs

Supported Networks

All networks EAS is deployed to are supported. If a network is not supported, you can follow the EAS documentation to deploy the contracts to the network.

Mainnets

  • Ethereum
  • Optimism
  • Base
  • Arbitrum One & Nova
  • Polygon
  • Scroll
  • Celo
  • Linea

Testnets

  • Sepolia
  • Optimism Sepolia
  • Base Sepolia
  • Polygon Mumbai
  • Scroll Sepolia

Development

To run locally follow these instructions:

git clone https://github.com/privacy-scaling-explorations/maci-rpgf

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

At the very minimum you need to configure a postgres database, nextauth, admin address, maci address and the voting periods. For more details head to Setup & Deployment. Once you have set everything run:

pnpm install

pnpm run dev

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.
  • MACI - Minimal Anti-Collusion Infrastructure (MACI) is an open-source public good that serves as infrastructure for private on-chain voting, handles the rounds and private voting of the badgeholders.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.