Store Hashed FHIR Resources on the blockchain
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
client
contracts
coverage
migrations
test
.gitignore
README.md
coverage.json
ethereum-account-scanner.js
package.json
server.js
startup.sh
truffle.js

README.md

The fhirprovenance project uses Ethereum's blockchain to store cryptographic hashes of FHIR resources so future resesource readers can verify that the data within the resource has not been tampered with.

Development

Start Truffle

npm install
npm install -g truffle
npm install -g ethereumjs-testrpc
./startup.sh
# leave this running in one terminal

Start the server

In different terminal window, compile truffle and start the server

truffle compile --network development
npm start

restart after changes

rm ./build/contracts/* && truffle compile -e development --network development && truffle migrate reset --network development --compile-all && npm start

Production

rm ./build/contracts/* && truffle compile -e production --network production && truffle migrate reset --network production --compile-all && npm start