notus-core
v0.1.0notus-core
The Notus core allows developers to listen to Ethereum smart contract events or Graph Protocol subscriptions and trigger webhooks. The core is agnostic of where webhooks are stored and how it's updated. Notus Webhook storage is pluggable using connectors. There is a Postgresql Connector and decentralized connectors using Ethereum smart contracts and IPFS.
Postgresql Connector
Decentralized Connector
Webhooks can be defined and registered by anyone in a Notus smart contract. The Notus node must be configured to point to the deployed smart contract. When webhooks are deregistered from the smart contract the server stops listening to those events.
Setup
We use direnv to manage environment variables. First set up your environment:
cp .envrc.example .envrc
direnv allow
Now make sure your dependencies are installed:
yarn
npm i [email protected]
Metadata
- MIT
- Whatever
- Brendan Asselstine
- released 3/27/2019