JetFault / discord-gas-bot

Get ethereum gas prices in you own discord server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discord-gas-bot

Get the ethereum gas prices in your own discord server.

The gas price reflected here is in Gwei, you can either run it as command with !gas or it will show up the price in the sidebar.

Dependencies

Install all dependencies:

pip install -r requirements.txt

Gas Price Bot

  1. Configure config.yaml using the template provided. It requires a unique Discord bot key. It also requires an Etherscan API key if you would like to use Etherscan API or an EthGasStation API if you wish to use EthGasStation.

  2. Run a gas price bot using Etherscan API:

python gas_bot.py -s ethgasstation

Replace etherscan with gasnow to use Gasnow API (no key required!) or ethgasstation to use EthGasStation API.

Ethgasstation is the recommended source

About

Get ethereum gas prices in you own discord server

License:MIT License


Languages

Language:Python 100.0%