What is Nostr?
pippellia
npub176p…vgup
2025-05-01 14:44:14

pippellia on Nostr: Vertex customers want to know how many credits are associated with their pubkey. I am ...

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 mleku (nprofile…5ckl)
Author Public Key
npub176p7sup477k5738qhxx0hk2n0cty2k5je5uvalzvkvwmw4tltmeqw7vgup