naddr Encoder

Build naddr identifiers from identifier + author + kind — 5 sats

About

Encode a Nostr address reference into naddr1... format. Supply identifier (d-tag), author pubkey, kind, and optional relay hints for portable replaceable-address references.

Try It

5 sats via L402.

API Usage

curl -X POST https://maximumsats.com/api/naddr-encode \
  -H "Content-Type: application/json" \
  -d '{"identifier":"my-article-slug","author_pubkey":"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245","kind":30023,"relays":["wss://relay.damus.io"]}'

Sample Response

{
  "ok": true,
  "identifier": "my-article-slug",
  "hex_author_pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
  "kind": 30023,
  "relays": ["wss://relay.damus.io/"],
  "naddr": "naddr1..."
}
Also available via MCP as naddr_encode at maximumsats.com/mcp