Skip to content

carletex/eth-bogota-2022

Repository files navigation

🚀 Contributor Streams

Payment system for organizations to pay contributors based on contributions in a recurring way.

View the slides here.

Overview

This projects aims to provide a solution to DAO's to pay contributors based on contributions.

Here's how the contributor streams work:

  • Pay contributors based on contributions
  • Contributors can go & come back to the same stream
  • Stream contract is funded based on withdrawn amounts thats adjusted dynamically
  • Salary & Contribution Transparency

Tools Used

  • Scaffold-eth: provides fast prototyping
  • Superfluid: money streaming to the DAO contract in Supertokens.
  • Wallet connect: web3 login, users can login to the website and withdraw. Contributors will have to make a transaction where they provide the work and the money they are withdrawing for it.
  • ENS: web3 identity.
  • Optimisim & Polygon: deployed to the networks

Quick Start

Prerequisites: Node (v16 LTS) plus Yarn (v1.x) and Git

clone/fork the repo:

git clone https://github.com/carletex/eth-bogota-2022.git

install and start your 👷‍ Hardhat chain:

cd eth-bogota-2022
yarn install
yarn chain

in a second terminal window, start your 📱 frontend:

cd eth-bogota-2022
yarn start

in a third terminal window, 🛰 deploy your contract:

cd eth-bogota-2022
yarn deploy

🔏 View the smart contract BGSuperfluidStreams.sol in packages/hardhat/contracts


This project was built for ETH Bogota Hackathon!