Development resources at your finger tips
Build with the coolest Web3 projects
Recurring funding for Open Source
Ethical ads to power Open Source
Learn about Web3 & earn rewards
Show appreciation for each other
Meet fellow developers, designers, futurists and more. Collaborate and BUIDL awesome projects together.
Discover great web3 organizations, work on meaningful projects and build relationships with like minded people. Browse Tribes
Meet the top hunters and contributors from our community.
KERNEL is an 8-week, invite-only program for top tech talent looking to build relationships, products, and companies in blockchain and Web 3. 100 tal…
Heyo Gitcoiners! With an entire city of hackers, coders and blockchain innovators relocated on our platform, the atmosphere is just buzzing with crea…
Type in [[ 2- term.length]] more characters to get results
[[ result.title ]]
[[ result.description | truncate(70) ]]
No matches found
Gitcoin is GDPR complaint. Learn more in
Gitcoin's Terms & Conditions.
Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
Given two codebases, slither should be able to detect the similar functions/contracts
A naive approach could be to only compare the AST of the functions.
We can also have a more sophisticated approach, where we abstract the name of the variables/functions and compare an high-level signature of the functions. The academic literature is rich on this domain, so this work could lead to even more experimental solutions (ex: using machine learning to build a similarity metric, ...), but the naive approach should be the first step.
The solution can be implemented as a printer, or as an external tool. It would be nice to be able to build a large database of similar functions/contracts across multiples projects.
It migh also be useful for code review (ex: if someone uses a slightly modified version of SafeMath, the code needs additional consideration)
I am open to any suggestions/ideas