# Trust Lines

First of all , to hold a token in your wallet, on the XRP ledger, you need to first set up a trust line in order to receive it. So what exactly is a trust line?

To put it in simple terms, trust lines are structures in the XRPL for holding  tokens. By having a trust line or not, you "tell" your wallet what tokens you wish to receive or not. That's in simple terms. If you do not set a trust line for a certain token, you will never be able to receive it, unlike on other chains such as ETH, where anyone can send you any token without your consent, putting your wallet and, at the same time, your funds, at risk.

To set up a trust line, a reserve of 2 XRP is required, which will be deducted from your current balance. To get back the 2 XRP that you used for this trust line, you can simply remove it from your wallet.

To sum up, you will need, in total:

* 10 XRP as a reserve to activate your account.
* 2 XRP for each trust line you set.

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

Now we are going to set up our first trust line using XAMAN (Xumm) Wallet and Ledger Device.

## 1.Setting up a Trust Line using Xaman Wallet

We will be setting the Trust Line for [BAYNANA](/bay/baynana-token/baynana.md) token.

1. Head to --> <https://xrpl.services/>
2. Click **"$ XRPL TOKENS "**

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

3. In the search bar type the name of the token, which in our case is "BAYNANA"
4. Below you will see all tokens named "BAYNANA".&#x20;

{% hint style="warning" %}
Be careful as sometimes you might find tokens with the same name which can lead to you trading a completely different token issued by other people. Ask team members of the project if you want to double check the issuer wallet and supply to see whether they match. Many projects include a direct link to their trust line on their discord servers or website.
{% endhint %}

5. Once you find the token that you wish to set up the trust line for, click "Set TrustLine" as shown below with a red arrow.

<figure><img src="/files/7DN8rhrzDwQrvvcWHeWN" alt=""><figcaption></figcaption></figure>

6. A new window will appear with a box. Click "Confirm".&#x20;
7. Then a QR code will appear, which you must scan with your XAMAN wallet.

![](/files/O6jFXHgLa8o9GpdLc6if)![](/files/p9PHVRpsrKg9lS0dvGQK)

8. Once you scan the QR code and confirm the transaction, 2 XRP will be deducted from your current balance, and the Trust Line will be created. You are now able to see BAYNANA trust line as shown below. Now you can buy and store BAYNANA tokens in your wallet.

![](/files/jGLr0oAaHHTJmuxRA2Oa)

## 2.Setting up a trust line using a cold storage wallet (i.e Ledger Wallet)

1. Head to --> <https://www.xrptoolkit.com/>
2. Click --> **"Connect Wallet"**

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

{% hint style="info" %}
**Make sure you have installed XRP app on your Ledger device.**&#x20;
{% endhint %}

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

3. Open the XRP App using your Ledger Device first, and then choose **"Ledger Device"** and press **"Connect Ledger"**
4. Select which accounts you want to import which in that case you will choose the one you want to set trust lines in it. Click "Confirm"
5. You will then see your wallet's profile like below.

<figure><img src="/files/6c2zvg7wfbCFmkgCgdj4" alt=""><figcaption></figcaption></figure>

6. Click **" + Add Asset" .**
7. Go to **"Custom Edit"**

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

8. We will have to set up the trust line manually.

Issuer:rJ9uU9jKxNcsNQM2CLKUhPxNn8P4xmhDVq

Currency(HEX if more than 3 letters):4241594E414E4100000000000000000000000000&#x20;

{% hint style="info" %}
If token's name has only 3 letters you can add those letters to the currency section. In this case BAYNANA has more than 3 letters so you need to use the HEX code.
{% endhint %}

Limit:20699856 (Don't use decimals)

{% hint style="info" %}
Limit is the total supply of the token. Be cautious when entering Limit for BAYNANA trust line in the future, since it may be reduced due to burning mechanisms. Double-check everything.
{% endhint %}

<figure><img src="/files/tYQfVTS5Ef6wXcdYWnvX" alt=""><figcaption><p>Clicking on BAYNANA name in red will make this box appear.</p></figcaption></figure>

9. Click "Next" and sign the transaction using your Ledger device.

BAYNANA trust line is now set and can be found in your Assets List.

<figure><img src="/files/nWLRBeiEKE9BAvUBSSL0" alt=""><figcaption></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://boredapes-xrp.gitbook.io/bay/ape-academy/1.coins-and-tokens/1.1-nft-non-fungible-token/trust-lines.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.
