Skip to content

memosr/base-gas-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base Gas Tracker

Real-time gas price monitor for Base mainnet, built as a single static page with no build step.

Screenshot

Live Demo

base-gas-tracker-lyart.vercel.app

Also available as a Farcaster Mini App (listed under developer tools as "Base Gas Tracker").

Note: this project does not deploy or interact with any smart contract. It reads block and fee data directly from public Base RPC endpoints.

Features

  • Live gas price, refreshed every 10 seconds, with a Cheap / Normal / High status badge
  • 24-hour price history chart, backfilled on load via eth_feeHistory
  • Transaction cost calculator with presets (ETH transfer, ERC-20 transfer, Uniswap swap, NFT mint) and USD conversion via the CoinGecko API
  • Best time to transact: hourly averages over the last 24 hours highlight the cheapest hour
  • Automatic RPC failover across three public Base endpoints (LlamaRPC, PublicNode, Base official)

Tech Stack

Getting Started

There are no dependencies to install and no environment variables to configure.

# Clone
git clone https://github.com/memosr/base-gas-tracker.git
cd base-gas-tracker

# Run: open directly...
open frontend/index.html

# ...or serve locally
python3 -m http.server 8000 --directory frontend

Repository layout

  • frontend/, docs/, public/ each contain a copy of the app (index.html, image assets, and the Farcaster manifest at .well-known/farcaster.json). public/ is the deployed copy and also holds the SVG sources.
  • convert-to-png.sh regenerates the PNG assets from the SVGs (requires librsvg).

License

MIT

About

Real-time gas price monitor for Base mainnet

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors