@cicciocoin/eth-gas-fee-alert-telegram
v1.0.5
Published
This project is a simple Node.js script that checks the current Ethereum gas prices and sends an alert message via Telegram when the price exceeds a predefined threshold.
Downloads
12
Maintainers
Readme
Ethereum Gas Price Alert Bot
This project is a simple Node.js script that checks the current Ethereum gas prices and sends an alert message via Telegram when the price exceeds a predefined threshold.
Prerequisites
- Node.js and npm installed on your machine
- A Telegram bot token and chat ID
- An Ethereum node RPC URL
Installation Steps
Clone the repository
git clone https://github.com/FrancescoWM/eth-gas-fee-alert-telegram.git cd eth-gas-fee-alert-telegram
Install dependencies npm install
Create .env file with your Telegram bot token, chat ID and RPC URL
touch .env echo "TELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN" >> .env echo "TELEGRAM_CHAT_ID=YOUR_TELEGRAM_CHAT_ID" >> .env echo "RPC_URL=YOUR_RPC_URL" >> .env
Run the script
node index.js