A decentralized & effective way of distributing rewards to workstream contributors.
This build uses events for storing members, votes, elections and minimizes on-chain storage.
Built with 🏗 Scaffold-ETH as a Moonshot collective project.
Prerequisites: Node plus Yarn and Git
git clone https://github.com/carletex/quadratic-diplomacy.git
cd quadratic-diplomacy
yarn install
yarn chain
cd quadratic-diplomacy
yarn start
Copy your local burner wallet address (top right)
In packages/hardhat/deploy/00_deploy_your_contract.js
paste your wallet address:
const TO_ADDRESS = "YOUR_FRONTEND_ADDRESS";
You can also tweak the script (add test data, etc)
In a third terminal window, run:
cd quadratic-diplomacy
yarn deploy
📱 Open http://localhost:3000 to see the app
Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io