@filecoin-renewable-energy-purchases/js-api | How to use example

by Momcilo Dzunic aka smartbee.eth

Use

// install packages
npm install .

// get contracts and allocations
npm run example-contracts-and-allocations

// get contracertificatescts and attestations
npm run example-certificates-and-attestations

// get contracts and allocations from Github
npm run example-contracts-and-allocations-from-github

// get attestations and certificates from Github
npm run example-attestations-and-certificates-from-github

// get all allocations from Github
npm run example-all-allocations-from-github

// get all certificates' with attestations and allocations from Github
npm run example-all-certificate-allocations-from-github

License

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