Foundry Kitchen
How to install foundry-kitchen
Since Kitchen Layer is using an EVM with some custom precompiles you need to install foundry-kicthen
in order to be able to use kitchen precompiles.
1 - Clone kicthen foundry repo:
git@github.com:kitchen-layer/foundry.git
or
https://github.com/kitchen-layer/foundry.git
2 - Switch to the kitchen-precompiles branch
git switch kitchen-precompiles
3 - Install foundry-kitchen
cargo build --bin forge-kitchen --release mv target/release/forge-kitchen ~/.cargo/bin
3.1 - (Optional) create some alias in your .zshrc
alias fkb="~/.cargo/bin/forge-kitchen build"
alias fkt="~/.cargo/bin/forge-kitchen test"
4 - Using template Using a Template is the simplest way to create your project If you want to set it up by yourself please go to Step 5
https://github.com/kitchen-layer/foundry-kitchen
And click on the use Template
button, name your repo and you will be fully setup directly:

5 - Create your foundry-kitchen repository If you want to create a folder:
forge-kitchen init name-of-your-repo
If you are already in the folder you want to use foundry-kitchen
forge init .
To ensure that everything is working well you should run the following command:
forge-kitchen build
If the output is looking like this, congrats everything is well installed:
Last updated