# Contract Activation

A contract needs to be activated on the blockchain in order to be executed.\
When a contract mints token, the assets can be transfered without the need of the contract to be active.

A contract can be activated using:

### Desktop Wallet connected with Local Node

Check how to connect Local Node

Once you are connected with the local node, you will see in the Active Contract Page a new button to Activate a contract.

![](/files/-MRGPy15ZR9H9uwfLw5D)

Click on the button, a popup will open up and you can drop the .fst file, choose the number of blocks for which the contract will be in the ACS.\
For advance contract which require a higher rlimit you can choose a higher then the default rlimt. Note: the activation fee is proportional to the rlimit.&#x20;

![](/files/-MRGQGCO2i9YEnuSTaZh)

### API

## Activate Contract

<mark style="color:green;">`POST`</mark> `http://127.0.0.1:31567/wallet/contract/activate`

#### Request Body

| Name | Type   | Description |
| ---- | ------ | ----------- |
| code | string |             |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

### CLI

#### Activate Contract

```
> zen-cli activate path_to_.fst_file number_of_blocks rlimit

```


---

# 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.zenprotocol.com/contract-activation.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.
