-
Notifications
You must be signed in to change notification settings - Fork 233
Replace Etherscan ABI lookups with Sourcify #1735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Etherscan ABI lookups with Sourcify #1735
Conversation
Etherscan requires an API key for ABI lookup and other operations. Sourcify (https://sourcify.dev) is an open-source decentralized alternative.
|
* added new chain: unichain testnet * Create fair-suns-pay.md
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* updated public rpc * Create itchy-colts-clap.md
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Etherscan requires an API key for ABI lookup and other operations. Sourcify (https://sourcify.dev) is an open-source decentralized alternative.
|
Closing in favor of #1899 |
Etherscan requires an API key for ABI lookup and other operations.
Sourcify (https://sourcify.dev) is an open-source decentralized alternative.
This PR is still a draft:
networkvalues to SourcifychainIDcan fail for names that don't match Chainlist's format. SeegetSourcifyChainId.startBlock(the next step after ABI fetching forinit). This feature needs to fetch the contract creation hash which Sourcify doesn't provide through their API. SeegetStartBlockForContractwhich callsfetchDeployContractTransactionFromEtherscanandgetContractNameForAddresswhich callsfetchSourceCodeFromEtherscan.Aims to fix #1702, #1001.