Socket
Book a DemoInstallSign in
Socket

@energyweb/issuer-api

Package Overview
Dependencies
Maintainers
8
Versions
537
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@energyweb/issuer-api

NestJS module for interacting with renewable energy certificates

0.7.1
latest
Source
npmnpm
Version published
Maintainers
8
Created
Source

Energy Web Foundation Logo

Issuer API

Description

The Issuer API is a NestJS package that provides restful endpoints for handling Certificate operations (certificate request, issuance, transfer, claiming, revoking).

It is is a component of Energy Web Origin's Traceability SDK.

Documentation

Contributing Guidelines

See contributing.md

Energy Web Decentralized Operating System

EW-Origin is a component of the Energy Web Decentralized Operating System (EW-DOS).

The purpose of EW-DOS is to develop and deploy an open and decentralized digital operating system for the energy sector in support of a low-carbon, customer-centric energy future.

We develop blockchain technology, full-stack applications and middleware packages that facilitate participation of Distributed Energy Resources on the grid and create open market places for transparent and efficient renewable energy trading.

  • To learn about more about the EW-DOS tech stack, see our documentation

For a deep-dive into the motivation and methodology behind our technical solutions, read our White Papers:

Connect with Energy Web

License

This project is licensed under the MIT License - see the LICENSE file for details

Notes

If you decide to use CertificationRequest, then you should also include ScheduleModule.forRoot() in your application, to run synchronization task.

Signer configuration

IssuerApi module by default encrypts supplied platform operator private key using database storage, and OPERATOR_ENCRYPTION_KEY environment variable as encryption key for the storage.

If you want to use another signer, make sure to create SignerAdapter provider, that implements SignerAdapter abstract class. This provider can be registered anywhere:

import { SignerAdapter } from '@energyweb/issuer-api`;

class MyCustomSigner implements SignerAdapter {
  // ...
}

const signerAdapter = {
  provide: SignerAdapter,
  useClass: MyCustomSigner,
};

@Module({
  providers: [signerAdapter],
  imports: [IssuerApi.register()]
})

For migration instructions see changelog.

FAQs

Package last updated on 16 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.