Git Product home page Git Product logo

downtown-stimulus's Introduction

๐Ÿšง Work in Progress

An attempt at simple quadratic funding using crypto (NEAR) for downtown businesses affected by covid-19; while learning some rust ;).

Idea

The dapp has 3 users:

  • Major donors, philanthropists, local governments etc willing to offer stimulus
  • Business owners seeking funding
  • Individual donors willing to donate to their local favorite businesses

The dapps utilizes quadratic funding, first described by Vitalik, to realize fairer disbursement of a large sum of aid to a select set of businesses (affected by covid-19). Quadratic funding lets the public vote (by also donating) on the allocation of these funds where, the payout for each of these businesses is proportional to the square of the sum of the square roots of the individual public contributions.

For example, here is a breakdown of the allocation of $100k pledged by a donor to a group of 3 businesses in a funding round:

Business Funding from public Total Public Funding Matched Total Public + Matched Total
A 2200, 800, 400 3,400 9,060 12,460 30,156
B 10000 10,000 10,000 20,000 48,405
C 100, 300, 50, 100, 300, 70, 300 1,220 7,638 8,858 21,438
Total 100,000

We can see that business C did get the best allocation ratio due to having more interest from the public in terms of the number of contributors. Gitcoin uses a similar matching to allocate funds provided by Ethereum Foundation and ConsenSys to sponsor awesome open source projects.

Tools

The dapp is a Near Platform dapp that allows users to vote on these businesses using their Near Tokens. The demo can be accessed at https://downtown-stimulus.surge.sh.

Todos

  • Create funding round
  • Allow philanthropists to fund the round
  • Allow business application
  • Allow funding a business
  • Implement donation and CLR matching
  • Donation social media share
  • Funding window closure and payout to businesses

Icebox

  • Switch to Gitcoin's CLR matching to prevent sybil attacks ๐Ÿค”

Resources

downtown-stimulus's People

Contributors

kelonye avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

downtown-stimulus's Issues

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.