alexfigtree / CoreID

For MIT Human Dynamics group blockchain-backed individual identity open source prototype
MIT License
4 stars 5 forks source link

CoreID

For Human Dynamics group blockchain-backed individual identity open source prototype

Getting Started

Setting up the bitcoin core

Summary: In this project we utilize the bitcoin core libraries for signing documents and claims and for validating the signatures, so we first need to download the bitcoin core binaries, and run the ./bitcoind with the correct configurations in the .bitcoin/bitcoin.conf file.

You can follow these instructions to set up your bitcoin core:

Setting up Nginx

Next we need nginx to get around CORS access involved with running a browser application that needs to communicate with the bitcoind server. We proxy the hosting of the web client and bitcoind rpc server through one port, so we do not get a CORS issue.

Demo

To check out the demo itself navigate to documents, and click on a document to sign. To sign simply click the signing button. An alert window should pop up, and after clicking continue another window confirming the signature, hashed payload, and public address used in the signing should pop up. If the signature section is undefined or empty either your bitcoind server is not up or the connection to it is blocked by cors and the proxy not being set up correctly.