Skip to content

protocol/0004-FGTP-Content-Address-EACs-Browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0004-FGTP-Content-Address-EACs | EACs Browser

by Momcilo Dzunic aka smartbee.eth

Simple previewer for attestation documents and base data schema (DAG) objects related to Renewable Energy Certificates (RECs) -> 0004-FGTP-Content-Address-EACs

Demo

https://filecoin-green-eac-browser.dzunic.net/

Use

Open-source PDF.js library is integrated into our project to render a PDF inside our app. After downloading the latest stable release and then extracting the contents, make sure libs folder is available in root directory of your project. Also, make sure your hosting address is added to HOSTED_VIEWER_ORIGINS in viewer.js file.

const HOSTED_VIEWER_ORIGINS = ["null", "http://mozilla.github.io", "https://mozilla.github.io", "https://localhost:3000", "http://localhost:3000"];

You would also need an running IPFS node to attach to since this app is using ipfs-http-client lib.

Thereafter run any of scripts defined in package.json

// clean dist
npm run clean

// build for production
npm run build

// run dev server with hot reload
npm run start

ToDo

  1. Crosscheck ZL source data against csv sources here and here
  2. Attestation documents lazy loading
  3. Attestation documents filtering
  4. Direct link to specific Attestation document

License

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

About

Simple previewer for attestation documents and base data schema (DAG) objects related to Renewable Energy Certificates (RECs)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published