helium / explorer

A Helium Blockchain Explorer
Apache License 2.0
124 stars 136 forks source link

Allow CSV export for individual hotspots #172

Closed danielcolinjames closed 3 years ago

danielcolinjames commented 3 years ago

Right now you can only export a CSV for account pages, but with some rework of the CSV export code, it should be possible to enable the same functionality for individual hotspots if desired.

Note for hackathon participants: please ask any questions you have about how to tackle this here or on Discord

nickhough commented 3 years ago

Which transactions should be available when exporting a single hotspot? Forgive me if this is a stupid question, I'm new to Helium, so I'm not familiar with how the payloads my differ between accounts and hotspots.

image

danielcolinjames commented 3 years ago

@nickhough Not a stupid question at all! I think it would probably make the most sense to only look at rewards transactions at the hotspot level, since anything else that results in a debit or credit of HNT generally happens at the account level

To be honest I'm not 100% sure what the community members who would use a hotspot CSV export would hope to see in there other than rewards, but for now just rewards should be fine, we can always add to it later :)

nickhough commented 3 years ago

PR: https://github.com/helium/explorer/pull/175#pullrequestreview-582759476

danielcolinjames commented 3 years ago

closed by #175