kuroza / EHR-Besu

Blockchain-enabled Secure and Efficient Electronic Health Record Management System Using Hyperledger Besu, NuCypher, and IPFS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockchain-enabled Secure and Efficient Electronic Health Record Management System

Pre-requisites:

npm install -g truffle
  • Install Ganache:
npm install -g ganache-cli

To run the smart contract on a Ganache network using Truffle

Execute these commands to run the network and deploy the smart contract:

truffle develop
migrate --reset

Then run the tx.js script:

node scripts/tx.js

To run the smart contract on a Hyperledger Besu network

Follow the steps to run the Hyperledger Besu network:

https://besu.hyperledger.org/en/stable/private-networks/tutorials/ibft/#3-generate-node-keys-and-a-genesis-file

Deploying a smart contract to a private network:

truffle migrate --reset --network besu

Then run the tx.js script:

node scripts/tx.js

About

Blockchain-enabled Secure and Efficient Electronic Health Record Management System Using Hyperledger Besu, NuCypher, and IPFS.


Languages

Language:JavaScript 54.1%Language:Solidity 45.9%