raymondwcs / coupon

A proof of concept example of implementing e-coupons using non-fungible token (NFT)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A PoC Implementation of E-Coupons Using Non-Fungible Token (NFT)

An e-coupon, and more specifically its entitlement, is modelled using a RC721 token. Two key end user operations redeem and transfer are modeled as Ethereum transactions in the Solidity contact.

Running the app

The app and a personal Ethereum blockchain have been dockerized.

  1. To start the app and ganache-cli
docker-compose up
  1. Open localhost:3000 in your web browser to run the app

Screenshoot

About

A proof of concept example of implementing e-coupons using non-fungible token (NFT)


Languages

Language:JavaScript 85.6%Language:Solidity 7.3%Language:HTML 4.4%Language:CSS 2.4%Language:Dockerfile 0.4%