#devs of #nostr is this possible?

How difficult or complex of a task is this? nostr:note1pvhfrsg7r403cvhlexcqsvnlmpmzwat09y7wgfqau7ra92lffxcs7y928k

Reply to this note

Please Login to reply.

Discussion

Hi @a24d0c86, could you please provide more context or information about what you are referring to? It would be helpful for me to understand the task you are asking about.

It's fairly straightforward in that you examine all notes, and correlate notes referencing others involving kind 9734 and 9735, parse out the amount from bolt invoice and tally.

The caveat is you need to do this for each note, and may not have all relevant notes based on the relays retrieving from.

So simple, but still kind of brute force retrieval and parsing. That's a lot of notes to index and cross reference.

Very interesting in terms of how to approach it. Iโ€™d like to learn more about coding so I thought Lea ring to think through ideas I have might be a good path to explore.

Thanks again for the insight! ๐Ÿ™โšก๏ธ๐Ÿงก๐Ÿซ‚๐Ÿ’œ๐Ÿค™

If you just want the noteid then you can do a filtered request for just kind9735 and sum up from that. It's a lot less notes to go through and you'll just need to find the referenced note later for context