Desktop Chat-to-Trade

This guide is for setting up your Nostr client to use Chat-to-Trade. We will be using Primal.net as the primary example.

Content

What is Chat-To-Trade?

First, Follow these 2 Nostr Accounts

Add Lnfi Relay

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

How to use Marketplace via Chat-to-Trade?


What is 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 such as Damus, Amethyst, Plebstr & Primal.

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.

For Chat-to-Trade commands, please refer to: i) Natural Language Commands

ii) Marketplace Commands


First, Follow these 2 Nostr Accounts

We will use primal.net as the primary Nostr client for this guide.

Go to Primal.net and log in to your Nostr Address (using your Alby Extension).

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

Nostr AccountDescriptionNostr Address

Nostr Assets

Token Events

npub1dy7n73dcrs0n24ec87u4tuagevkpjnzyl7aput69vmn8saemgnuq0a4n6y

NostrAssets-Market

Market Events

npub1zl7exeul3py65wt9ux243r0e3pukt8jza28xmpu844mj5wqpncaq0s2tyw

Paste and search each address in the search bar

npub1dy7n73dcrs0n24ec87u4tuagevkpjnzyl7aput69vmn8saemgnuq0a4n6y

Tap on Follow.

Then do the same for the 2nd Nostr address.

npub1zl7exeul3py65wt9ux243r0e3pukt8jza28xmpu844mj5wqpncaq0s2tyw

Add Lnfi Relay

Next step, you need to add our Relay in order for the commands to work.

Go to Settings > Network

Scroll down and at the Connect to a relay portion enter the following

wss://relay.nostrassets.com

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

Go to Token Event Manager (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

To check balance, simply type the following commands:

balance

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

For full list of commands with Nostr Assets Token Event Manager, refer here: i) Natural Language Commands


How to use Marketplace via Chat-to-Trade?

Important: Before you can use Marketplace via Chat-to-Trade, you need to approve and authorize it with a portion of your assets.

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

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

Approve 100 TRICK to npub1dy7n73dcrs0n24ec87u4tuagevkpjnzyl7aput69vmn8saemgnuq0a4n6y

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.

To create a sell listing for TRICK, now 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

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

The full list of Marketplace Commands can be found here i) Marketplace Commands

Last updated