explorer
explorer copied to clipboard
[Bug] Distribution Tab Missing?
There was a Distribution Tab where we could view top token holders and the relative distribution. Is this intentionally missing now?
Seems like this was available in the old create react app implementation
{
slug: "largest",
title: "Distribution",
path: "/largest",
}
I think I removed this because it wasn't working on mainnet. See https://github.com/solana-labs/explorer/issues/210. The JSON RPC function used for this is getTokenLargestAccounts
. The RPC provider that we're using for Explorer (and AFAICT, most RPC providers) don't index token accounts on mainnet:
{
"jsonrpc": "2.0",
"error": {
"code": -32010,
"message": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA excluded from account secondary indexes; this RPC method unavailable for key"
},
"id": "cf555c33-087d-419c-9dd3-36e5df2bf16f"
}
See related: https://github.com/solana-labs/solana-program-library/issues/2547
Did you have a use case where this tab was providing useful data previously?
Did you have a use case where this tab was providing useful data previously?
I am building an experience where the users earn various community tokens in their PDA Wallet...and I expose a link to the account on chain from within the app. From there it is nice to have the top token distribution visible from the associated Mint accounts for transparency.
Would be a nice way to encourage trust as we are all looking to onboard "non" crypto natives :]