Skip to content

aleemrehmtulla/simplegwei

Repository files navigation

simplegwei ⛽️

What is this?

An amazingly simple and blazing fast gas tracker for Ethereum. All is open source, with a straightforward API to call giving everything from current gas, to historical data.

DEMO

Deployments 💻

Vercel: https://simplegwei.com

For development 🧑‍💻

Scripts

npm install

npm run dev

Important notes

This is a super simple repo- everything is in index.js and only uses 2 external libraries! You'll need to ensure a valid api key in your .env file which I mention below

  • Run npm install && npm run dev, then go to http://localhost:3000/
  • Edit frontend in index.js
  • Styling itegrated with tailwind

Make your own (API)

While there's not automated proccess (yet), shoot me a DM for key

* more documentation to come *

Get current gas:

const res = await fetch("https://api.simplegwei.com/currentgas", {
      method: "POST",
      headers: {"authorization": your_api_key, 'Content-Type': 'application/json' },
      }).catch(function() {
        console.log("errored")
 });

Connect with me 🤗

https://twitter.com/aleemrehmtulla

https://aleemrehmtulla.com

https://www.linkedin.com/in/aleemrehmtulla/

About

an amazingly simple, and blazing fast gas tracker for ethereum

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published