This Telegram bot allows you to mint dynamic NFTs with ease. The bot is built using Solidity, Chainlink keepers, OpenZeppelin, Python, and pyTelegramBotAPI.
Please install or have installed the following:
Install virtualenv, To get started, install virtualenv if you haven't already. Here is a simple way to install venv:
python -m pip install --user virtualenv
python -m virtualenv --help
Alternatively, you can use pipx:
pipx install virtualenv
virtualenv --help
Next, create a virtual environment and activate it:
python3 -m virtualenv venv
cd venv/bin
source activate
After that, install the following libraries using pip:
pip install web3
pip install eth-brownie
pip install ipfshttpclient
pip install pyTelegramBotAPI
To initialize IPFS, run the following command:
ipfs daemon
export IPFS_FILE_URL = "File_url"
export IPFS_CONNECT_URL= "Connect_url"
To deploy the smart contract using Brownie, clone this repository and run the following commands:
cd ../contracts
brownie compile
brownie run scripts/deploy_dynamic.py --network <NETWORK>
brownie run scripts/deploy_static.py --network <NETWORK>
Finally, set your API key and web3 provider (Alchemy or Infura) using the following command:
export WEB3_PROVIDER= "Web3_provider"
export API_KEY= "Api_key"
Once you have completed these steps, you can run the bot using the following command:
python3 main.py
- "Getting Started with Brownie" To get started with Brownie
- "Brownie documentation" For more in-depth information
- "Getting Started with IPFS" Getting started with python and ipfs
- "Getting Started with Telebot" Getting started with Telebot
- "Getting Started with web3.py" Web3.py quickstart
- "Introduction to ERC721 standard" ERC721 standard tutrial
- "Getting Started with ChainLink Keepers" Chainlink keepers quickstart
- "Check My Medium Article" How to build a Dynamic NFT minter bot using Solidity and Python? --Part 1.
- "Check My Medium Article" How to build a Dynamic NFT minter bot using Solidity and Python? --Part 2.
- "Check My Medium Article" How to build a Dynamic NFT minter bot using Solidity and Python? --Part 3.
This project is licensed under the MIT license.