yihau / QF

a quadratic funding implementation on Solana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QF

a quadratic funding implementation on Solana

Quick Start

  1. Setup Solana
  2. run solana-testnet-validator in local
  3. npm install
  4. npm run start

Program

there are some instructions in the program

StartRound

Start a new round. The valut controlled by the program derrived address. If the init valut is not empty, the value will be treated as a fund in the round.

Donate

Add more fund in a round.

RegisterProject

Register a project to the round.

InitVoter

You need to init a voter if you want to vote. There are different voters for different project.

Vote

Vote to a project which you like.

Withdraw

When a round is end, project owner can withdraw the fund they got.

EndRound

Only owenr of round can end a round.

Page

There is a quick frontend page in src/page

About

a quadratic funding implementation on Solana

License:MIT License


Languages

Language:TypeScript 66.6%Language:Rust 30.9%Language:HTML 1.7%Language:CSS 0.9%