# Upload smart contracts

The process of uploading smart contracts to the platform enables you to connect your smart contracts with the Threat Detection system and the Firewall. This guide will walk you through the steps to upload your smart contracts to the platform.

To begin, navigate to the address book page. Here, you will find the "Add Contract" button which initiates the uploading of new smart contracts.

<figure><img src="/files/EbONPlo3gHdOE6mS4BIN" alt=""><figcaption><p><strong>Address book, screen, contract upload tab</strong></p></figcaption></figure>

Once you click "Add Contract," you will be prompted to select the network your contract is deployed on.

<figure><img src="/files/lzgFByALaaicYMsXuy2z" alt=""><figcaption><p><strong>Contract upload, screen with filled in network</strong></p></figcaption></figure>

In the next field, enter the address or addresses of the smart contracts you wish to upload. You can enter multiple addresses. After entering the addresses, click the "Apply" button to submit the information. The platform will verify the addresses and proceed to the next step.

<figure><img src="/files/fSKgpqMBwc455o1JOitg" alt=""><figcaption><p><strong>Add contract, screen filled with all parameters</strong>  </p></figcaption></figure>

After adding the contract, you can click “Edit” to add your contract’s ABI, add Admin's addresses, and add the Contarct name if needed.&#x20;

<figure><img src="/files/KVKQ0Oet4Xv6PhF1G9Zt" alt=""><figcaption><p><strong>Contract upload, screen add ABI screen</strong></p></figcaption></figure>

After successfully uploading your contracts, you can view them listed in your address book.

<figure><img src="/files/9rZnTAs2Dq3DdtaABDIF" alt=""><figcaption><p><strong>Successfully uploaded</strong></p></figcaption></figure>

Protected by Threat Detection System: Each Asset listed in the Address Book indicates whether it is actively protected by the Threat Detection System or not.&#x20;

Protected by Firewall: Each Asset listed in the Address Book indicates whether it is actively protected by the firewall.&#x20;

<figure><img src="/files/viWnN0qG704nhgk5FWCT" alt=""><figcaption><p>L<strong>ist of added contracts with "Firewall:Active/DryRun/Pending", "Detection:Active"</strong></p></figcaption></figure>


---

# 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.ironblocks.com/platform/address-book/upload-smart-contracts.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.
