Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleemrehmtulla/simplegwei
an amazingly simple, and blazing fast gas tracker for ethereum
https://github.com/aleemrehmtulla/simplegwei
Last synced: 11 days ago
JSON representation
an amazingly simple, and blazing fast gas tracker for ethereum
- Host: GitHub
- URL: https://github.com/aleemrehmtulla/simplegwei
- Owner: aleemrehmtulla
- Created: 2022-03-02T02:10:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-12T22:33:39.000Z (over 2 years ago)
- Last Synced: 2024-08-02T05:22:25.221Z (3 months ago)
- Language: JavaScript
- Homepage: https://simplegwei.com
- Size: 227 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blazingly-fast - simplegwei - an amazingly simple, and blazing fast gas tracker for ethereum (JavaScript)
README
# 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](https://user-images.githubusercontent.com/60443878/156424147-eddde549-e280-4477-987b-8a7f85e78201.gif)
## 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/