From e1c8cd9a356dec148d22fb89573f6cd1981e2203 Mon Sep 17 00:00:00 2001 From: Wong Run Li <77974699+runli3478@users.noreply.github.com> Date: Tue, 1 Aug 2023 02:04:32 +0800 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 7de79f8..c95dae5 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,23 @@ A Telegram Bot that sends you the latest gas price, swap fee in Ethereum Network Current Supported Networks: ETH ARB OP (more to come soon) Feel free to support me in the future! + +# Create your telegram bot and get the API Key using BotFather +# Create your infura API key by registering an account @ infura.io +# Create your OPTIMISM_API_KEY by registering an account @ optimistic.etherscan.io +# Create your ARBISCAN_API_KEY by registering an account @ arbiscan.io + +To run main.py: + +a) Please make sure that you have installed the libraries stated below: + 1) pip install web3 + 2) pip install python-dotenv + 3) pip install python-telegram-bot==13.13 + +b) Create a .env file to input your API keys: + 1) INFURA_PROJECT_ID='' + 2) OPTIMISM_API_KEY='' + 3) ARBISCAN_API_KEY='' + 4) BOT_TOKEN='' + +c) Run the main.py in your terminal