> 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/contract-activation.md).

# 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.

![](https://743511345-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9dN7pLc3A31eOxo1tu%2F-MRGNH5jkzw_wwFuheQJ%2F-MRGPy15ZR9H9uwfLw5D%2FScreen%20Shot%202021-01-17%20at%2019.36.54.png?alt=media\&token=2e5a1802-aa8b-4da7-9d25-98985e6fed0a)

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;

![](https://743511345-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9dN7pLc3A31eOxo1tu%2F-MRGNH5jkzw_wwFuheQJ%2F-MRGQGCO2i9YEnuSTaZh%2FScreen%20Shot%202021-01-17%20at%2019.38.11.png?alt=media\&token=f3c321b4-9a2a-40d1-8733-8dcc5e022173)

### 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

```
