/Identity-3.0

Decentralized Identity Management System with OAuth Capabilities, Using Ethereum

Primary LanguageJavaScript

Identity 3.0

Screenshots of Dapp

alt text alt text alt text alt text alt text

Quick Installation

  1. Download the project and decompress it into the folder ~/idm (or wherever you want).
  2. Start ganache (or your private blockchain).
  3. Open the terminal (if you are using Windows you must use the Power Shell) in the folder ~/idm and run the command:
$ truffle console --network ganache
  1. If ganache is running you should be inside the truffle console; now run the following command in the truffle console:
> migrate --reset --compile-all
  1. If the migration was successful, copy the file ~/idm/build/contracts/Users.json into the folder ~/idm/app-users/src/assets/
  2. Open another terminal in the folder ~/idm/app-users and run the command:
$ npm install
  1. Once all the dependencies are installed run the command:
$ npm run dev

If everything went fine, the terminal will display a message similar to:

DONE  Compiled successfully in 5166ms           15:54:53

Your application is running here: http://localhost:8080
  1. Open the browser, go to the URL shown by your terminal and play with the DApp!

NOTE: if you want to try to add more user profiles you have to install metamask in your browser, then import the accounts into metamask and finally change account on metamask in order to register a new user.