@energyweb/overseer
v2.0.2
Published
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 stora
Downloads
6
Keywords
Readme
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
- Install:
@energyweb/overseer
- Import
OverseerModule.register({ ...config })
to your application - 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: [email protected]
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: