Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/supernovahs/quadraticads-powered-by-worldid
https://github.com/supernovahs/quadraticads-powered-by-worldid
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/supernovahs/quadraticads-powered-by-worldid
- Owner: supernovahs
- Created: 2022-09-05T13:50:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-26T10:29:24.000Z (over 2 years ago)
- Last Synced: 2024-10-29T17:56:42.356Z (3 months ago)
- Language: TypeScript
- Homepage: worldads.vercel.app
- Size: 9.92 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WorldAds
It is an anonymous Quadratic funding mechanism for a public billboard using Semaphore proofs. World Id helps prevent sybil resistance, without which this idea was not viable.
## [Try it out](https://worldads.vercel.app/)
### Inspiration
[Vitalik's Article](https://vitalik.ca/general/2019/12/07/quadratic.html)
## How does it work ?
An admin creates a Billboard , where they store 6 images in the contract using ipfs/filecoin. The Billboard displays the Ads in different sizes on the screen . The ratio given to an Ad depends on the votes it has in relative to other Ads. If you want a particular Ad to get big space in the screen, you signal your vote by paying some amount which is determined using a special formula.## How is the cost of Voting Calculated?
```
Cost = 0.1 Matic * (n+1)
Where, n = The number of times you have signalled a particular Hash
```
For every individual , the n is different, based on there individual preferences. Signalling becomes expensive as you signal an Ad in particular.
## Relevant Information
The contracts are currently deployed on Polygon Mumbai . Development WorldId is used for Hackathon purposes as we don't have our Iris scanned(yet!).
For MVP purposes, there' s only 1 Billboard where you can vote.
## Stack Used
- Chakra
- Rainbow
- Tailwind
- WorldId
- Filecoin
- Polygon
- Foundry## Install locally
```
yarn
```
```
yarn dev
```