Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hydrogen-dev/hydro-slack-bot
- Owner: hydrogen-dev
- License: mit
- Created: 2018-06-20T18:36:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-14T20:35:07.000Z (about 4 years ago)
- Last Synced: 2023-03-03T06:42:31.559Z (almost 2 years ago)
- Topics: ethereum, express, slack, slack-api, slack-bot, slack-webhook
- Language: JavaScript
- Homepage:
- Size: 79.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.