Giter Club home page Giter Club logo

ecoupon-on-blockchain's Introduction

The Neon Network -- E-coupons on Blockchain

  • Author: Lee Ting Ting & Hu Yao Chieh
  • Supervised by: Prof. HUI Pan & Dimitris Chatzopoulos from HKUST

Description

The Neon Network scaffolds a sustainable and scalable e-coupon market framework upon Ethereum network, facilitating secure value distribution gateways and non-falsifiability for e-coupons within the sophisticated networks of issuers and users. This paper presents a com- plete and generic solution to the emerging market needs of e-coupon on the blockchain, which entailed less manual costs and errors through providing non-falsifiable and non-repudiable coupon instances with the smart contract.

Demo

demo img

Tools Needed before you start

  1. bower: npm install -g bower
  2. testrpc: npm install -g ethereumjs-testrpc
  3. truffle: npm install -g truffle

* Description and relevant links for these tools can be found in the **Technologies used** section

Usage

  1. After cloning the repository, install the dependencies under this directory.
    npm install
  2. Install the bower componenets
    bower install
  3. Open testrpc in another terminal to create 10 distinct accounts for testing.
    testrpc
  4. Compile and deploy our smart contracts:)
    truffle migrate --reset
  5. Run our web app!
    npm start
  6. Our application is running on http://localhost:8080

Additional Notes

  • This repository is created as a minimized version (excluding the unit tests, etc.) from the original repository here.
    The smart contract sorce code is deployed on rinkeby

  • Testrpc has been taken by Truffle and thus has changed its name to ganache-cli. The above command can still work with its old features but not the lastest ones. More details please refer to their GitHub repo.

  • We are using Truffle Box for bootstraping with Truffle as the fundamental framework.

Technologies used

  1. The Truffle Framework - A development framework for Ethereum with built-in smart contract compilation, deployment, and testing.
  2. Truffle Box - Helpful boilerplates with integration of web3 and webpack
  3. Web3 - API for communicating with Ethereum nodes through RPC calls
  4. Webpack - A module bundler for organizing JavaScript files for usage in a browser
  5. TestRPC - A Node.js based Ethereum client for testing and development, which gen- erates ten funded accounts for testing purposes.
  6. Solidity - Programming language for smart contracts
  7. Bootstrap3 DatePicker - A library for date and time selection
  8. Bower - Offers a generic, unopinionated solution to the problem of front-end package management

License

Licensed under the MIT License




๐ŸŽ‰๐ŸŽ‰ This is the end of README. Hope you like it:) All suggestions are welcomed, thanks!! ๐Ÿ˜‰

ecoupon-on-blockchain's People

Contributors

dimhatzo avatar tina1998612 avatar yhuag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.