Start using Foundry in your audits. Follow this guide.

Bloqarl
9 min readMay 8, 2023
AI generated

If you can’t read this article because of the firewall, go here to read it for free!

Foundry is a smart contract development toolchain that uses Solidity to test your Smart Contracts.

Foundry manages your dependencies, compiles your project, runs tests, and deploys your contracts.

It’s time to start leveling up and increasing our chances to find H/M severity issues in the next audit.

It’s time to learn and practice Foundry once and for all!

Content:

  • Installation
  • First steps with Foundry
  • Fuzz Testing
  • Invariant Testing
  • Set up Foundry for the existing project you’re auditing
  • Where to practice writing tests with Foundry?

Installation

First run:

curl -L https://foundry.paradigm.xyz | bash

Then, if you notice, the terminal will also point out to run:

foundryup

--

--

Bloqarl

| Enhance Web3 Security | Build On-Chain | Master DeFi | If you share my same goals, I share everything I learn. My Twitter https://twitter.com/TheBlockChainer