> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
