Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hydrogen-dev/hydro-slack-bot

Slack Notification Bot
https://github.com/hydrogen-dev/hydro-slack-bot

ethereum express slack slack-api slack-bot slack-webhook

Last synced: 18 days ago
JSON representation

Slack Notification Bot

Awesome Lists containing this project

README

        

# Slack Bot

This is a lightweight Express API hosted on Heroku that exposes endpoints which send notifications to the Hydrogen Slack based on the current state of Ethereum/the world.

It's a basic Express API: the setup logic is in [app.js](./app.js) and endpoints are defined in [routes/](./routes). The scheduling of calls is handled by [scheduler.js](./scheduler.js).

## Balances
`/balance` sends updates about the ether balance of a given Ethereum account.

## Gas
`/balance` sends updates about current gas prices.

## Health Check
Typing `/bot_health_check` in Slack returns `It's alive!` if the API can be reached on Heroku.