Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.19 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.19 KB

gas-tracker

Tiny API and CLI utility to get gas prices on the Ethereum network

Ethereum

Usage

Use make to fetch dependencies and build the application.

; make deps
; make build
; ./gas-tracker

Run the CLI (via go run):

; make run

Run the server locally:

; make server

Fetch dependencies and build the application without using make:

; go mod download all  # fetch dependencies
; go build -o gas-tracker cmd/cli.go

Run the CLI to fetch some numbers from the Ethereum network:

; ./gas-tracker gas
Block Number: 15398157
Gas Price:    13 gwei
Pending TXs:  261