βHow Does It Work?
Powered by LN Assets Daemon (LAD)
Last updated
Powered by LN Assets Daemon (LAD)
Last updated
The LN Assets Daemon (LAD) is a backend process that implements the Lnfi for issuing assets on the Nostr protocol.
It serves as a wrapper for Taproot Assets (formerly known as Taro) and Lightning Network, allowing users to effectively manage their assets on Bitcoin (BTC), the Lightning Network, and Taproot using their Nostr accounts.
Import Taproot Assets & Satoshi (*support for other tokens to be added in the future)
Mint Taproot Assets
Send and receive Taproot Assets
Provide separate accounts for end users
Work on both Self-Custodial and Custodial mode
Alice deposits assets from Taproot Assets Daemon (TAPD)
to LN Assets Daemon (LAD)
Step 1 Alice sends a private message to LAD's Nostr address with the content "receive 100 USDT".
Step 2 NAD requests its TAPD to generate a "new address" to receive the 100 USDT.
Step 3 Alice sends the asset to the "new address" on Other-TAPD.
Alice withdraws assets from LN Assets Daemon
Step 1 Alice generates a "new address" on Other-TAPD to receive the assets.
Step 2 Alice sends a private message to LAD's Nostr address with the content: "send to address (new address)".
Step 3 LAD requests the TAPD to send the asset to the provided address.
Alice sends assets to Bob, who is on the same LN Assets Daemon (LAD) as Alice.
Step 1 Alice sends a private Nostr message to the LAD Nostr address with the content: "send 100 USDT to (Bob's Nostr address)".
Step 2 The LAD adjusts the balances of both Alice and Bob accordingly.
Alice sends assets to Bob, who is on a different LN Assets Daemon (LAD) from Alice.
Similar to withdrawing assets, a "new address" is created on another LAD for Alice to transfer her assets to.
Step 1 Bob sends a private Nostr message to the LAD he is on (LAD2), with the content: "receive 100 USDT".
Step 2 Bob's NAD requests his Taproot Assets Daemon (TAPD2) to generate a "new address" to receive the 100 USDT.
Step 3 Bob shares the "new address" with Alice.
Step 4 Alice sends a private Nostr message to the LAD nostr account she is on (LAD1), with the content: "send to address (new address)".
Step 5 Alice's LAD requests her Taproot Assets Daemon (TAPD1) to send the asset to the provided address.
LN Assets Daemon offers 2 key trading modes to accommodate users' preferences and requirements.
Basic Mode This mode supports all essential operations, including transaction bundling, and facilitates Chat-to-Trade functionality. Users can execute trades at a rate of 1 Transaction per Second (TPS) in this mode. \
Professional Mode In addition to all the features available in Basic Mode, the Professional Mode includes advanced functionalities such as JSON mode and more. Users can experience faster trading with a speed of 20 TPS in this mode. It caters to the needs of experienced individuals seeking more comprehensive options.
A nonce (which stands for "number used once") is a random or unique value that is used only once in a cryptographic communication or protocol. It is typically a large random number or a timestamp.
In the LN Assets Daemon (LAD) system, each account is assigned a transaction nonce. The nonce value increments by one for every completed transaction, serving as a counter to keep track of the number of transactions sent from a specific address. However, the handling of nonce differs between the Basic Mode and Professional Mode.
In Basic Mode, LAD takes care of managing the nonce on behalf of the users. It automatically handles the incrementing and tracking of the nonce for each transaction, simplifying the process for users who prefer a more straightforward approach.
In contrast, Professional Mode allows users to manage the nonce themselves. This mode offers greater flexibility by enabling users to label transactions and execute them in a sequential order of their choice. Users can conveniently handle the nonce value according to their preferences, streamlining transaction management within the Professional Mode of LAD.