aleemrehmtulla / simplegwei

an amazingly simple, and blazing fast gas tracker for ethereum

Home Page:https://simplegwei.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://simplegwei.com


Languages

Language:JavaScript 75.1%Language:CSS 24.5%Language:Shell 0.4%