Skip to content

udms100/Contracts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POINT Token Smart Contract

This repo contains the smart contract for the POINT Token System. The POINT Token System is a multi-tenant, decentralized loyalty and rewards system that runs on the Ethereum Blockchain.

To learn more about the POINT Token System, go to http://www.pointtoken.io. The website has a white paper which thoroughly outlines how the system works.

Installation

If all you want to do is read the contract, there is no installation required; just go to contracts\PointToken.sol.

If you want to run the contract locally or run the tests, you need to install Truffle:

npm install -g truffle

You also need to install testrpc for running the tests:

npm install -g ethereumjs-testrpc

Lastly, you need to do an npm install on the repo itself:

npm install

The Contract

The contract itself relies on the inheritance feature of Solidity to pull in several other Solidity files, all from the Open Zeppelin project. You can read these files by drilling into the node_modules\zeppelin-solidity directory. For understanding the logic of the POINT Token code itself, see the POINT Token white paper.

Running Tests

To run the unit tests on the contract, run

truffle test

Make sure that testrpc is running before you run the tests.

About

Ethereum Smart Contracts For The POINT Token System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%