# Smart Contract Deployment

You need to deploy your smart contract for it to be available to users of an U2U network.

To deploy a smart contract, you merely send a transaction containing the compiled code of the smart contract without specifying any recipient.

### HOW TO DEPLOY A SMART CONTRACT <a href="#how-to-deploy-a-smart-contract" id="how-to-deploy-a-smart-contract"></a>

#### What you'll need <a href="#what-youll-need" id="what-youll-need"></a>

* your contract's bytecode – this is generated through compilation
* U2U for gas – you'll set your gas limit like other transactions so be aware that contract deployment needs a lot more gas than a simple U2U transfer
* a deployment script or plugin
* access to an U2U node, either by running your own, connecting to a public node.

#### Steps to deploy a smart contract <a href="#steps-to-deploy" id="steps-to-deploy"></a>

The specific steps involved will depend on the tooling you use. For an example, Remix and [Hardhat](https://hardhat.org/guides/deploying.html). They are the most popular tools for smart contract deployment, which involve writing a script to handle the deployment steps.

Once deployed, your contract will have an address like other accounts.

### RELATED TOOLS <a href="#related-tools" id="related-tools"></a>

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td>Remix - <em>Remix IDE allows developing, deploying and administering smart contracts for Ethereum like blockchains</em></td><td></td><td><a href="/pages/m5afKep8A875pwgNK2UT">/pages/m5afKep8A875pwgNK2UT</a></td></tr><tr><td></td><td></td><td>Hardhat - <em>A development environment to compile, deploy, test, and debug your Ethereum software</em></td><td><a href="/pages/qGe1TuxclqYN276ZNuEA">/pages/qGe1TuxclqYN276ZNuEA</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://docs.u2u.xyz/for-developers/smart-contract-deployment.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.
