-

@ f683e870:557f5ef2
2025-05-01 14:44:14
Vertex customers want to know how many credits are associated with their pubkey. I am thinking of using:
NIP-42 auth + kind -1 (yes, negative, so there won't be collisions).
So a client that previously authenticated, sends
REQ, id, kind -1, to check how many credits are associated with its pubkey
This seems like the simplest solution I could come up with. What do u think? Do you know libraries that don't allow for negative kinds?
#asknostr and ask nostr:nprofile1qyghwumn8ghj7mn0wd68ytnvv9hxgtcpzemhxue69uhhyetpd3ujumtvv44h2tnyv4mz7qpqfjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsfa5ckl