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.
Install all dependencies:
pip install -r requirements.txt
-
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.
-
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