# Mobile Chat-to-Trade

## Content

[What is Mobile Chat-to-Trade?](#what-is-mobile-chat-to-trade)

[How to import Nostr Private Key to Mobile?](#how-to-get-import-nostr-private-key-to-mobile)

[First, Follow these 2 accounts](#first-follow-these-2-accounts)

[Add Lnfi Relay](#add-nostrassets-relay)

[How to use Mobile Chat-to-Trade commands to Transfer or Check Balance?](#how-to-use-mobile-chat-to-trade-commands-to-transfer-or-check-balance)

[How to use Marketplace via Mobile Chat-to-Trade?](#how-to-use-marketplace-via-mobile-chat-to-trade)

***

### What is Mobile Chat-To-Trade?

Chat-to-trade provides a streamlined method for users to effortlessly execute trade orders using natural language commands, eliminating the need for intricate user interfaces. It works on most Nostr frontend clients.

{% hint style="warning" %}
Nostr protocol is currently in its early stages, it's important to note that while Nostr clients are interoperable, they may not adhere to a standardized UI and UX experience yet.
{% endhint %}

For Mobile users, there are several apps available.

<table><thead><tr><th width="170">Nostr Clients</th><th width="155">Platform</th><th>Download Links</th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Damus</strong></td><td>iOS</td><td><a href="https://apps.apple.com/us/app/damus/id1628663131">App Store link</a></td><td></td></tr><tr><td><strong>Amethyst</strong></td><td>Android</td><td><a href="https://play.google.com/store/apps/details?id=com.vitorpamplona.amethyst&#x26;hl=en&#x26;gl=US">Google Play link</a></td><td></td></tr><tr><td><strong>Plebstr</strong></td><td>iOS &#x26; Android</td><td><a href="https://plebstr.com/#download">Plebstr Website</a></td><td></td></tr></tbody></table>

In this guide, we will use **Plebstr** as the main example.

***

### How to import Nostr Private Key to Mobile?

From Alby Extension, Go to account settings

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

Then, select Nostr Settings

<figure><img src="/files/2yEezlqLy95eNEEaVhfF" alt=""><figcaption></figcaption></figure>

Copy your Nostr private key from Alby

{% hint style="danger" %}
Be careful and keep your Nostr private key safe. Do not share your private keys.\
Your funds in your Nostr address can be compromised if you share/lose your Nostr private key.
{% endhint %}

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

Head over to Plebstr mobile app, select Login

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

Paste your private key to log in.

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

Done! You now have a profile on Nostr! You can use it like Twitter too.\\

***

### First, Follow these 2 accounts

Then, copy the following Nostr Address below to follow them.

<table><thead><tr><th width="170">Nostr Account</th><th width="184">Description</th><th>Nostr Address</th><th data-hidden></th></tr></thead><tbody><tr><td><strong>AssetManager</strong></td><td>Asset Events</td><td>npub1dy7n73dcrs0n24ec87u4tuagevkpjnzyl7aput69vmn8saemgnuq0a4n6y</td><td></td></tr><tr><td><strong>MarketManager</strong></td><td>Market Events</td><td>npub1zl7exeul3py65wt9ux243r0e3pukt8jza28xmpu844mj5wqpncaq0s2tyw</td><td></td></tr></tbody></table>

***

### Add Lnfi Relay

To add Relay, go to Settings

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

Then, select Relays > Add Relay

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

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

Enter the following Relay URL and tap on Add.

```
wss://relay.lnfi.network
```

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

***

### How to use Mobile Chat-to-Trade commands to Transfer or Check Balance?

Go to AssetManager (npub1dy7n73dcrs0n24ec87u4tuagevkpjnzyl7aput69vmn8saemgnuq0a4n6y)

and tap on the Direct Message button.

In the Direct Message Chat, you can use natural language to enter commands.

For example, if you want to transfer 100 sats to another Nostr address, you can use the transfer commands like this:

transfer (quantity) (asset) to (Nostr address)

```
transfer 100 sats to npubxxxxxxxxxxxxxxx
```

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

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

To check your balance, simply type the following commands:

```
balance
```

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

With AssetManager, you can also perform the following commands:\
\- check the balance of other nostr addresses\
\- add address and name of the contact\
\- approve operator to manage a portion of your assets

{% hint style="success" %}
For a full list of commands with AssetManager, refer here:\
i) [Natural Language Commands](/natural-language-commands.md)
{% endhint %}

***

### How to use Marketplace via Mobile Chat-to-Trade?

{% hint style="warning" %}
**Important:** Before you can use Marketplace via Chat-to-Trade, you need to approve and authorize it with a portion of your assets.
{% endhint %}

To approve MarketManager, first, you need to enter the command with AssetManager.\
\
Go to AssetManager Direct Message.

For example, if you want to approve Marketplace with 100 $TRICK, use this command:

```
Approve 100 TRICK to npub1dy7n73dcrs0n24ec87u4tuagevkpjnzyl7aput69vmn8saemgnuq0a4n6y
```

<figure><img src="/files/06KbUWrsHZqlAChKrPjC" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
This means that now the Marketplace can act on your behalf to create sell listing(s) for a maximum of 100 TRICK from your account.
{% endhint %}

To create a sell listing for TRICK, you need to go to the MarketManager.\
Tap on the Direct Message button.

Example of the command to create a sell listing

```
Sell 100 TRICK at price 1000000 SATS
```

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

With MarketManager, you can perform the following commands to:\
\- show all your buy/sell orders\
\- show all your history orders\
\- take order\
\- cancel order

{% hint style="success" %}
The full list of Marketplace Commands can be found here\
i) [Marketplace Commands](/marketplace/marketplace-commands.md)
{% 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/user-guides/mobile-chat-to-trade.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.
