-
Notifications
You must be signed in to change notification settings - Fork 212
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
base: main
Are you sure you want to change the base?
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.
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:
network
values to SourcifychainID
can 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. SeegetStartBlockForContract
which callsfetchDeployContractTransactionFromEtherscan
andgetContractNameForAddress
which callsfetchSourceCodeFromEtherscan
.Aims to fix #1702, #1001.