Utilities for handling OpenAlias aliases, written in Bash.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-02-24 09:09:49 -05:00
build.sh Update build.sh 2026-02-07 16:09:52 -05:00
LICENSE Initial commit 2026-01-31 15:34:13 -05:00
openresolve-sh.sh Update openresolve-sh.sh 2026-02-07 16:02:11 -05:00
parse-openalias.sh Rename parse_openalias.sh to parse-openalias.sh 2026-02-24 09:09:33 -05:00
README.md Update README.md 2026-02-24 09:09:49 -05:00

openalias-utils

Utilities for handling OpenAlias aliases, written in Bash.

parse-openalias

Parse TXT entries to fetch the OpenAlias address for a given cryptocurrency. The TXT entries must be provided using stdin.

Examples

dig -t TXT getmonero.org +short | ./parse-openalias.sh xmr (fetch TXT entries for getmonero.org, get the Monero address)

./parse-openalias btc < myfile (read the file myfile and get a Bitcoin address from it; myfile must be in the format provided by dig -t TXT example.com +short)

openresolve-sh

An unofficial stand-in replacement for openresolve; inspired by this Reddit comment.

The error messsages don't always behave the same as openresolve's do, so you should check the exit status ($? on Bash) when using it in scripts.