This project is a collection of smart contracts with a UI (Dapp) that manages data access logic for sensitive information.
This project requires node-js runtime and uses truffle as the Ethereum smart contract development framework.
In order to run it, install truffle first:
npm install -g truffle
Then install all of the node-js dependencies
npm install
Connection to blockchain node is defined in truffle.js:
networks: {
development: {
host: 'localhost',
port: 8545,
network_id: '*'
}
}
We recommend using popular Ethereum test client ganache-cli as a default node:
npm install -g ganache-cli
We created a demo dApp so you can interact and test the smart contracts in a visual environment rather than hacking console scripts. To run this mode, compile all of the smart contracts first:
truffle compile
... and then launch a demo server:
npm run dev
All comments and ideas for improvements and pull requests are welcomed. We want to improve the project based on feedback from the community.