> For the complete documentation index, see [llms.txt](https://docs.mode.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mode.network/tutorials/deploying-a-smart-contract.md).

# Deploying a Smart Contract

In this section you will learn how to deploy simple smart contracts with all the most popular tooling in the ethereum ecosystem.

## [Foundry](https://getfoundry.sh/)

Foundry is a toolkit for developing and deploying smart contracts.

Follow [this tutorial](/tutorials/deploying-a-smart-contract/using-foundry.md) to learn how to deploy a smart contract on Mode using Foundry.

## [Hardhat](https://hardhat.org/)

Hardhat is a framework for developing smart contracts. You can use Hardhat to deploy to Mode as any other Ethereum - see the network information [here](https://github.com/mode-network/documentation/blob/main/build-on-mode/deploying-a-smart-contract/broken-reference/README.md)[.](https://github.com/mode-network/documentation/blob/main/build-on-mode/deploying-a-smart-contract/broken-reference/README.md)

## [Thirdweb CLI](https://portal.thirdweb.com/cli)

Thirdweb CLI is an interactive command line interface for creating tools using thirdweb infrastructure. You can learn how to deploy a smart contract to Mode using thirdweb CLI [here](/tutorials/deploying-a-smart-contract/using-thirdweb.md).

## [Remix IDE](https://remix.ethereum.org/)

Remix IDE is an open-source, web-based tool for developing smart contracts using the Solidity programming language.Learn how to deploy your smart contracts to Mode using Remix [here](/tutorials/deploying-a-smart-contract/using-remix.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.mode.network/tutorials/deploying-a-smart-contract.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
