npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

heidr

v0.0.7

Published

EVM blockchain CLI tool

Readme

heiðr

EVM blockchain CLI tool

heidr is a command-line interface for inspecting and interacting with EVM blockchains.


Nought was there but byte and hex,
ne'er a prompt nor token gleamed,
till heidr's runes were cast by hand.
Nine commands I saw, and nine the worlds,
each chain a branch on the cosmic tree,
and each flag a beacon to realms unseen.


Installation

Via Homebrew (macOS/Linux)

brew tap pxlvre/heidr
brew install heidr

Via package manager (Linux)

Debian/Ubuntu (APT Repository):

curl -s https://pxlvre.github.io/heidr/apt/pubkey.gpg | sudo apt-key add -
echo "deb [arch=amd64] https://pxlvre.github.io/heidr/apt stable main" | sudo tee /etc/apt/sources.list.d/heidr.list
sudo apt update
sudo apt install heidr

Or download the .deb package directly:

wget https://github.com/pxlvre/heidr/releases/latest/download/heidr_0.0.7_amd64.deb
sudo dpkg -i heidr_0.0.7_amd64.deb

Fedora/RHEL/CentOS (.rpm):

# Download from releases
wget https://github.com/pxlvre/heidr/releases/latest/download/heidr-0.0.7.x86_64.rpm
sudo rpm -i heidr-0.0.7.x86_64.rpm

Arch Linux (AUR):

# Using yay or your preferred AUR helper
yay -S heidr

# Or manually
git clone https://aur.archlinux.org/heidr.git
cd heidr
makepkg -si

Via Bun

bun install -g heidr

Via npm

npm install -g heidr

Via install script

curl -fsSL https://raw.githubusercontent.com/pxlvre/heidr/main/install.sh | bash

From source

git clone https://github.com/pxlvre/heidr.git
cd heidr
bun install
bun link

Usage

Chains

# List all supported chains
heidr chains --list

# Get chain info
heidr chains --info mainnet

# Get chain info as JSON
heidr chains --info arbitrum --json

Blocks

# Get latest block from Ethereum mainnet
heidr block latest

# Get latest block from Arbitrum
heidr block latest --chain arbitrum

# Get specific block from Polygon
heidr block 70000000 --chain polygon

Transactions

# Get transaction from Ethereum mainnet
heidr tx 0x086164dca926230a5b67e572888a26dee10708a328477b49fdb94ac7bc446260

# Get transaction from Arbitrum
heidr tx 0x4fedc9635b64f4d3012345da58e71fc366c789045a9046e9836f81a0eafac198 --chain arbitrum

# Get transaction as JSON
heidr tx 0x123... --json

Balances

# Get balance of an address
heidr balance 0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97

# Get balance on Arbitrum
heidr balance 0x123... --chain arbitrum

# Get balance as JSON
heidr balance 0x123... --json

Gas Prices

# Get current gas price on Ethereum mainnet
heidr gas

# Get gas price on a different chain
heidr gas --chain arbitrum

# Get gas price as JSON
heidr gas --json

Container Usage

Build and run heidr using Podman (or Docker):

# From GitHub Container Registry
podman pull ghcr.io/pxlvre/heidr:latest
podman run --rm ghcr.io/pxlvre/heidr chains --list

# From Docker Hub
docker pull pxlvre/heidr:latest
docker run --rm pxlvre/heidr chains --list

# Get help
podman run --rm ghcr.io/pxlvre/heidr --help

Development

# Run CLI in development
bun run dev chains --list

# Format code
bun run format

# Lint code
bun run lint

Roadmap

See ROADMAP.md for planned features including JSON-RPC methods, Etherscan integration, Tenderly, Dune Analytics, and Gelato support.

Current Version: v0.0.7

Tech Stack

License

AGPL-3.0-or-later - see LICENSE.md