Command line

The CLI is one Python file. It needs Python 3.9 or later and no packages. It reads from the API. It never signs or sends a payment.

curl -O https://dnsofmoney.com/cli/dnsofmoney.py

Commands

CommandWhat it does
python dnsofmoney.py resolve pay:dnsofmoneyResolves a name.
python dnsofmoney.py check pay:example.nameChecks if a name is taken.
python dnsofmoney.py challenge pay:dnsofmoneyShows the x402 challenge for a counterparty screen.
python dnsofmoney.py toolsLists the MCP tools.
python dnsofmoney.py healthShows the service health.

Options

The command exits with 1 if the API returns an error. The challenge command treats 402 as a success.