https://github.com/psbx/ethers-gas-tracker
ethers-gas-tracker
https://github.com/psbx/ethers-gas-tracker
cl docker fastapi github-actions go python rust sqlite typescirpt
Last synced: 3 months ago
JSON representation
ethers-gas-tracker
- Host: GitHub
- URL: https://github.com/psbx/ethers-gas-tracker
- Owner: psbx
- License: mit
- Created: 2025-09-29T05:44:46.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-09-29T05:53:00.000Z (3 months ago)
- Last Synced: 2025-09-29T06:26:02.090Z (3 months ago)
- Topics: cl, docker, fastapi, github-actions, go, python, rust, sqlite, typescirpt
- Language: TypeScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ethers-gas-tracker
TypeScript utilities for formatting Ethereum gas prices and estimating transaction costs using `ethers` v6.
## Features
- Normalise gas price responses into gwei strings.
- Estimate total wei cost for simple transfers at a given gas limit.
- Includes lightweight Vitest coverage without requiring a live provider.
## Usage
```bash
npm install
echo "42" | node dist/example.js
```
## Development
```bash
npm install
npm test
```