damus
damus copied to clipboard
NIP-26 Import Delegation Token [Feature Request][Enhancement]
User Story
As a pleb nostr user who wishes to use Damus to sign events on behalf of a npub stored on a hardware signing device (or other client), I want the capability to sign on behalf of a delegator, so I am not required to copypaste the delegator npub's private key to Damus from the HSD (or other client).
Acceptance Criteria
- Damus user can import delegate token generated from HSD (or other client)
- Damus user can sign of behalf of delegator
- Damus user can toggle between multiple accounts [blocked by multiple accounts https://github.com/damus-io/damus/issues/403]
Damus + HSD Flow:
- User generates / loads key on hardware signing device [HSD]
- Creates npub delegation token (can authorize other npub on behalf of token on HSD) [HSD]
- User loads profile / QR npub of Damus [Damus]
- Scan QR code of Damus [HSD]
- Review authorization delegation details [HSD]
- User authorizes Damus npub to sign on behalf of HSD npub [HSD]
- Export delegation token (QR) [HSD] (nostr:delegation example

- Scan QR / import delegation token [Damus]
NIP-26 https://github.com/nostr-protocol/nips/blob/master/26.md
Keith Mukai implementation h/t https://github.com/kdmukai
https://youtu.be/-2k6nsMZHJw https://youtu.be/_8qLi2QM3EE
https://damus.io/note1nqa2wh94hq68fqvtq6p3rfrpgjqe27c2zj9yjvxuujf98mswnzxq0dyuaf
The fiatjaf and Pablo7000 do not like this NIP
https://fiatjaf.com/4c79fd7b.html
https://damus.io/note1pcs2fwrsgk2ar4j6vz9fmram0dxvr2pzla3v4rc7q9tdgcvxcn6sp7p026
@dtonon advised NIP-26 delegation is dead
that's just like their opinion man
😁
@jb55 you think this can be used for damus as signature app?