ethereum / sourcify

Decentralized Solidity contract source code verification service
https://sourcify.dev
MIT License
779 stars 396 forks source link

Import contracts from smart-contract-sanctuary #1670

Open kuzdogan opened 2 weeks ago

kuzdogan commented 2 weeks ago

There's the smart-contract-sanctuary repo that is no longer maintained:

https://github.com/tintinweb/smart-contract-sanctuary

It contains flattened verified source codes for contracts on different chains.

We should be able to run a script over those contracts to import any missing ones in our repository.

mabsattar commented 2 weeks ago

Hi @kuzdogan i'd like to tackle this.

kuzdogan commented 1 week ago

Thanks @mabsattar ! I will be assigning this to you. Do you need more instructions or is it clear?

mabsattar commented 1 week ago

hey @kuzdogan thank you for assigning me, if I understand correctly this repo needs to be updated with new contracts, it used to automatically submit contracts to 4byte.directory but the functionality has stopped working. so we have to update with new contracts that have been deployed on diff chains?

kuzdogan commented 1 week ago

No this is a repository of verified contracts and their source codes. The owner stopped updating the contracts there but that's irrelevant.

What we want to do is to go over all of the sources here, format them properly for Sourcify and submit them for verification to the Sourcify server (sourcify.dev). That way we can increase the number of verified contracts on Sourcify

mabsattar commented 1 week ago

@kuzdogan okay, thanks for the clarification, I'll start working on it.