Skip to content

IBM/global-citizen-track-pledges-IBP20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

global-citizen-track-pledges

Run the particpants app

  • 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.js
node addAidOrg.js
  • Register and add government organization on the network
cd ../gov-org/
node registerGovOrg.js
node 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.js

Run the entire application as one user

You 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published