Phunk twitter bot reporting stats, bids, etc.
The different bot tasks require different APIs/services, but in order to fully run the bot you'll need the following:
- Twitter Developer used to tweet and follow other accounts' tweets
- Etherscan API to fetch and store ABIs for different contracts
- Alchemy, Infura or similar to interact with ethereum node
via
web3
package - Covalent to fetch aggregated NFT data like unique holders
Apart from these, the bot uses Python 3.9.9
and I recommend using pyenv
or similar for virtual environment
management.
Use the package manager pip to install all dependencies in one go:
pip install -r requirements.txt
Copy .env.template
into .env
and add all relevant environment variables.
To run the different tasks you can do:
# Track new Phunk bids:
python -m tasks.track_bids
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
CC0 — Do what you want