Foundry
Foundry - Compiling Contracts
Learn how to compile your smart contracts using Foundry on Abstract.
Smart contracts must be compiled to Zksync VM-compatible bytecode using the zksolc
compiler to prepare them for deployment on Abstract.
1
Configure foundry.toml
Update your foundry.toml
file to include the following options:
2
Compile contracts
Compile your contracts using the following command:
This will generate the zkout
directory containing the compiled smart contracts.
Was this page helpful?