Skip to content

Jazzer9F/RadBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RadBot

Radix Telegram Bot

Prerequisites

  1. Install Python 3.x and make sure it's in PATH.
  2. Register an Infura API account and create a new Ethereum Project.
  3. Set up a Telegram Bot and obtain the bot API token.

Setup

  1. Install project dependencies python -m pip install -r requirements.txt.
  2. Create a file called infura.json with your Infura Project ID (see infura.example.json).
  3. Create RadBotToken.json with your Telegram Bot token (see RadBotToken.example.json).
  4. Run python rewards.py - this will prefetch the historical data into file stake.h5.
  5. Run the Bot! python RadBot.py.

Other

  • HDF5 does not cleanup deleted data from the file automatically (see here). You need to compact it manually

    ptrepack --chunkshape=auto --propindexes --complevel=0 --complib=blosc stake.h5 stake_new.h5

    and then

    mv -f stake_new.h5 stake.h5
  • myRadixPortfolio.py can be run standalone against a CSV file containing your own addresses

About

Radix Telegram Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages