Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
/ healthycoin Public archive

A smart contract based application for health

Notifications You must be signed in to change notification settings

onebeyond/healthycoin

Repository files navigation

HealthyCoin

Ethereum based smart contract application implementing a health based reward system. WIP

How to build

  yarn # or yarn install
  yarn compile
  yarn dev

yarn compile compiles the smart contract and yields an json version ready to use with web3 in ethereum/build

How to use

In order to use the application, you must deploy the contract in your favourite ethereum network and you have to have an account in that to be able to make a deployment (that is trivial using truffle with ganache).

Once deployed, the deploying account will have 'Owner' role, and you will be able to add more accounts and play around with the application and the contract.

Contract model

The contract class diagram is as follows. You can check the implemented roles (which are Owner, Admin, Doctor and Patient sorted by granted privileges).

Class diagram

About

A smart contract based application for health

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published