Anyone know how to get a raw dump of nostr traffic generated by Amethyst? Would be a cool way to learn the protocol. Like: what message is emitted when I update my profile? (I guess I should read the manual huh...)
Discussion
The nips are pretty easy to read
Start here github.com/nostr-protocol
Relays pick up all events. Here is one by #[2] https://github.com/Cameri/nostream
Welcome to the future 🫂
You can use websocat to query a relay for some of your posts, then pipe them to a file for further analysis.
echo ‘[“REQ”,”1”,{“ids”:[“your_hex_pubkey”],”limit”:10}]’ | websocat wss://some.nostr.relay > your-posts.json
Here’s 80% of what you actually need to know about the protocol https://github.com/nostr-protocol/nips/blob/master/01.md