Global Feed Post Login
Replying to Avatar Justin Moon

I'm learning Zig and trying to write a primitive nostr relay. Can anyone point me to test vectors for valid / invalid events? Working on parsing now and that would be helpful ...

Avatar
lontivero 10mo ago 💬 1

I don't remember what "inspired" my tests but they are here: https://github.com/lontivero/Nostra/tree/master/Nostra.Tests

Reply to this note

Please Login to reply.

Discussion

Avatar
lontivero 10mo ago

The easiest to understand and the most important IMO rae these ones: https://github.com/lontivero/Nostra/blob/master/Nostra.Tests/RelayIntegrationTests.fs

Thread collapsed