Skip to content

jidalii/push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Push: A GameFi DApp to Promote Healthy Living on Polygon

Link for slide: Google Slide

PushCoreV1 smart contract address on Polygon Amoy Testnet: 0x0908a7DEF53F2777d57293d0c0A0442A16EcDED9

Introduction

Welcome to Push, a revolutionary GameFi DApp designed to incentivize and reward healthy lifestyle choices among friends. With Push, users can commit to achieving health goals like sleeping before 11 PM or running 10 km per week. Successfully meeting these goals allows you or your friends to claim rewards, fostering a supportive community driven by wellness and accountability. Join us in building a healthier future, one task at a time.

Background

Modern lifestyle leads to poor health habits. Traditional digital health tools lack sustained engagement and accountability for users.

Blockchain provides transparency and fairness. Push leverages blockchain for gamifying health activities, offering transparent tracking and rewards. And zero knowledge cryptography provides privacy for users by giving users a chance to prove that they only satisfy the given constraints of a task rather than revealing their whole information.

Push gamifies health goals via making users able to post tasks for themselves. It focuses on a wide range of health commitments and incorporates deep social interactions.

Toolkit

  1. Frontend: React.js
  2. Backend: Express.js, hardhat, snarkjs
  3. Smart Contract: Solidity, Polygon
  4. zk-proof: circom, snarkjs, circomlib, circom-ecdsa

Setup the Daap

1) install dependencies

    cd server
    npm install
    cd ../client/
    npm install

2) run backend

    cd server
    npm start run

3) run frontend

    cd client
    npm start run

File Structure

  1. Frontend: ./client
  2. Backend: ./server
  3. Smart contract: ./smart-contract
  4. Circom: ./zk

Architecture

To view more about the interface, workout of posting tasks and claiming rewards, please go to flowchart.drawio:

  1. Page 1: interface

  2. Page 2: mode

  3. Page 3: workflow of posting a task

  4. Page 4: workflow of claiming rewards

About

Push: a GameFi DApp to promote healthy living on Polygon

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published