All posts
2026-01-12AllDomains CLI

alldomains-cli — Command Line Tool for AllDomains Web3 Identities

alldomains-cli — Command Line Tool for AllDomains Web3 Identities

The Problem

AllDomains is Solana's multi-TLD domain system — supporting .sol, .abc, .bonk, .poor, and many more Web3 identity domains. But there was no quick CLI tool to interact with these domains from the terminal.

What It Is

alldomains-cli is an unofficial CLI for interacting with AllDomains Web3 identities on Solana. Install it with npm install -g alldomains-cli and resolve, lookup, and interact with AllDomains domains straight from the command line.

How It Works

The CLI uses the @onsol/tldparser library to interface with AllDomains' TLD system on Solana. Point it at any supported domain and get back the resolved wallet address. Point it at a wallet address and see what domains are associated with it.

alldomains resolve myname.sol
alldomains lookup 8abc...xyz

Why I Built It

I kept needing to resolve AllDomains domains in scripts and shell workflows. The web UI is fine for manual lookups but useless when you're writing automation. The CLI fills that gap — fast, scriptable, composable with other tools.

Installation

npm install -g alldomains-cli

Author: Metasal. MIT license.