I need to implement NIP-42 on 0xchat asap :) nostr:note1ntgdg02fvtswwlegk2g5hhtvcaw5d0rtjhvr79704ev08y0gatgq974pck
Discussion
It’s fairly simple, just not a very clear spec.
Few implementation reminders to help you out:
- Client response starts with “AUTH” not “EVENT”
- When the client sends a REQ for a kind 4 DM, we will respond with an AUTH challenge. After successfully authenticating you MUST send the REQ again (at least with our implementation).
You can test the flow with inbox.nostr.wine now since I whitelisted your pubkey. Let me know if you need any help.
Thanks, will do it