> For the complete documentation index, see [llms.txt](https://gitbook.humanode.io/hmnd-ehmnd/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.humanode.io/hmnd-ehmnd/deploy-an-example-smart-contract.md).

# Deploy an example smart contract

You should have:

* `0xAddress...` - your ETH address that is imported into a ETH supported wallet connected to Humanode Israfel Testnet. In this case, it's **Humanode Testnet 5** with the following rpc url: `https://explorer-rpc-ws.testnet5.stages.humanode.io`.

<figure><img src="/files/SyyoLyiY67CFxnv5kYsq" alt=""><figcaption></figcaption></figure>

### Tools

* Environment to deploy ETH smart contracts like [Remix IDE](https://remix.ethereum.org/)
* Ethereum supported wallet like [Metamask](https://metamask.io)

### Steps

1. Open the Remix IDE and choose default `Storage.sol` contract.

<figure><img src="/files/Qct5EhDvXLeCQOQYlRBV" alt=""><figcaption></figcaption></figure>

2. Go to the `Compile` tab and compile the contract.

<figure><img src="/files/ls44VLj34OmaioDJyMFU" alt=""><figcaption></figcaption></figure>

3. Go to the `Deploy` tab and deploy the contract with injected metamask wallet connected to the Humanode network.

<figure><img src="/files/app3eNTksnXc4eXNZWCC" alt=""><figcaption></figcaption></figure>

4. Check `Deployed Contracts` tab. You should be able to see a `store` call and `retrieve` read method.

<figure><img src="/files/AgZEc7HjYbXODEyJ0XRP" alt=""><figcaption></figcaption></figure>

5. Let's check the deployed contract by storing a value of 10. Input the value and click on `transact` tab.

<figure><img src="/files/zKqigj6A3hRxo0Nhs0db" alt=""><figcaption></figcaption></figure>

5. Now click on `retrieve` tab and verify that the stored value in smart contract is 10.

<figure><img src="/files/b0gNOQ8eRJL2nPMU7gEi" alt=""><figcaption></figcaption></figure>


---

# 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://gitbook.humanode.io/hmnd-ehmnd/deploy-an-example-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.
