# Hardhat

<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/oGjY13S0YQYaS1Mug33L">/pages/oGjY13S0YQYaS1Mug33L</a></td></tr><tr><td><mark style="color:red;"><strong>Create Hardhat Project →</strong></mark></td><td>Initialize a Hardhat project, install dependencies, and set up the environment to develop and deploy smart contracts on SupraEVM.</td><td><a href="/pages/b75fmMFmw4e4EM4otNoQ">/pages/b75fmMFmw4e4EM4otNoQ</a></td></tr><tr><td><mark style="color:red;"><strong>Update Hardhat Config →</strong></mark></td><td>Modify<code>hardhat.config.js</code> to include SupraEVM's RPC URL, chain ID, and private key, enabling seamless contract deployment and interaction.</td><td><a href="/pages/0YtVvLnEoWAHO4S0pT9m">/pages/0YtVvLnEoWAHO4S0pT9m</a></td></tr><tr><td><mark style="color:red;"><strong>Deploy Smart Contract →</strong></mark></td><td>Use Hardhat to deploy your smart contract on SupraEVM, making it live and ready for interaction on the blockchain.</td><td><a href="/pages/hA4MRKqQcOBEXCaA9c6U">/pages/hA4MRKqQcOBEXCaA9c6U</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/hardhat.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.
