Giter Site home page Giter Site logo

manapixels / popp Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 887 KB

Loyalty Rewards app built on Proof of Purchase Protocol

Home Page: https://popp.vercel.app

HTML 2.46% JavaScript 55.33% SCSS 29.12% Solidity 13.10%
defi ethereum dapp web3 solidity react

popp's Introduction

POPP

POPP unifies rewards and loyalty programs on Polygon.

Every transaction on POPP mints a Proof-of-Purchase, which, for simplicity and associability, is called a Stamp. Stamps allows users to redeem rewards on a unified platform, through promotion campaigns with merchants or affiliated partners.

Inspiration

Pain points:

  • Brands often have their own isolated apps for rewards. Users have to manage multiple reward systems. Brands have to build up their own reward system capabilities.
  • Since rewards are isolated, they can't be traded for cash or into other rewards
  • Non-physical reward systems require memberships. This requires users to register with their name, email address, and phone number to start collecting rewards.

Features

  • Purchase items using crypto; ordering and payment system
  • View and trade collected stamps on an open market like OpenSea
  • Redeem rewards
  • Cross-brand collaboration campaigns between merchants
  • Collect-them-all stamps for fun, social sharing

Technologies used

  • Solidity: Contract of the Proof-of-Purchase Protocol can be found in /contracts
    • Brand factory + brand contract to
      • manage mintable items (create, edit, delist items)
      • purchase and mint
      • create campaign contracts
    • Campaign contract
      • redemption of rewards
    • Mintable item contract
      • mint, burn
  • Chainlink & Umbrella Network: get price feeds for accurate exchange rates to brand owner's currency of choice

How to run

Define the following env variables

    REACT_APP_UMBRELLA_API_KEY
    REACT_APP_UMBRELLA_API_URL
    REACT_APP_UMBRELLA_REGISTRY_CONTRACT_ADDRESS
    REACT_APP_BLOCKCHAIN_PROVIDER_URL

To start the app:

yarn start

Future work

  1. Programmable rewards systems & stamps with custom rules

    • Upgradable Stamps: Tier 1 Stamps can be upgraded for Tier 2 tokens, etc.
    • Loyalty Stamps: Minted upon reaching significant milestones, qualifying Wallet Holder to a "buff" (e.g., discounts, VIP access)
    • Fragmentable Stamps: Bundled products represented by a stamp which can be broken into individual stamps, e.g. a Meal Stamp can be broken up into its components (1x burger, 1x fries, 1x beverage).
    • Limited Edition Stamps: Limited edition Stamps(seasonal, etc.) Stamps of Varying Rarities: Rare designs of Stamps may be collected for fun
  2. Marketplace for Stamp trading Development of a POPP-specific marketplace, or building on OpenSea.

  3. Brand verification Confirm identity of vendors (large brands, cross-branch collaboration)

  4. Community-driven Stamp designs Designs follow brand & product theme.

popp's People

Contributors

manapixels avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.