dsys / cleargraph

⛓ Cleargraph is a GraphQL runtime for decentralized applications
Other
254 stars 14 forks source link

ethereumTokenContract support for list of token holders #38

Open gkunthara opened 6 years ago

gkunthara commented 6 years ago

I'm new to Cleargraph and GraphQL in general. But does Cleargraph offer the ability to query for the list of token holders?

Example here: https://etherscan.io/token/0xdcaad9fd9a74144d226dbf94ce6162ca9f09ed7e#balances

It would be nice to grab a list of these addresses and their quantities. 😀

kern commented 6 years ago

Hey @gkunthara, thanks for reaching out! Although Cleargraph does not currently support this, it's is a great idea. We need to figure out our long-term secondary index strategy, but perhaps an easy solution in the meantime will be to use the Etherscan API to fetch the list if that's available. Will look into it and appreciate any assistance!