Domains CLI + Go Library

On the developer-tools team at Unstoppable Domains I built a command-line tool for resolving blockchain domains, and the Go library behind it. Both from scratch.

We already had SDKs. They worked fine if you were building an app. The trouble was everything before that. I’d want to check what a name pointed to, and first I had to spin up a whole project just to ask a one-line question. That felt backwards every time. Go services had the opposite problem: pulling a JavaScript SDK into a Go backend to read one record is a lot of ceremony for very little.

So I wrote what I actually wanted. Type a command and the records come back. It ran the same on my Mac, on Linux boxes, and in CI, so it dropped into scripts without special cases. And when the backend was already Go, the library did the job in a few lines without bridging out to another runtime.