0xtr on Nostr: Not really possible but that depends on how you define a nostr user. If you define a ...
Not really possible but that depends on how you define a nostr user.
If you define a nostr user as 1 pubkey = 1 user, then you'd have to get all events from all relays in the world and then count all distinct pubkeys. That is obviously impossible because not all relays are available to you. Best case then would be to be able to count all distinct pubkeys from all publicly available relays (requires you to know about all publicly available relays too).
You could also define a user more specifically. E.g. require a published kind 0 event, a nip-05 handle, regular posting, etc. You'd still have to do the same as above only this time with more filtering.
If we drop the "absolute" mindset here, you could narrow the count down to e.g. a certain set of relays (e.g. top 30 relays). That would only give you one view/angle of the number of nostr "users" but at least it would give you a number to work with.
nostr.band probably has the best data on this currently: https://stats.nostr.band/
If you define a nostr user as 1 pubkey = 1 user, then you'd have to get all events from all relays in the world and then count all distinct pubkeys. That is obviously impossible because not all relays are available to you. Best case then would be to be able to count all distinct pubkeys from all publicly available relays (requires you to know about all publicly available relays too).
You could also define a user more specifically. E.g. require a published kind 0 event, a nip-05 handle, regular posting, etc. You'd still have to do the same as above only this time with more filtering.
If we drop the "absolute" mindset here, you could narrow the count down to e.g. a certain set of relays (e.g. top 30 relays). That would only give you one view/angle of the number of nostr "users" but at least it would give you a number to work with.
nostr.band probably has the best data on this currently: https://stats.nostr.band/