Skip to content

Send Discord webhook notifications for new Juicebox projects and payments.

Notifications You must be signed in to change notification settings

filipviz/juicebox-heartbeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

juicebox-heartbeat

Send Discord Webhook notifications for new Juicebox projects and payments.

How to Run

  1. Install dependencies:
npm i
  1. Create a .env file:
cp .example.env .env
  1. Fill out your .env file. juicebox-heartbeat uses the Juicebox Subgraph to query new events.

  2. Install node.js (>=18.0.0), and run on a cronjob. By default, juicebox-heartbeat queries the previous 60 seconds of events. An example cronjob:

* * * * * timeout 120s /usr/bin/node /juicebox-heartbeat/main.js

About

Send Discord webhook notifications for new Juicebox projects and payments.

Topics

Resources

Stars

Watchers

Forks