Skip to content
This repository has been archived by the owner on Feb 11, 2019. It is now read-only.

Get contributor count #62

Open
acrdlph opened this issue Dec 9, 2018 · 2 comments
Open

Get contributor count #62

acrdlph opened this issue Dec 9, 2018 · 2 comments
Labels

Comments

@acrdlph
Copy link
Member

acrdlph commented Dec 9, 2018

Current solution just counts how many addresses have ever bought token, regardless of current balance. Maybe should use amberdata.io

@lsaether
Copy link
Contributor

lsaether commented Dec 9, 2018

It also should update live. Right now it requires a page refresh

@acrdlph acrdlph added the TODO label Dec 15, 2018
@acrdlph
Copy link
Member Author

acrdlph commented Dec 19, 2018

It looks like amberdata does not provide information for random ass tokens, only for the big listed ones.

Found a solution with ethplorer! They only have data for mainnet though:

componentDidMount() {
axios({
url: 'http://api.ethplorer.io/getTokenInfo/' + tokenAddress + '?apiKey=freekey',
method: 'GET'
}).then((response) => {
console.log(response.data.holdersCount)})
}

https://github.com/EverexIO/Ethplorer/wiki/Ethplorer-API

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants