# Foundry

Foundry is a blazing-fast Ethereum development toolkit written in Rust. On SupraEVM, you can use Foundry the same way you would on any EVM-compatible chain, with only a few small configuration changes.

This guide will show you how to:

* Set up a new Foundry project for SupraEVM
* Configure `foundry.toml` with your RPC + private key
* Write and compile a Solidity contract
* Deploy using `forge create` or a Foundry script
* Interact with your deployed contract using `cast`

Whether you're experimenting, building simple demos, or deploying production-grade smart contracts, Foundry gives you a powerful and lightweight workflow for developing on SupraEVM.

***

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-type="content-ref"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:red;"><strong>Start Building</strong></mark></td><td>Start your Foundry project and connect it to SupraEVM.                             </td><td><a href="/pages/bcgCtBwXR2ERtGcN44GS">/pages/bcgCtBwXR2ERtGcN44GS</a></td><td><a href="/pages/bcgCtBwXR2ERtGcN44GS">/pages/bcgCtBwXR2ERtGcN44GS</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://supraoracles.gitbook.io/supra/network/evm/overview/build-on-supraevm/foundry.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
