antonnell / networklist-org

networklist-org.vercel.app
GNU General Public License v3.0
649 stars 518 forks source link

Contract Source Provider Url #23

Open trajan0x opened 3 years ago

trajan0x commented 3 years ago

One thing that would be useful is to have an contractSource defined for fetching contract source. So, for etherscan, we'd define anapiconforming toetherscan_standardwith an api url ofhttps://api.etherscan.io/api?. Orsourcify` with the sourcify standard

Happy to submit a pr if there's interest

ligi commented 3 years ago

Cool idea - I think it needs to start with the data and not with displaying the data so I opened: https://github.com/ethereum-lists/chains/issues/404

That said - it is only needed as a workaround currently. Ideally you do not need to go through any centralized provider - but you:

sourcify is helping this process it verifies in a way that the original hashes match