New version of aionostr supports the `naddr` type.

So you can run this to retrieve the event:

aionostr get naddr1qqqqzxrhwden5te0wfjkccte9eekummjwsh8xmmrd9skcq3qljxdldrq885zamfkn82k7zcjs4lrsf9wykrh9e3hq4thh89vlzxsxpqqqp65wyu9u7v

https://pypi.org/project/aionostr/

Reply to this note

Please Login to reply.

Discussion

How does the mirror feature work? Is it copying from the beginning of time?

It only mirrors an individual query. It doesn't attempt to page through to the beginning of time.

Would that be useful?

Could be used as a relay sync tool.

nostr_bot would be the more appropriate tool to extend.

I've already written a bot that will mirror events from people you follow. If someone wants to make it more generic, the framework allows for easy extensibility.

https://github.com/davestgermain/nostr_bot/blob/master/nostr_bot/examples/mirror.py

I would think so. I started aionostr because I wanted an async API that was also easy to use and understand. Async seems to be the better choice for nostr use cases.

As a result, with nostr_bot, it's easy to write all sorts of bots, and run them simultaneously.