Skip to content

Selective disclosure smart contracts protocol for sensitive data

License

Notifications You must be signed in to change notification settings

alice-si/selective-disclosure

Repository files navigation

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.

About

Selective disclosure smart contracts protocol for sensitive data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published