- Install Dependencies
cd participant-apps/
npm install- Enroll Admin
node enrollAdmin.js- Register and add Global Citizen on the network
node registerGlobalCitizen.js node addGlobalCitizen.js- Register and add aid organization on the network
cd ../aid-org/
node registerAidOrg.jsnode addAidOrg.js- Register and add government organization on the network
cd ../gov-org/
node registerGovOrg.jsnode addGovOrg.js- Create pledge as the aid organization
cd ../aid-org/
node createProjectPledge.js- Send pledge to global citizen for review, form the aid organization
node sendPledgeToGlobalCitizen.js - After global citizen reviews the pledge, they can send the pledge to the government organization for review
cd ../global-citizen/
node sendPledgeToGovOrg.js- The government organization after reviewing the pledge, can decide to fund it.
cd ../gov-org/
node fundPledge.js- The government organization fundings can be tracked as they transfer funds for the pledge
node fundPledge.jsYou can run the application as one user identiy adding all participants and running transaction.
- Install Dependencies
cd participant-apps/
npm install- Run the app
node application.js