20201119 Quadratic Voting とQuadratic Fundingを読む
GitCoinのQuadratic VotingとQuadratic Fundingのリファレンス実装を読む。Quadratic Votingのレファレンス実装は、QuadraticVote.coであり、Quadratic Fundingのレファレンス実装は、WTF QFである。
GITCOIN QuadraticVote.co
二次投票をホストするための簡単なツール。二次投票は、民主的なコミュニティで投票するための数学的に最適な方法です。方向性だけでなく、好みの程度を表す投票を割り当てることにより、集合的な意思決定を通じて投票します。
デモサイト:QuadraticVoteのデモサイト
https://quadratic-voting.vercel.app/
イベントを作成して、そのイベントに対して投票をする。
イベントを作成する。イベントの二次投票を設定します。
投票する。シークレットコードを使用して投票します。
ソースコード:QuadraticVoteのソースコード
https://github.com/anish-agnihotri/quadratic-voting
イベントと投票が可能なアプリケーションのSQLスキーマを作成して、そのアプリケーションのQVの計算ロジックの計算ロジックを記述する。
prisma/schema.sql イベントと投票が可能なアプリケーションのSQLスキーマ:
https://github.com/Anish-Agnihotri/quadratic-voting/blob/master/prisma/schema.sql
pages/api/events/details.js  QVの計算ロジック
https://github.com/Anish-Agnihotri/quadratic-voting/blob/master/pages/api/events/details.js
その他のプロジェクト:Solidtyなど複数の言語
https://github.com/search?q=quadratic+voting
Quadratic Funding
GitCoin, WTF QF: JavaScript
https://wtfisqf.com
https://github.com/anish-agnihotri/quadratic-funding
GitCoin, downtownstimulus:JavaScriptとPython
https://github.com/gitcoinco/downtownstimulus
Ethify, downtownstimulus:JavaScriptとPython
https://downtownstimulus.com/
https://github.com/ethify/downtownstimulus
その他のプロジェクト:Solidtyなど複数の言語
https://github.com/search?q=quadratic+funding
Quadratic VotingとQuadratic Funding
- Vitalik Buterin, Zo¨e Hitzig, E. Glen Weyl A Flexible Design for Funding Public Goods: Quadratic VotingとQuadratic Fundingのドキュメント