> For the complete documentation index, see [llms.txt](https://docs.zenprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zenprotocol.com/apps/wallet/wallet-structure/contracts/activate-contract.md).

# Activate a Contract

{% hint style="info" %}
**Activation of a contract is available only through the desktop wallet connected with a local headless node.**
{% endhint %}

**Step 1:** Click the ‘Activate’ button

![](https://lh4.googleusercontent.com/73rGwYTD5bY9b8GkcYCBGXiww2IKFjNT6CcVjrCprgvkq5H70Cy1U_PdC76F4efYOJ6eo7SxV8bcYTXY7DiI99kzVj0_8iZQho68HkfEemBFAJyRtzLxHvQAuvqsVJVYAnaz1ISP)

**Step 2:** Drag an .fst file to the dialog box or choose an .fst file from your library

**Step 3:** Choose the numbers of block you wish the contract to be active for

**Step 4:** The Rlimit is for more advanced users, it will affect the cost of a contract, and is not suggested to be used by non advanced users as the rlimit is the upper bout for which the hints of the contract will be recorded.&#x20;

**Step 5:** Click ‘Continue’

![](https://lh3.googleusercontent.com/hSESJE6LTTdMPgC8MT644PbmhEe6OWRKOg2ewwuUrXrP7i63fi3UHhwCleAd4f_cS6NJhwLOCGO7bc0t_9XxdvRcRwZxo0DhCfv2iUM7nHzl74htI0b249Vph9_YrJqTTZgdX1po)

**Step 6:** Enter your password and click ‘Continue’

Optional: In case a passphrase was use when wallet was connected, the passphrase will be required for this step

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

**Step 7:** Confirm your activation by clicking the ‘Publish’ button, make sure to review the summary of the transaction before publishing it.

![](https://lh4.googleusercontent.com/4VQNekdSS2cAByEiFOer6DNkXvoX2c7F6eDhGjFXSpg1O6agXtpwATZidG0GjvmPpxDglKgr_zQOGvnc2RWCI_7LEjbIO6xn7-x-jP2R6NtQKWyVDhXk1aK5pTdCzyf9UcyEYZGo)

**Step 8:** After publishing your transaction a success message will appear.

**Step 9:** After activating your contract you will be able to see it in the ‘Active Contracts’ table

* On the transaction page you might first see the transaction of the execution on pending, till it will get its first confirmation.


---

# 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.zenprotocol.com/apps/wallet/wallet-structure/contracts/activate-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.
