# Foundry

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:red;"><strong>Getting Your Private Key →</strong></mark></td><td>Export your Ethereum private key from StarKey to use with tools like Hardhat and Foundry.</td><td><a href="/pages/CDVB7fiabcd8GrgQS2sr">/pages/CDVB7fiabcd8GrgQS2sr</a></td></tr><tr><td><mark style="color:red;"><strong>Create Project →</strong></mark></td><td>Initialize a Foundry project, set up the directory, and configure the environment to develop and deploy smart contracts on SupraEVM.</td><td><a href="/pages/EQ6cLXYrOkJpdQQs2BbT">/pages/EQ6cLXYrOkJpdQQs2BbT</a></td></tr><tr><td><mark style="color:red;"><strong>Write Smart Contract →</strong></mark></td><td>Create a Solidity smart contract in Foundry, defining its logic and functionality for deployment on SupraEVM.</td><td><a href="/pages/KHRfGUWV9VAb1b5wSVCZ">/pages/KHRfGUWV9VAb1b5wSVCZ</a></td></tr><tr><td><mark style="color:red;"><strong>Deploy Smart Contract →</strong></mark></td><td>Compile and deploy your Solidity smart contract on SupraEVM using Foundry, then interact with it via cast send and cast call.</td><td><a href="/pages/cUlXgUrjFUifgkApsaST">/pages/cUlXgUrjFUifgkApsaST</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/getting-started/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.
