scrolls icon indicating copy to clipboard operation
scrolls copied to clipboard

UTXOs by Asset / Policy ID

Open ravishankarvkp opened this issue 3 years ago • 5 comments

Thanks again for the amazing tool and documentation !

I'm looking to build a dashboard to track wallet distribution of specific cadano native assets (ex: LQ) across multiple epochs.

Is this use-case feasible through scrolls? Glancing at the documentation, I realize "UTXOs by Asset" seems a close match (under implementation - perhaps?). Please suggest when you get a chance !

ravishankarvkp avatar Jun 08 '22 20:06 ravishankarvkp

I can help you with this but after I finish my 3 reducers. I would estimate to have time in ca 2 to 4 weeks to pick this one and try to help.

matiwinnetou avatar Jun 21 '22 16:06 matiwinnetou

thanks @matiwinnetou ! Much appreciate your help & guidance !

ravishankarvkp avatar Jun 21 '22 16:06 ravishankarvkp

if you in this request mean: ADA addresses by PolicyId (basically people holding certain token) this is also needed for DappsOnCardano.com. Currently we are using this data from our db sync API wrapper and we need to migrate this to scrolls reducer soon.

matiwinnetou avatar Aug 15 '22 15:08 matiwinnetou

Hi @matiwinnetou, Yes, the intent is to collect the list of "ADA addresses (including the staking address - if possible)" by Policy ID. This would allow us to get a sense of token distribution per asset/policyid. I am also currently deriving this info from db-sync, but looking for a light-weight option.

ravishankarvkp avatar Aug 15 '22 16:08 ravishankarvkp

@ravishankarvkp check out branch: CRFA, I just finished a reducer called: AssetHoldersByAssetId / asset_holders_by_asset_id

if you configure it with aggr_by: Epoch it will be aggregating on epoch level, without it - it will aggregate across all epochs

Please keep in mind that aggregating on epoch level without policy_ids filter will be ... very very very memory intensive.

Let me know if you have any questions.

I am about to deploy this to production this week for DappsOnCardano.com and open official PR to the main branch.

matiwinnetou avatar Sep 20 '22 15:09 matiwinnetou