Open pcowgill opened 6 years ago
Paraphrasing from a convo with State of the Dapps team on Intercom:
How does State of the Dapps fetch the mainnet contract addresses for a given project? Manual curation? Crowdsourced? An API from another data source? Thanks!
All options possible. Typically a project provides it themselves when they submit their dapp, sometimes they (the State of the Dapps team) find it themselves. If it is frequently updated or if many addresses are used with typically use an API to sync it
Projects that provide their mainnet contract addresses rank higher, so there is an incentive for providing it and keeping it up to date
State of the Dapps API docs: https://state-of-the-dapps.github.io/slate/
It's not completely documented, but sufficient for a lot of usecases.
Oh, and what API do you use?
We can hook into an API provided by projects themself to parse CSV, JSON or GraphQL endpoints to ingest their contracts
Oh okay, so it's not like Etherscan or anything
This is on a per project basis. Nothing generic
The requirements are different for a standard contract vs. a ZOS-style delegateproxy upgradeable contract