Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.42 KB

File metadata and controls

32 lines (21 loc) · 1.42 KB

0004-FGTP-Content-Address-EACs | Scraper

by Momcilo Dzunic aka smartbee.eth

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

  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 (done)

License

Licensed under the MIT license. http://www.opensource.org/licenses/mit-license.php