> For the complete documentation index, see [llms.txt](https://docs.clarity.vote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clarity.vote/getting-started/connecting-your-wallet/setting-collateral.md).

# Setting Collateral

Within the Cardano blockchain, collateral serves as a mechanism to ensure the successful execution of smart contracts. Its purpose is to provide a guarantee that nodes involved in the process receive fair compensation for their efforts. As long as the collateral remains intact (which is a highly unlikely scenario), you retain the ability to withdraw it whenever desired, allowing for flexibility and control over your assets.

This page shows how its possible to set collateral for each of the wallet types supported on Clarity

* [Nami](#nami)
* [Eternl](#eternl)

For mainnet, you'll need a bit over 5 ADA to set collateral. For testnet, you'll need tADA, which you can get from the [Cardano Testnet Faucet](https://docs.cardano.org/cardano-testnet/tools/faucet/).

## Nami

**Step 1: Click your profile in the top right**

<figure><img src="/files/MrGYFPC62azKLhD2Y98Q" alt="" width="375"><figcaption></figcaption></figure>

**Step 2: Click 'Collateral'**

<figure><img src="/files/xOf4Q8OoEC68brAXZxQm" alt="" width="375"><figcaption></figcaption></figure>

**Step 3: Enter your password to set collateral.**

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

## Eternl

**Step 1: Click 'Settings'**

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

**Step 2: Enable the collateral toggle.**

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

**Step 3: In the expanded Collateral section, click 'Set Collateral'**

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


---

# 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.clarity.vote/getting-started/connecting-your-wallet/setting-collateral.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.
