# RGB Node Management

1. **Mainnet Deposit**

Go to the **RGB Assets** page.\
In the **BTC Mainnet Wallet** module, click **Deposit** to add BTC or RGB assets on the mainnet.

If no **UTXO** is available, the system will prompt you to create one.\
Click **Create UTXO** as instructed, then proceed with the deposit.

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

2. **RGB Channel Management**

* Create a Channel

Go to the **RGB Channels** page and click **Create Channel**.

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

Select the **asset, amount,** and the **counterparty node**. You can create **BTC channels** or **RGB Asset channels**.&#x20;

If no UTXO is available, the system will prompt you to create one first. For testing, it’s recommended to create channels with other test participants.

If it’s your first time connecting, add the counterparty’s **RGB Node Public Key** and **Host** information.

{% hint style="info" %}
You can view and copy your own node info in **Settings**.

<img src="/files/vbViHtR7FbSawdzzd8Su" alt="" data-size="original">
{% endhint %}

<figure><img src="/files/4yemonM65GOlsgAyhQpb" alt=""><figcaption></figcaption></figure>

* Channel Deposit / Withdrawal

You can **deposit** to or **withdraw** from your RGB Channel balance to the counterparty node.

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

a) Receive on your RGB Node

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

b) Send from your RGB Node

![](/files/WeTCKaNjpVE1DikrRls9)

{% hint style="warning" %}
Note: Lightning Network invoices begin with the prefix **lnbcrt...**
{% endhint %}

* Close Channel

In the **Channel List**, click **Close** to terminate a specific channel.

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

3. **RGB Node Mainnet Withdrawal**

Go to the **RGB Assets** page.

In the **BTC Mainnet Wallet** module, click **Withdraw** to withdraw BTC or RGB assets on the mainnet.

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

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

{% hint style="warning" %}
Note: RGB Mainnet invoices begin with the prefix **rgb:**~~**/**~~**/\~/bcrt:utxob...**
{% endhint %}


---

# 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.lnfi.network/products/ln-node/user-guide/rgb-node-management.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.
