~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/handle-to-did.md

Resolve an Atmosphere handle to its DID

0
0
2 files · 0 comments
History
Code
handle-to-did.md 7 lines · 183 B Raw

Handle to DID

An Atmosphere account has a handle people read, and a DID that never changes. Any PDS will tell you which DID a handle names:

./resolve.sh chadtmiller.com
resolve.sh 4 lines · 155 B Raw
#!/bin/sh
# The DID a handle names, as a PDS resolves it.
curl -s "https://bsky.social/xrpc/com.atproto.identity.resolveHandle?handle=$1" \
  | jq -r .did