> For the complete documentation index, see [llms.txt](https://docs.dapphero.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dapphero.io/different-ways-to-use-dapphero/setting-up-your-project/smart-contracts.md).

# Smart Contracts

Smart contracts are the primary way of interacting with the Ethereum blockchain. DappHero does not currently create or deploy smart contracts, so you will need to have already a smart contract deployed to a network to connect.

![The new Contract interface](/files/-MBBO6dZWKoJ0UvpjHR_)

#### Name

Each smart contract needs a name inside DappHero. The name does not have to be the "official" name of the smart contract as deployed on the blockchain. DappHero will use to refer to the configuration settings regarding your contract, and it is essential to remember precisely. Pick something without spaces or special characters. This information should not be secret.&#x20;

#### Description

Here you can leave notes about the smart contract. It is useful if you need to refer to your project in the future and want to organize some information regarding your settings.&#x20;

#### Network&#x20;

The Network settings are where you *describe* your contract. Here you will need to provide three things:

* Network - this can be Mainnet Ethereum or any of the public testnets. Private networks are currently not supported.
* Deployed Address - this is the actual *ethereum address* at which the contract you wish to connect is deployed.
* Contract ABI - this is a JSON object which describes the smart contract and smart contract methods you are trying to connect in DappHero.&#x20;

#### Load ABI from Etherscan&#x20;

For smart contracts that have been **verified** on the block explorer [Etherscan.io](https://www.etherscan.io/) it is now possible to automatically load their ABI. This feature is supported by Mainnet, Rinkeby, Ropsten, Kovan, and Goerli. It will not work on other networks.&#x20;

To have your contract verified, you can [use this tool](https://etherscan.io/verifyContract) a helpful article to [learn more](https://medium.com/coinmonks/how-to-verify-and-publish-on-etherscan-52cf25312945) about verifying smart contracts.&#x20;

#### Protect

When green and locked, your contract settings can not be accidentally changed.&#x20;


---

# 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.dapphero.io/different-ways-to-use-dapphero/setting-up-your-project/smart-contracts.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.
