What is Nostr?
blinry /
npub1xh9…azuf
2025-02-15 11:25:31
in reply to nevent1q…m0dp

blinry on Nostr: But I'd really prefer a more type-safe way to send events to the Daemon, and get ...

But I'd really prefer a more type-safe way to send events to the Daemon, and get output back! One where it's impossible to send the "wrong" type to a connection (like it would be if the Vec<u8> type was replaced with a Data enum, for example).

I've been mulling over it for days, but haven't found a good solution yet. Any ideas?
Author Public Key
npub1xh9fh6cs7c5zhhz330pz4s5kdwg44aq7xu33f6ylxtedkjj6g6ysvuazuf