Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.26 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.26 KB

Selective Disclosure Access Management App

This project is a collection of smart contracts with a UI (Dapp) that manages data access logic for sensitive information.

Installation

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

Demo dApp

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

Contributions

All comments and ideas for improvements and pull requests are welcomed. We want to improve the project based on feedback from the community.