DEV Community

neuralmint
neuralmint

Posted on

ENS Resolver CLI — Resolve Ethereum Name Service Names

ENS Resolver CLI — Resolve Ethereum Name Service Names

Look up ENS names and perform reverse lookups directly from your terminal by talking to the Ethereum blockchain via public JSON-RPC.

Features

  • Resolve .eth names to Ethereum addresses
  • Reverse lookup: address → primary ENS name
  • Direct JSON-RPC communication (no external API)
  • Follows ENS specification (EIP-137)
  • Pure Python + pycryptodomex

Usage

# Resolve an ENS name
ens_resolver resolve vitalik.eth

# Reverse lookup
ens_resolver reverse 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
Enter fullscreen mode Exit fullscreen mode

Install

pip install neuralmint/ens-resolver
Enter fullscreen mode Exit fullscreen mode

Support development:

SOL: 4TGyiYBjaYhFFPNYyCoJjf16ctUsWVBiMR1FXQxEfhWi

ETH: 0xe07f177E0725c11EEc8BeA34C5b5193CaF2a1A6a

Tags: python, cli, opensource, devtools
Series: neuralmint CLI Tools

Top comments (0)