Skip to content

Sajad-Salehi/Dynamic_NFT_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic_NFT_bot

This Telegram bot allows you to mint dynamic NFTs with ease. The bot is built using Solidity, Chainlink keepers, OpenZeppelin, Python, and pyTelegramBotAPI.





Prerequisites

Please install or have installed the following:

Installation

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

Usage

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

Resources

Medium article

License

This project is licensed under the MIT license.

About

Dyamic NFT using Solidity, OpenZeppelin and Chainlink

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published