Feature: Add agent name to nip46.json and use in connection metadata #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When connecting to Amber via NIP-46, the app shows up with the hex pubkey prefix (e.g., "f9fa1b...") instead of a friendly name.
Proposed Solution
1. Add
agent_nameto nip46.json2. Update
initcommandAdd optional
--nameflag:Or auto-detect from environment/hostname if not provided.
3. Include metadata in nostrconnect:// URI
When generating the QR code for Amber to scan:
Result
Amber displays "Hermes" (or configured name) in the connected apps list instead of "f9fa1b...".
Testing Confirmed
Tested with Amber - when
metadata={"name":"Hermes"}is included in the nostrconnect:// URI, Amber correctly displays the name.Discovered during testing by Hermes 🪽