Using Foundry

Foundry is a newer means to manage smart contract deployments for EVM. It's blazing-fast speed and solidity-centric approach makes it a great alternative to bulkier, Javascript-based Hardhat

Foundry Tutorial!

Several third-parties provide accessible foundry tutorials that can be browsed at your discretion:

Environment Setup

Foundry installation is quite easy and further details can be found on foundry's website HERE.

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

After pulling the initial tool using the script above, follow the instructions which will expect you to re-open a terminal browser (or use source to pull in env vars again) and then:

foundryup

Running foundryup will automatically install the latest stable version of the precompiled binaries: forge, cast, anvil, and chisel.

Default Project initialisation documentation can be found here: https://book.getfoundry.sh/projects/creating-a-new-project

Last updated