Skip to content

decentralised-ecosystem-prototype that leverages ipfs and hyperledger fabric

License

Notifications You must be signed in to change notification settings

PaddyMc/decentralised-ecosystem-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

decentralised-ecosystem-prototype

Prerequisites

Have configtxgen and cryptogen in $PATH

To start

Navigate to the /basic-network folder with CLI

Run commands:

  • ./start.sh

This spins up the distributed ledger and installs a chaincode contract

Interact with js

Navigate to the /javascript folder with CLI

Run commands:

  • node enrollAdmin.js
  • node registerUser.js
  • node server.js

URL: http://localhost:3001/people/updateRecord

URL: http://localhost:3001/people/addPerson

URL: http://localhost:3001/image/:query

URL: http://localhost:3001/record/:query

To exit

Navigate to the /basic-network folder with CLI

Run commands:

  • ./teardown.sh

About

decentralised-ecosystem-prototype that leverages ipfs and hyperledger fabric

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published