Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alphasecio/eth-gas-checker
This app checks Ethereum gas price every hour, and notifies if the price crosses a threshold.
https://github.com/alphasecio/eth-gas-checker
ethereum ethereum-gas-prices ethereum-gas-tracker python
Last synced: 6 days ago
JSON representation
This app checks Ethereum gas price every hour, and notifies if the price crosses a threshold.
- Host: GitHub
- URL: https://github.com/alphasecio/eth-gas-checker
- Owner: alphasecio
- License: mit
- Created: 2024-03-07T04:41:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T04:55:33.000Z (10 days ago)
- Last Synced: 2024-11-06T05:30:30.313Z (10 days ago)
- Topics: ethereum, ethereum-gas-prices, ethereum-gas-tracker, python
- Language: Python
- Homepage: https://go.alphasec.io/eth-gas-checker
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# eth-gas-checker
This app runs on [Railway](https://railway.app/?referralCode=alphasec), checks Ethereum gas price every hour using the [Etherscan](https://etherscan.io/) API, and sends email via [Resend](https://resend.com) if the price crosses your pre-defined threshold. Set up the following environment variables before deploying the service:
* `ETHERSCAN_API_KEY`: Etherscan API key to check Ethereum gas price; get it [here](https://etherscan.io/myapikey).
* `RESEND_API_KEY`: Resend API key to send email notifications; get it [here](https://resend.com/api-keys).
* `EMAIL_FROM`: Email address to send alert from, as configured in Resend.
* `EMAIL_TO`: Email address to send alert to, as configured in Resend.
* `PRICE_THRESHOLD`: Send email if Ethereum gas price drops below this threshold (gwei).To deploy on [Railway](https://railway.app/?referralCode=alphasec) using a one-click template, click the button below. The template does not allow cron schedule to be defined, so set up the hourly run (`0 * * * *`) in the service settings once it's deployed.
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/pDebYY?referralCode=alphasec)