https://github.com/protocol/0004-fgtp-content-address-eacs-scraper
Data schema to streamline the purchase, exchange, and retirement of Renewable Energy Certificates (RECs) from Brokers to PL
https://github.com/protocol/0004-fgtp-content-address-eacs-scraper
Last synced: 11 months ago
JSON representation
Data schema to streamline the purchase, exchange, and retirement of Renewable Energy Certificates (RECs) from Brokers to PL
- Host: GitHub
- URL: https://github.com/protocol/0004-fgtp-content-address-eacs-scraper
- Owner: protocol
- Created: 2022-04-21T14:52:51.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-29T07:15:11.000Z (almost 3 years ago)
- Last Synced: 2025-05-21T02:11:22.764Z (about 1 year ago)
- Language: JavaScript
- Size: 166 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 0004-FGTP-Content-Address-EACs | Scraper
by [Momcilo Dzunic aka smartbee.eth](https://twitter.com/mdzunic)
Develop base data schema (DAG) to streamline the purchase, exchange, and retirement of Renewable Energy Certificates (RECs) from Brokers to PL (via Zero Labs) -> [0004-FGTP-Content-Address-EACs](https://github.com/protocol/FilecoinGreen-tools/blob/main/0004-FGTP-Content-Address-EACs.md)
1. Design reusable DAG structures related to purchase, exchange, and retirement of RECs.
2. Scrap existing RECs (attestation documents) with relatable metadata from existing web2 sources.
3. Make this data available on IPFS → Filcoin for future on-chain use (EnergyWeb)
### Example IPLD structure on IPFS
https://explore.ipld.io/#/explore/bafyreiafzzl7rn6ebuyfmprvws2lyvjxhlb2qvrpsqheaa24acvrv5f6uu
### Use
To run the scraper (scraping data from WEB2 API)
npm run scraper
To run the creator (creating IPFS structures from CSV sources)
// Create IPFS structures for an order, contracts and allocations
npm run creator order-contracts-allocations
// Create IPFS structures for attestations and certificates
npm run creator attestations-certificates
### ToDo
~~1. Script for creating [ordering IPLD structures](https://docs.google.com/presentation/d/1fSjbg9dwdabxtgs2Uy8Km0WhB66-vOUC9WP08zBnnWE/edit#slide=id.g125378e22b0_0_0)~~ (done)
### License
Licensed under the MIT license.
http://www.opensource.org/licenses/mit-license.php