Skip to content

mazzysweb/gas-fee-estimator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

β›½ 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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages