β½ Gas Fee Estimator π Gas Fee Estimator is an open-source web app that fetches and displays real-time gas fees for Ethereum using the Etherscan API. Built with Flask (Python) for backend and JavaScript + HTML/CSS for frontend, this tool helps users monitor gas fees easily.
π Live Preview: (Only works locally for now)
π Features β Fetches real-time gas fees (low, average, high) β Simple and easy-to-use web UI β Uses the Etherscan API for accuracy β Fully open-source & beginner-friendly
π₯ Installation Guide 1οΈβ£ Clone the Repository Open your terminal and run:
git clone https://github.com/defimazdoor/gas-fee-estimator.git cd gas-fee-estimator 2οΈβ£ Set Up a Virtual Environment
python3 -m venv venv
source venv/bin/activate # On Linux/macOS
venv\Scripts\activate # On Windows
3οΈβ£ Install Dependencies
pip install -r requirements.txt 4οΈβ£ Get an Etherscan API Key Sign up at Etherscan API Get a free API key Replace Your_API_Key_Here in app.py with your actual API key
5οΈβ£ Run the App
python app.py π The app will start running at http://127.0.0.1:5000
π₯οΈ Usage Open index.html in your browser Drag and drop the file into your browser OR Open it manually using:
xdg-open index.html # On Linux google-chrome index.html # Chrome firefox index.html # Firefox Click "Fetch Gas Fees" to get real-time gas prices!
π οΈ Built With Flask (Python) β Backend API HTML + CSS + JavaScript β Frontend Etherscan API β Gas fee data
π Join TEA Protocol & Register OSS Project π Earn TEA Rewards by registering this project on TEA Protocol! π Register Here : https://app.tea.xyz/sign-up?r=O6i_ti1W1u4
π‘ Contributing π Contributions are welcome! Feel free to submit your feedbacks. Follow & Subscribe me on X: https://x.com/mazzysweb | https://x.com/0x_mazdoor During Submission for OSS registration: Use PyPi as Package Manager Fork this repo Open an issue for suggestions Submit a pull request π License This project is licensed under the MIT License β Free to use and modify!