Project Plan - Multiple Data Integration to Fabric Climate Accounting Network
Abstract
Implement client side security for the Climate SIG's Hyperledger Fabric application, so that transactions could be signed using Metamask through TrustId.
Mentor and Mentee
Mentor | Mentor | Mentee |
---|---|---|
Bertrand Rioux EST | Si Chen US PST |
Communication channel: Email + Github
Project repo:
Explanation
The Hyperledger Labs blockchain-carbon-accounting project includes a Hyperledger Fabric network for recording the carbon and Greenhouse Gas (GHG) emissions that cause climate change. Since there are many activities that cause such emissions, the network is designed to accept data from multiple sources of measurements. In this project, we will demonstrate integrations from measurement sources with blockchain networks by integrating the ThoughtWorks cloud computing emissions calculator, the NREL OpenPath mobile application, and other web- and mobile-based API's sources to turn instrumented readings into emissions measurements. It will leverage previous projects involving Hyperledger Cactus, Vault security engines, and client security for Hyperledger Fabric.
See Transportation Emissions, Reducing Methane Leakage and Flaring through Supply Chain Tokens, and the 2021-05-10 Peer Programming Call for the Thoughtworks Cloud Computing Carbon Footprint Calculator.
Deliverables
- 1 Integration of oil and gas production reports into hyper-ledger fabric emissions-data channel:
- 2
- 3
- 4
Links
Related mentorship from last year: Blockchain Integration for Climate Emissions Data with Fabric and Cactus.
Data sources for monthly crude and other liquids production:
https://www.eia.gov/dnav/pet/pet_crd_api_adc_mbblpd_m.htm
https://www.eia.gov/dnav/ng/ng_prod_sum_a_EPG0_VGV_mmcf_m.htm (Gros Withdraws, Vented & Flared, Marketed Production)
Milestones
Eval 1:
- a Integrate TrustID with Fabric
Eval 2:
Eval 3:
Eval 4:
Timeline
Week | Task/Plan | Status |
---|---|---|
June 1 - 14 | Mentee intro, intro blockchain carbon accounting project and deploying fabric emissions data channel | Completed |
June 13 - 24 | Look into modifying chaincode to call emission records from external database (postgres). Learn how to setup API calls from Fabric. Look at work done on the Blockchain Carbon Accounting project in Fall of 2020 making API call to DynamoDB from emissionscontract chaincode. | Completed |
June 27 - July 8 | Work on setting up the postgres db and emissionscontract modification | Completed |
July 11 - July 22 | Modify the chaincode and proper documentation of oracle api as well as proof of working with mock data | Completed PR: https://github.com/hyperledger-labs/blockchain-carbon-accounting/pull/583 |
July 25 - Aug 5 | Work on containerization of api as well as caching of oracle responses for api calls from peers | In progress |
Aug 8 - 19 | Chaincode modification to take in custom emission query arguments for external db and selection of oracle endpoint for the emissioncontract chaincode | In progress |
Aug 22 - Sep 9 | ||