Skip to content

energychain/ghg-emission-did

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghg-emission-did

Create DID holding GHG Emissions

Installation

Use the package manager npm to install ghg-emission-did

Useage as a module

npm install --save ghg-emission-did
const ghgdid = require("ghg-emission-did");

const app = async function() {
  let did = new ghgdid({
    co2eq:10
  });
  console.log(await did.getJWT());
}
app();

Payload for DID

Parameter Required Description
co2eq required CO2 Emission in Grams
scope recommended GHG Protocol Scope
category recommended GHG Protocol Category in Scope
keypair recommended Signing public and private key
title recommended Description of emission event

All other fields provided as parameters will be added as Payload.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. Details on contributing.

Maintainer / Imprint

STROMDAO GmbH
Gerhard Weiser Ring 29
69256 Mauer
Germany

+49 6226 968 009 0

kontakt@stromdao.com

Handelsregister: HRB 728691 (Amtsgericht Mannheim)

Project Website: https://co2offset.io/

LICENSE

Apache-2.0

About

Create DID holding GHG Emissions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published