A collection of tools built with docker with 1 source directory for auditing..
This creates a drag and drop audit environment for security auditors with outputs from all tools in 1 location.
docker exec -it <container>
curl -L https://foundry.paradigm.xyz | bash
Then run this command to install Foundry:
foundryup
- Create a sample Foundry project on your PC. To initiate a new project
run the following command:
forge init your_project
-
Copy the
lib/forge-std
folder and the filefoundry.toml
from this sample project toauditFiles/<project>
directory. -
edit the foundry.toml like so:
[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test/foundry'
cache_path = 'forge-cache'
- Create
remappings.txt
and add:
ds-test/=lib/forge-std/lib/ds-test/src/
forge-std/=lib/forge-std/src/