Skip to content

Solexplorer/discord-gas-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. Copy the template config and configure with API keys.
cp config.yaml.tmpl config.yaml

Change config.yaml with the Discord bot key and Etherscan, EthGasStation, or Gasnow API keys.

  1. 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 your own discord server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published