gas-tracker

module
v0.0.0-...-6907ef8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2022 License: BSD-3-Clause

README

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL