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.git2 - Switch to the kitchen-precompiles branch
git switch kitchen-precompiles3 - Install foundry-kitchen
cargo build --bin forge-kitchen --release mv target/release/forge-kitchen ~/.cargo/bin3.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-kitchenAnd 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-repoIf 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 buildIf the output is looking like this, congrats everything is well installed:

Last updated