@energyweb/overseer
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Green Proof overseer

Nest.js module used to overseer voting contract. It is used mostly as a way to handle missed voting contract events, when the application was down. If any events were missed while application was down, then they will be remitted. For that persistent storage of some kind is required (provided through handlers in module .register method). It can be also be used to periodically trigger timeouted votings cancellation.

Usage

  1. Install: @energyweb/overseer
  2. Import OverseerModule.register({ ...config }) to your application
  3. Inject OverseerFacade

Handling missed events

See example-handlers on how to implement event handler in the application. Such handler should be injected somewhere in the application.

Consult Nest.js docs for more information about working with used @nestjs/event-emitter package.

Questions and Support

For questions and support please use Energy Web's Discord channel

Or reach out to us via email: 247enquiries@energyweb.org

EW-DOS

The Energy Web Decentralized Operating System is a blockchain-based, multi-layer digital infrastructure.

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 an overview of the energy-sector challenges our use cases address, go here.

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

Connect with Energy Web

Readme

Keywords

none

Package Sidebar

Install

npm i @energyweb/overseer

Weekly Downloads

0

Version

2.0.2

License

MIT

Unpacked Size

197 kB

Total Files

46

Last publish

Collaborators

  • kyleiankian
  • energywebdev
  • aznagy
  • bagaric
  • pkosin
  • drgorb
  • kroy
  • manihagh