TheAlgorithms/Solidity
TheAlgorithms/Solidity has 363 GitHub stars and 102 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 21:59 UTC. Last push 2023-10-27.
Algorithms and data structures implemented in Solidity
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalThe Algorithms - Solidity
All algorithms implemented in Solidity - for education
(still a work-in-progress project)
This is going to be used for our partnership with Dev Protocol. 🚀
Implementations are for learning purposes only. As they may be less secure than in real-world context, use them at your discretion.
Setting up foundry
Guide to installing foundry - https://book.getfoundry.sh/getting-started/installation
Clone the current project and enter the directory.
git clone https://github.com/TheAlgorithms/Solidity.git
cd Solidity
Installing forge-std (Forge Standard Library).
forge install foundry-rs/forge-std
Build the project using forge-std.
forge build
Run forge-std automatic tests.
# forge test --match-contract <contract-name>Test
forge test --match-contract AbsTest
Lists of Algorithms
Community Channels
We're on Discord and Gitter! Community channels are great for you to ask questions and get help. Please join us!
Explore related projects
sindresorhus/awesome
😎 Awesome lists about all kinds of interesting topics [NOTE: Pull requests are temporarily disabled until I have a chance to catch up with the existing ones]
534,376 starsEbookFoundation/free-programming-books
:books: Freely available programming books
401,397 starsnilbuild/developer-roadmap
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
371,688 starsvinta/awesome-python
The definitive list that answers "I want to do X in Python, which tool should I use?"
333,651 stars