Giter Club home page Giter Club logo

pooltogether-donut-pod's Introduction

pooltogether-donut-pod

Project built for the New York Blockchain Week hackathon organized by Gitcoin.

DONUT Pod is a PoolTogether Pod built for the r/EthTrader Reddit community. Members of the community can group their tickets in the DONUT Pod and increase their chances of winning the weekly DAI Prize.

Thank you to the PoolTogether and Gitcoin team for this opportunity. I've learned a ton and hope you'll like the project!

Pod Contracts

Contracts for the Pod are available in the following repo: https://github.com/PierrickGT/pods

Pool Contracts Mocks

This project is deployed on the Kovan test network. If you wish to run it in local, you can run the following contracts mocks: https://github.com/PierrickGT/pooltogether-contracts-mock

โฑ Quickstart:

First, you'll need NodeJS>=12 plus Yarn and Git installed.

๐Ÿ’พ Clone/fork repo, install and then start:

git clone https://github.com/pierrickgt/pooltogether-donut-pod.git

cd pooltogether-donut-pod

yarn install

Copy .env.example and replace API keys by yours:

cp .example.env .env

Start localhost:3000

yarn start

Live

https://cocky-kilby-df2929.netlify.app

pooltogether-donut-pod's People

Contributors

austintgriffith avatar forshtat avatar jacobwillemsma avatar pierrickgt avatar

Watchers

 avatar

pooltogether-donut-pod's Issues

As a user, I want to be able to use the app with different wallets

Description

Currently, users can only use the app with Metamask.
The goal is to use the different connectors provided by web3-react to allow users to connect to the app.

Test Scenario

  • I can connect using WalletConnect
  • I can connect using WalletLink
  • I can connect using Ledger
  • I can connect using Trezor (will probably need to purchase one in order to test)
  • I can connect using Frame
  • I can connect using Authereum
  • I can connect using Fortmatic
  • I can connect using Portis
  • I can connect using Squarelink
  • I can connect using Torus

Screenshot 2020-06-13 at 14 50 26
Screenshot 2020-06-13 at 14 50 55

As a developer, I want to migrate to Pool Together V3

Description

Version 3 of Pool Together contracts is right around the corner and should be released in the coming weeks.
The goal is to migrate to this version before implementing any new user features.

Test scenario

  • Join the pod
  • Withdraw from the pod

As a user, I would like to have a dashboard showing all the tickets I've bought

Description

After purchasing some tickets, I would like to know how much tickets I've purchased and also how much I've won already.

Test Scenario

  • Navigate to the Account dashboard
  • I can see the estimated weekly prize
  • I can see the number of pod tickets I've purchased
  • I can see my total balance
  • I can see my total winnings

Screenshot 2020-06-13 at 13 09 43

As a user, I would like to know my odds of winning

Description

When purchasing tickets, users should be able to know what are their odds of winning and how much they would won.

Test Scenario

  • Click to join the pod
  • Input the number of tickets you wish to purchase
  • Odds of winning should update while typing in the input field

Screenshot 2020-06-13 at 12 56 35

As a user, I want to be able to purchase tickets through the Account dashboard

Description

I want to be able to purchase pod tickets through the Account dashboard

Test Scenario

  • Navigate to the Account dashboard
  • Click on the Pod
  • A modal pops up and I can see the next draw date and the number of tickets currently in the Pod
  • I can click on a Join Pod button
  • The modal to purchase tickets pops up

Screenshot 2020-06-13 at 13 14 17
Screenshot 2020-06-13 at 14 19 09

As a user, I want to be able to purchase tickets with DONUT token

Description

I want to be able to purchase Pod tickets with DONUT tokens.
This feature being one of the most complex, some research needs to be done.
Do we allow users to swap their DONUT tokens for some DAI tokens? Or do we swap directly DONUT tokens to DAI under the hood?
The first solution seems easier while the second one seems more user friendly.

Test Scenario
To write after choosing a technical solution

Screenshot 2020-06-13 at 14 01 11
Screenshot 2020-06-13 at 14 01 23

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.