# Overview

Lnfi Network unlocks multi-asset DeFi on the Lightning Network through next-generation financial infrastructure, enabling users to trade, earn, and manage Bitcoin, Taproot Assets, and RGB assets via LightningFi.

{% embed url="<https://youtu.be/Q0WgF-Ira7w>" %}

### The Lnfi Edge: Transforming Lightning from Payments to a Programmable Financial Layer

The Lightning Network revolutionized Bitcoin with instant, low-cost payments. However, its core design excels at unilateral transfers – simple, one-way sends. Lnfi Network builds the essential decentralised application layer atop Lightning, unlocking three transformative capabilities:<br>

* Programmable Logic: Embedding complex, conditional financial agreements directly within the off-chain layer, powered by Nostr.
* Secure Bilateral Settlements: Enabling trust-minimised, atomic exchanges of value between peers (e.g., swaps, trades) on Lightning Network, with finality on the Bitcoin blockchain.
* Native Multi-Asset Support: Facilitating the issuance, management, and transfer of diverse assets (Taproot Assets, RGB assets, RWAs, stablecoins, in-game items) seamlessly over Lightning.<br>

This transforms Lightning Network from a payment rail into a powerful platform for open, programmable finance.

***

### The Proof: LN Exchange

Consider LN Exchange, Lnfi's order book DEX. Here's the Lnfi advantage in action:<br>

* **Order Logic (Nostr):** Users broadcast orders via the decentralized Nostr network.
* **Matching Logic (Nostr):** Orders are matched peer-to-peer based on Nostr relays.
* **Settlement Execution (Lightning Network):** The critical step: Matched orders trigger a bilateral, atomic settlement directly over a Lightning channel using Lnfi's capabilities. Assets (e.g., BTC for a stablecoin, BTC for an RWA) are swapped instantly and securely between the two parties. The finality of this swap is anchored on Bitcoin.

**Without Lnfi, this is impossible:** Base Bitcoin and Lightning lacks the programmability to enforce the conditional swap logic and the bilateral settlement mechanism required for a true exchange. Lnfi provides the essential settlement layer and asset flexibility.

**Beyond the Exchange:** This same foundation – programmability, bilateral settlements, and multi-asset support – powers the entire Lnfi ecosystem: token launches (Launchpad/Launchpool), verifiable asset locking, P2P marketplaces, and instant token gifting (LN Gift), all operating with Bitcoin's security and Lightning's speed.

**Lnfi's Edge is enabling a new paradigm: Secure, composable, multi-asset financial applications, natively on Bitcoin's longest-standing layer-2, Lightning Network.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeG1_ZgZgbYNCB5lciIQ9dVo9sU3MTPbputPc8en7gXCOa8Di2eoCCSFXGnyDInWHkqb0_EsA3bhLlVXh6YfvMUYGaH2gWTEsRtJKqpo4Xsln-FPqoyNt7OQo6mNChI2yR_49bKNw?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

***

### Complete Token Lifecycle Support

Lnfi supports the full lifecycle of Taproot and RGB assets, from issue to launch, list, and trade. Whether you’re issuing a new token, launching a token campaign, or building applications, Lnfi offers an all-in-one multi-asset financial layer to power your project from launch to scale.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfATXB-JWE0QhIDcBp9zqCmvWwfM2tcLdT6zKostKeEsMwNimJycm6c84RfEgF_d-Dj47Qy-uZDryJxb2uMQ_M9jMd1-1_ARq9_kfMpRSBgzbMo7g1ADQQZ8ofUbbTUsO_Dh1R8aw?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="134">Token Phase</th><th width="144">Product</th><th width="281">Description</th><th width="88">Link</th><th width="97">Guide</th></tr></thead><tbody><tr><td><strong>Issue</strong></td><td>LN Issue</td><td>Enables issuance of Taproot Assets and RGB assets on the Lightning Network.</td><td>[Link]</td><td></td></tr><tr><td><strong>Launch</strong></td><td>LN Starter<br>Launchpad</td><td>Runs token sale at predefined price on a first-come, first-served basis.</td><td>[Link]</td><td></td></tr><tr><td></td><td>LN Starter<br>Launchpool</td><td>Particpants stake predefined assets to qualify for the chance to win in the token sale or giveaway.</td><td>[Link]</td><td></td></tr><tr><td></td><td>Airdrop</td><td>Manages token giveaway campaigns on the Lightning Network.</td><td>[Link]</td><td></td></tr><tr><td><strong>List &#x26; Trade</strong></td><td>P2P Marketplace</td><td>A peer-to-peer marketplace for listing, buying, and selling Taproot Assets and RGB assets.</td><td>[Link]</td><td></td></tr><tr><td></td><td>LN Exchange</td><td>An order book exchange for trading multi-asset on the Lightning Network.</td><td>[Link]</td><td></td></tr><tr><td><strong>Manage &#x26; Earn</strong></td><td>LN Node</td><td>A self-custodial Bitcoin node service for generating yield.</td><td>[Link]</td><td></td></tr><tr><td><strong>Others</strong></td><td>Lock Assets</td><td>Enables projects and asset owners to initiate publicly verifiable asset locks.</td><td>[Link]</td><td></td></tr><tr><td></td><td>LN Gift</td><td>Provides a simple way to instantly share tokens with friends, fans, or communities.</td><td>[Link]</td><td></td></tr></tbody></table>


# Vision

## Building the Infrastructure for a Hyper-Bitcoinized World

Bitcoin is evolving beyond digital gold into the bedrock of global finance—a trustless, decentralized monetary layer for all value. Yet for society to transition into a hyper-bitcoinized future, where Bitcoin denominates savings, trade, and contracts, we need more than a base layer. We need an ecosystem.

> **Lnfi exists to build that ecosystem.**

By unifying Bitcoin’s security, Lightning’s instant settlement, Nostr’s censorship-resistant communication, and native multi-asset functionality, we create the indispensable rails for an open, decentralised, interoperable  internet:<br>

* Where real-world assets, stablecoins, and other tokenised assets settle peer-to-peer at Lightning speed.
* Where anyone and everyone can issue, settle, and manage tokenised capital markets on Bitcoin-native infrastructure.
* Where programmable money replaces intermediaries—enabling borderless, trust-minimised commerce.

This isn’t speculation. It’s infrastructure.

As inflation erodes legacy currencies and nations seek neutral monetary standards, institutions will demand three things:

✅Security anchored to Bitcoin’s proof-of-work

✅Scalability beyond blockchain limits

✅Sovereignty through non-custodial interoperability

Lnfi delivers this through protocols like LN Exchange (decentralised trading), LN Issue (asset tokenisation), and LN Starter (verifiable token launch campaigns).

## **Our Mission**

Accelerate the transition to a world where value moves freely—secured by Bitcoin, scaled by Lightning, coordinated by Nostr, and powered by Lnfi.

**Bitcoin + Lightning + Nostr + Multi-Asset represents the most interesting opportunity to rebuild a decentralised internet.**&#x20;

The hyper-bitcoinised future isn’t a question of "if," but "how." Lnfi builds the how.


# Key Features

With these features, Lnfi transforms Lightning Network from a payment rail into a powerful platform for open, programmable finance.

***

#### ✅Multi-Asset Financial Layer

Lnfi is a full financial layer atop Lightning —enabling the issuing, sending, trading, staking, locking, and management of Taproot Assets and RGB assets across applications in an open, decentralised, interoperable internet.

***

#### ✅Tokenise Anything

Any application can issue its own protocol token to fundraise, reward users, settle payments, or bootstrap communities—directly on Lightning Network, Bitcoin’s fastest layer.

Tokens can represent anything from protocols, commodities and corporate equity to government debt, corporate bonds, stablecoins and practically any other valuable asset, even loyalty points, transforming them into liquid tradable assets on a global scale.&#x20;

Tokens on Lnfi are issued in the form of Taproot Assets and RGB assets that are compatible with Lightning for global instant settlements.

***

#### ✅Beyond Payments

Lnfi expands the Lightning Network beyond simple payments by enabling expressive, off-chain logic for building DeFi, GameFi, SocialFi, DePIN, AI-native apps, and more—without blockchain limitations.

***

#### ✅Ultra Low Fees, If Not No Fees

Settlement on Lightning and NOT blockchain = ultra low fees. Just fast, gasless transactions.

***

#### ✅Transparent by Default

Lnfi stores every user’s action, executed as a Nostr event, on decentralised relays and IPFS, allowing full visibility and verifiability of every transaction—without compromising user privacy.

***

#### ✅Built for Speed

Lnfi seeks to drive all settlements at 1M+ TPS on Lightning Network.<br>


# Technology

Our Technical Stack

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe1auWLxGzCTn1IUFccKSdLI7qjrXzckjP-PRakFYpfZGdR_KsEaB_sIBoly68ADZ9g2s0oGZibNQ843cD3HWe4YdwUKWyINRofMHcdPr9nhFBFeEju1UJLlPqB42IGF7FnslI3Wg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

Lnfi is built on the most powerful innovations in Bitcoin infrastructure—combining the security of Bitcoin, the scalability of the Lightning Network, the extended programmability and digital identity of Nostr to build an open, decentralised and interoperable internet, powered by multi-asset issuance with Taproot Assets and RGB protocols.&#x20;

These technologies form the foundation of Lnfi to unlock multi-asset DeFi on the Lightning Network, enabling users to trade, earn, and manage Bitcoin, Taproot Assets, and RGB assets via LightningFi.

***

## What is Bitcoin?

Bitcoin is the world’s most secure chain and arguably the most secure computer network in the world.

With >900 quintillion hashes/sec, its computational power dwarfs all supercomputers combined. This creates the only network capable of meeting institutional demands: immovable finality, Byzantine fault tolerance, and censorship-resistant settlement.&#x20;

When trillions in assets tokenise, they require this level of bedrock security. Anything less is a compromise.

***

## What is the Lightning Network?

The Lightning Network is a peer-to-peer payment network. It leverages payment channels anchored on the Bitcoin blockchain to enable near instant and low-cost settlement of bitcoin between participants. Multiple such payment channels are chained together to deliver payments to anyone in the network without requiring trust in participants.

Lightning is the perfect solution for scaling transactions and payments. If you want to scale, you can’t use a single shared state. You have to use peer-to-peer channels.

Lightning’s channel-based architecture enables horizontal scaling, powering a global network of billions of users, trillions of AI agents, and quadrillions of microtransactions.

***

## What is Nostr?

Nostr ("Notes and Other Stuff Transmitted by Relays") is the decentralized communication protocol powering the open internet.

While Bitcoin provides unhackable security and Lightning enables instant, programmable value transfer, Nostr provides the essential decentralized messaging layer for coordination.

* Censorship-Resistant Infrastructure: Not controlled by corporations or governments. Anyone can run a relay or build a client.
* Global Interoperability: Breaks down walled gardens. Applications and users communicate seamlessly across the network.
* Secure Digital Identity & Data: Enables portable, user-controlled identities (like NIP-05) and verifiable data transmission – foundational for trust in tokenized ecosystems.
* Open Coordination Layer: Powers critical functions like order book matching (e.g., LN Exchange), asset provenance tracking, KYC/attestation flows, and community governance – without central points of failure or control.

In essence, Nostr is the neutral, open "nervous system" enabling permissionless communication and coordination essential for a truly decentralised financial future built on Bitcoin.

***

## What are Bitcoin Layer 2s?

Layer 2 protocols extend Bitcoin’s capabilities by building on top of its base layer without modifying the underlying consensus rules. This design preserves Bitcoin’s security and decentralization while introducing features that will be useful for specific use cases. These include faster transaction speeds, reduced fees, programmable logic, and privacy enhancements. For tokenizing assets like real estate, private credit, commodities, or sovereign bonds, these improvements are essential.&#x20;

Bitcoin Layer 2s provide the technical foundation to issue, manage, and settle tokenized assets in a way that meets both institutional standards and global accessibility requirements.<br>

***

## About Taproot Assets Protocol

Taproot Assets enables asset issuance directly on Bitcoin, with native compatibility with the Lightning Network. It combines on-chain anchoring with off-chain speed, offering near-instant asset transfers.

***

## About RGB

RGB offers privacy-preserving smart contracts that don’t burden the base chain. It’s ideal for sensitive financial instruments where data confidentiality is essential. For example, fractionalized real estate or private credit issued with zero public data exposure. Assets issued on RGB are also compatible with RGB-Lightning for global instant settlements.

***

Together, they form the full stack:

**1. Bitcoin =** Truth (global settlement)

**2. Lightning =** Speed (programmable value flow)

**3. Nostr =** Voice (permissionless coordination)

This is why tokenisation will converge on Bitcoin: no other stack offers security without sacrificing speed, or scale without sacrificing sovereignty.

<br>

<br>


# How Does It Work?

Powered by LN Assets Daemon (LAD)

## What is LN Assets Daemon (LAD)?

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.

### **Features**

1. Import Taproot Assets & Satoshi\
   *(\*support for other tokens to be added in the future)*
2. Mint Taproot Assets
3. Send and receive Taproot Assets
4. Provide separate accounts for end users
5. Work on both Self-Custodial and Custodial mode

<div data-full-width="false"><figure><img src="/files/tsM4UTRrgYgQ72UPFOZE" alt=""><figcaption></figcaption></figure></div>

***

## Scenarios

### 1. Depositing Taproot Assets to Lnfi

{% hint style="info" %}
**Alice deposits assets from Taproot Assets Daemon (TAPD)**

**to LN Assets Daemon (LAD)**
{% endhint %}

**Step 1**\ <mark style="background-color:orange;">Alice sends a private message to LAD's Nostr address with the content "receive 100 USDT".</mark>

**Step 2**\ <mark style="background-color:green;">NAD requests its TAPD to generate a "new address" to receive the 100 USDT.</mark>

**Step 3**\ <mark style="background-color:purple;">Alice sends the asset to the "new address" on Other-TAPD.</mark>

<div data-full-width="false"><figure><img src="/files/RFukYonkhkxaFGwWpAWg" alt=""><figcaption></figcaption></figure></div>

***

### 2. Withdrawing Taproot Assets

{% hint style="info" %}
**Alice withdraws assets from LN Assets Daemon**
{% endhint %}

**Step 1**\ <mark style="background-color:orange;">Alice generates a "new address" on Other-TAPD to receive the assets.</mark>

**Step 2**\ <mark style="background-color:green;">Alice sends a private message to LAD's Nostr address with the content: "send to address (new address)".</mark>

**Step 3**\ <mark style="background-color:purple;">LAD requests the TAPD to send the asset to the provided address.</mark>

<div data-full-width="false"><figure><img src="/files/WVkPULhdxE0XteNmaUxA" alt=""><figcaption></figcaption></figure></div>

***

### 3. Transferring Assets within the same LN Assets Daemon (LAD)

{% hint style="info" %}
Alice sends assets to Bob, who is on the same LN Assets Daemon (LAD) as Alice.
{% endhint %}

**Step 1**\ <mark style="background-color:orange;">Alice sends a private Nostr message to the LAD Nostr address with the content: "send 100 USDT to (Bob's Nostr address)".</mark>

**Step 2**\ <mark style="background-color:green;">The LAD adjusts the balances of both Alice and Bob accordingly.</mark>

<div data-full-width="false"><figure><img src="/files/cA9ovAKiAU3lVz3J71TK" alt=""><figcaption></figcaption></figure></div>

***

### 4. Transferring Assets Between Different Nostr Addresses

{% hint style="info" %}
Alice sends assets to Bob, who is on a different LN Assets Daemon (LAD) from Alice.
{% endhint %}

Similar to withdrawing assets, a "new address" is created on another LAD for Alice to transfer her assets to.

**Step 1**\ <mark style="background-color:orange;">Bob sends a private Nostr message to the LAD he is on (LAD2), with the content:</mark> *<mark style="background-color:orange;">"receive 100 USDT"</mark>*<mark style="background-color:orange;">.</mark>

**Step 2**\ <mark style="background-color:green;">Bob's NAD requests his Taproot Assets Daemon (TAPD2) to generate a</mark> *<mark style="background-color:green;">"new address"</mark>* <mark style="background-color:green;">to receive the 100 USDT.</mark>

**Step 3**\ <mark style="background-color:purple;">Bob shares the</mark> *<mark style="background-color:purple;">"new address"</mark>* <mark style="background-color:purple;">with Alice.</mark>

**Step 4**\ <mark style="background-color:red;">Alice sends a private Nostr message to the LAD nostr account she is on (LAD1), with the content:</mark> *<mark style="background-color:red;">"send to address (new address)"</mark>*<mark style="background-color:red;">.</mark>

**Step 5**\ <mark style="background-color:blue;">Alice's LAD requests her Taproot Assets Daemon (TAPD1) to send the asset to the provided address.</mark>

<div data-full-width="false"><figure><img src="/files/0Hj7W66PmgMvtkppXfLN" alt=""><figcaption></figcaption></figure></div>

***

## Trading Modes

LN Assets Daemon offers 2 key trading modes to accommodate users' preferences and requirements.

1. **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. \\
2. **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.

***

## Nonce

{% hint style="info" %}
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.
{% endhint %}

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.


# Hybrid Custody and Security

Assets on Lnfi can be held either under Lnfi's Managed Custody or in users' own self-custodied LN Nodes.

**⚡Managed Custody**

Lnfi's Managed Custody service, where users' funds are securely stored on Lnfi's Lightning Node, will continue. All funds' movements are trackable and auditable by anyone on the Lnfi to ensure full transparency and uphold highest standards of risk management.

In the future, this service will support Pocket Universe, a system that requires both the node operator and the user to approve any fund movement requests, thereby enhancing security measures and enabling self-custody trading.

**⚡Self-Custody with LN Node**

Users may set up their own LN Node for a monthly fee to hold their assets. The team will take a multi-pronged approach to enable full self-custody trading for users with LN Node.\
\
With LN Node v1, users would have to send assets to and have them held under Lnfi's custody to conduct any trade.\
\
With LN Node v2, users would only need to send assets sized according to the order's size by paying a Lightning invoice. Once the order is filled, the resulting assets would be returned to the users' LN Node through a second Lightning invoice i.e. assets of the order's size are only under Lnfi's Managed Custody while the order is opened and remains unfilled.\
\
With LN Node v3, full self-custody trading will be enabled i.e. assets do not have to be custodied by Lnfi in the event of a trade.


# Importing Assets

Users can import assets into the Lnfi Asset List from Lnfi Universe or other Taproot Assets Universes.

{% hint style="info" %}
A Taproot Assets universe is a repository of assets and their proofs. A universe may serve information about a single or multiple asset types (e.g. a specific stablecoin or all stablecoins).
{% endhint %}

{% hint style="success" %}
Lnfi has integrated support for Taproot Assets. Nostr users will be able to transfer or trade Taproot Assets when Taproot Assets goes LIVE on Bitcoin Mainnet.
{% endhint %}

{% embed url="<https://youtu.be/7byOd8tMBbA>" %}

## How to Import Assets?

To receive an import asset, go to the Assets Dashboard.

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

Select "Import Assets"

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

Search for the asset by its name or Asset ID. Select the "Import Asset" button to proceed.

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

Confirm and authorize the action when prompted.

If the asset you are looking for isn't found with Asset Name or Asset ID, use "Sync and Import"

{% hint style="info" %}
Although we've developed a comprehensive range of features for Taproot Assets, our approach is to introduce them progressively to the public. This strategy guarantees that all features undergo rigorous testing before we introduce any new ones.\
\
\*Sync and Import will be available in upcoming updates.
{% endhint %}

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

Enter the corresponding info for Universe\_host and Asset ID, then select "Import" to continue.

<figure><img src="/files/sFPTlWVZMly2nMEVzxvf" alt="" width="466"><figcaption></figcaption></figure>


# Natural Language Commands

Unlike most protocols, the Lnfi is a natural language protocol where all sub-protocols interact through commands expressed in natural language.

As an illustration, in the Lnfi, the command "balance of npubxxx" allows users to inquire about the balance of a particular address. This command resembles the input format of ERC20's "balanceOf()" function, which is widely used for retrieving token balances.

{% hint style="info" %}
This unique approach enables a more intuitive and user-friendly interaction experience within the Lnfi ecosystem.
{% endhint %}

## About Chat-To-Trade

{% embed url="<https://youtu.be/ryPXdCEC2T8>" %}

## Chat-to-Trade Commands

Users may send commands through any Nostr Client (e.g. Damus) to Lnfi's Nostr public addresses. Commands are written in small caps.

Users can input the following basic commands:

## 1. Retrieve the Token List

Query the list of supported tokens.

{% code fullWidth="false" %}

```
token list
```

{% endcode %}

## 2. Check The Account Balance

```
balance
```

Check the account balance for a specific token (SATS).

<mark style="background-color:green;">balance for (token)</mark>

```
balance for sats
```

Check the account balance for a specific Nostr address.

<mark style="background-color:green;">balance of (npub address)</mark>

```
balance of npub00000
```

Check the account balance for a specific token in an Nostr address.

<mark style="background-color:green;">balance of (npub address) for (token)</mark>

```
balance of npub00000 for sats
```

## 3. Transfer Tokens to a Specified Nostr Address

<mark style="background-color:green;">transfer (quantity) (token) to (npub address)</mark>

{% code fullWidth="false" %}

```
transfer 100 sats to npub00000
```

{% endcode %}

## 4. Approve Operator(s) to Control User's Asset(s)

Approves a single token to an operator's account address. The operator will be able to use the approved amount of tokens for transactions on behalf of the asset owner.

<mark style="background-color:green;">approve (quantity) (token) to (npub address)</mark>

```
approve 1000 sats to npub00000
```

For approving multiple tokens to an operator's account address.

```
approve 1000 sats to npub000000; approve 100 eth to npub000000
```

## 5. Transfer Token by Operator from Sending Address to Receiving Address

Transfer a single token to a receiving address on behalf of the asset owner.

<mark style="background-color:green;">transfer (quantity) (token) from (sending address) to (receiving address)</mark>

```
transfer 1000 sats from npub00000 to npub11111
```

Transfer multiple tokens to receiving address on behalf of the asset owner.

<mark style="background-color:green;">transfer (quantity) (token 1) from (sending address) to (receiving address); transfer (quantity) (token 2) from (sending address) to (receiving address)</mark>

{% code overflow="wrap" %}

```
transfer 1000 sats from npub00000 to npub11111; transfer 100 eth from npub00000 to npub11111
```

{% endcode %}

## 6. Check the Allowance Approved to the Operator

Check the allowance of a specific token approved to a specific operator by a specific owner.

<mark style="background-color:green;">allowance to (operator's npub address) by (owner's npub address) for (token)</mark>

```
allowance to npub00000 by npub11111 for sats
```

The Asset Owner can check the allowance of a specific token approved for a specific operator.

<mark style="background-color:green;">allowance to (operator's npub address) for (token)</mark>

```
allowance to npub00000 for sats
```

The Approved Operator can check the allowance of a specific token approved by the Asset Owner.

<mark style="background-color:green;">allowance by (owner's npub address) for (token)</mark>

```
allowance by npub00000 for sats
```

## 7. Retrieve Nonce

Check nonce of the last executed order.

```
nonce
```

Check nonce of the last executed order by a specific npub address.

<mark style="background-color:green;">nonce of (npub address)</mark>

```
nonce of npub00011
```

## 8. Check Deposits

Get deposit info.

```
deposit
```

## 9. Withdraw Token

{% hint style="info" %}
Withdrawal of tokens from Lnfi to a designated wallet would cost network fees
{% endhint %}

Withdraw token to a specific account address.

<mark style="background-color:green;">withdraw (quantity) (token) to (wallet address)</mark>

```
withdraw 1000 sats to 0x01....8047
```

Withdraw multiple tokens to different account addresses.

<mark style="background-color:green;">withdraw (quantity) (token 1) to (wallet address 1); withdraw (quantity) (token 2) to</mark> \ <mark style="background-color:green;">(wallet address 2); withdraw (quantity) (token 1) to (wallet address 2)</mark>

{% code overflow="wrap" %}

```
withdraw 1000 sats to 0x01....8047; withdraw 1000 usdt to 0xD7....9812; withdraw 100 sats to to 0xD7....9812
```

{% endcode %}

## 10. Address Book

Query the list of names and addresses in the user's address book

```
address book
```

Add name and npub address as a key-value pair to address.

<mark style="background-color:green;">add address (npub address) name (name to be shown on address book)</mark>

```
add address npub000000 name bob
```

{% hint style="info" %}
Subsequently, users can execute commands with names in the address instead of using long npub address.\
\
example:

```
transfer 1000 sats to bob
approve 1000 sats to bob
```

{% endhint %}

Delete name from address book.

<mark style="background-color:green;">delete (name) from address book</mark>

```
delete bob from address book
```

## 11. Help

Query the system for help, which returns a list of available commands

```
help
```

## 12. Pro Mode

Tell users what is the current mode they are using

```
query mode
```

Change to Pro mode

```
open pro mode
```

Change to Normal mode

```
close pro mode
```


# Marketplace

P2P Marketplace on Web Interface & Chat-to-Trade

{% hint style="info" %}
Developers have the flexibility to build upon LN Assets Daemon for their own customized Marketplaces and modes, tailoring them to their specific requirements.
{% endhint %}

<div data-full-width="false"><figure><img src="/files/iZQJdH0AXJLHlUPvKTq4" alt=""><figcaption></figcaption></figure></div>

The LN Assets Daemon (LAD) includes a simple P2P Marketplace demo. With LAD, users can access the Marketplace through the frontend web interface.

The Marketplace charges a transaction fee of 0.5% of the total transaction amount. This fee percentage can be adjusted through configuration settings.

{% hint style="info" %}
You can access our main-net marketplace via [mainnet.lnfi.network](https://mainnet.nostrassets.com)
{% endhint %}

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

Besides the Web interface, the Marketplace also supports the Chat-To-Trade mode. Users can transfer, receive, and query Lnfi using chat commands directly through any Nostr frontend clients (decentralized apps) such as Damus, Amethyst, Plebstr & Primal.


# Marketplace Commands

Following are the Chat-to-Trade commands for users to use Marketplace on any Nostr frontend clients (eg. Damus, Amethyst, Plebstr & Primal)

{% hint style="info" %}
Developers have the flexibility to build upon Nostr Assets Daemon for their own customized Marketplaces, which includes creating their own set of commands for users.
{% endhint %}

## Check the Status of the Marketplace

Users can check the summary of all orders on the Marketplace

```
status
```

## Place Limit Orders

Users can create new buy or sell listings on the Marketplace for a base token at a specified price.

<mark style="background-color:green;">('buy' or 'sell') (quantity) (base token) at price (quote token)</mark>

```
buy 10000 sats at price 10 usdt
sell 10000 sats at price 10 usdt
```

## Check Orders' Status

Show the status of all system orders of a specific token.

<mark style="background-color:green;">show all system orders of (token)</mark>

```
show all system orders of sats
```

<mark style="background-color:green;">show all system ('buy' or 'sell') orders of (token)</mark>

```
show all system buy orders of sats
```

```
show all system sell orders of sats
```

Show the status of all user's orders

```
show all my orders
```

<mark style="background-color:green;">show all my ('buy' or 'sell' or 'history') orders</mark>

```
show all my buy orders
```

```
show all my sell orders
```

```
show all my history orders
```

## Take Order

Take a single order from current buy or sell listings on the Marketplace

<mark style="background-color:green;">take order (order id)</mark>

```
take order 11112
```

Take multiple orders

<mark style="background-color:green;">take order (order id); take order (order id)</mark>

```
take order 11113; take order 11115
```

## Cancel Order

User can cancel their order that is currently still listed on the Marketplace.

<mark style="background-color:green;">cancel order (order id)</mark>

```
cancel order 11112
```

They can also cancel multiple orders

<mark style="background-color:green;">cancel order (order id); cancel order (order id)</mark>

```
cancel order 11113; cancel order 11114
```


# Roadmap & Progress

{% tabs %}
{% tab title="Q2 2024" %}
P2P Marketplace & LIghtning Starter Upgrade

* [ ] Permissionless issuance of Taproot Assets
* [ ] Permissionless creation of public Fundraising or Fairmint campaigns
* [ ] Permissionless listing of new trading pairs on the P2P Marketplace

LN Exchange

* [ ] Spot Trading Orderbook development
* [ ] Perpetual Trading Orderbook development
* [ ] Migration of P2P Marketplace to LN Exchange
* [x] Phase 1: Points & Rewards Program Launch
* [ ] Phase 2: Early Access
* [ ] Phase 3: Public Beta Launch
* [ ] Referral Program Launch
* [ ] Release LN Exchange Public API

USDT Bridge

* [ ] USDT on Ethereum to be bridged with dual rewards scheme\
  (More info to be disclosed in a separate announcement)

MicroNode (Pillar for Lnfi's Self Custodial vision)

* [x] Development of a user-friendly, easy-to-use interface for setting up and managing Lightning Nodes
  {% endtab %}

{% tab title="01 2024" %}
Announced plans for Q1 2024\
<https://nostrassets.medium.com/navigating-q1-2024-nostrassets-protocol-updates-8d4963af7b5a>

**Update on NostrAssets Protocol: Building for Meaningful Impact**

* [ ] Construct a decentralized solution that alleviates congestion on the Bitcoin main-net through the use of Taproot Assets\ <mark style="background-color:orange;">(in conceptualization)</mark>
* [ ] Resolving the issue of insufficient liquidity in nodes\ <mark style="background-color:green;">(working with</mark> [<mark style="background-color:green;">Voltage.cloud</mark>](https://nostrassets.medium.com/announcement-nostrassets-leverages-voltage-to-enable-next-phase-of-growth-with-non-custodial-3dcd0b1c0c31)<mark style="background-color:green;">, expected first release within Q1 2024)</mark>\
  <https://nostrassets.medium.com/announcement-nostrassets-leverages-voltage-to-enable-next-phase-of-growth-with-non-custodial-3dcd0b1c0c31>
* [x] The first version of NostrAssets API & SDK\ <mark style="background-color:green;">NostrAssets API</mark> [<mark style="background-color:green;">https://github.com/nostrassets/naapi</mark>](https://github.com/nostrassets/naapi)\ <mark style="background-color:green;">NostrAssets SDK</mark> [<mark style="background-color:green;">https://github.com/nostrassets/nasdk</mark>](https://github.com/nostrassets/nasdk)\\

**Update on Lightning Starter Fair Mint**

* [x] New Fair Mint\ <mark style="background-color:green;">TNA Protocol Fair Mint on 12 Jan 2024</mark>
* [x] Update on Lightning Starter Fair Mint Rules\ <mark style="background-color:green;">allocating 2 pools exclusively with the token from the preceding Fair Mint</mark>\ <mark style="background-color:orange;">Fair Mint rules will continue to be refined over time</mark>\\

**Update on $TREAT & $TRICK: Utilities are coming**

* Lightning Gift (7 Feb)
* Lock Assets Tool (2 Feb)

\
**Others**

* Added Order History Status Filter (2 Feb)
* Added Holding List on Explorer (29 Jan)
* Explorer now displays sending npub address & receiving npub address (29 Jan)
  {% endtab %}
  {% endtabs %}

{% tabs %}
{% tab title="Q4 2023" %}

* [x] Established private channel with WalletofSatoshi (29 Dec)
* [x] Added Lightning Starter with $NOSTR Fair Mint (14 Dec)
* [x] Added Repair Tool to fix failed transactions
* [x] Added Funding Records on Explorer
* [x] Established private channel with Binance & OKX (20 Nov)
* [x] Wallet Connect integrated support with OKX wallet, Token Pocket, OneKey
* [x] Refining and making the platform to be more robust to handle higher usage spikes
* [x] $TRICK &/ $TREAT Taproot Assets Airdrop (31 Oct)
* [x] Taproot Assets Mainnet Launch on Lnfi (30 Oct)
* [x] Lnfi Testnet (13 Oct)
* [x] First Nostr-Native BTC (satoshis) launch on Lnfi Testnet (13 Oct)
* [x] Taproot Admin Wallet (9 Oct)
  {% endtab %}
  {% endtabs %}


# LN Issue

With just a few simple clicks, projects or users can issue their own Taproot Assets and RGB assets on LN Issue. A one-time issuance fee is required to issue an asset. This fee covers the cost of issuing the asset, launching a campaign on LN Starter or Airdrop, and listing on the P2P Marketplace.&#x20;

Once issued, the Issuers are strongly encouraged to run at least one launch campaign before listing their asset on the marketplace, helping to build awareness and community engagement.

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

<br>


# LN Starter

## What is LN Starter?

LN Starter is a token launch platform for Taproot Assets and RGB Assets that enables projects to run Launchpad and Launchpool campaigns (ILOs - Initial Lightning Offerings) to raise community funding or build a dedicated user base.

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

## What is Initial Lightning Offering (ILO)?

An Initial Lightning Offering (ILO) is a token offering launched on the Bitcoin Lightning Network, designed to provide a fair and transparent process for all participants. ILOs ensure that every participant stands an equal chance to engage in early token sales without barriers such as whitelists, gatekeeping, or preferential treatment.

## What is LN Launchpad?

Gain instant access to the fastest way to launch your asset, raise funds, and build a thriving community — all with our powerful suite of tools. This inclusive model helps projects maximize exposure, reach broader communities, and ensure fair, early access from day one.

**Launchpad Sale Categories:**

**1. Open Sales**

Open Sales offers a fully permissionless launch path for teams that value autonomy.\
\
There’s no application process or oversight—projects can launch directly on their terms. While uncurated by Lnfi Team, Open Sales empowers committed teams with a vision and a roadmap to engage directly with the community and grow organically.

**2. Featured Sales**

Featured Sales are curated, collaborative launches designed for high-quality, community-aligned projects. These undergo rigorous evaluation and due diligence by Lnfi Team.\
\
Projects selected for Featured Sales receive dedicated promotion, priority placement, and support throughout their campaign.

{% hint style="warning" %}
Please fill out this [form](https://forms.gle/z5Xhvoz1oNpMT4YR8) to apply for Launchpad Featured Sales.
{% endhint %}

***

## What is LN Zodiac Mint?

**A Fair, Transparent, and Unbiased Token Launch**

Zodiac Mint is a next-generation launch mechanism built to eliminate manipulation and ensure equal opportunity for all. It unfolds over three transparent phases, with outcomes driven entirely by the immutable truth of Bitcoin block hashes, not centralized decisions or algorithms.

There are 2 types:

**a)** **Token Sales:** Token sale at a predefined price.

**b) Raffle**: Token giveaway at zero fee.&#x20;

{% hint style="warning" %}
Please fill out this [form](https://forms.gle/z5Xhvoz1oNpMT4YR8) to apply for Zodiac Mint Token Sales / Raffle.
{% endhint %}

### Why It’s Fair

* **Unbiased:** Winners are selected based on real-time Bitcoin block hashes — verifiable, public, and impossible to manipulate.
* **Transparent:** Every process stage, from participation to winner selection, is open for all to see and track in real time.
* **Trustless:** No backdoors. No favoritism. Your fate is sealed by the blockchain, not by insiders.

### How It Works

**Phase 1 – Participation**\
Locked assets into any of the 12 Zodiac pools. Monitor leaderboards, strategize, and secure your spot.

{% hint style="info" %}
To learn more about how to participate in Zodiac Mint, read \[[Link](/user-guides/participate-in-zodiac-mint)].
{% endhint %}

**Phase 2 – Lottery Draw**\
At a specific Bitcoin block height, pools are selected based on actual Bitcoin block hashes. No scripts. No bias. Just math and mining.

**Phase 3 – Claim Rewards**\
If your pool wins, claim your airdrop directly. All locked assets will be returned—50% after Phase 1, and the rest during Phase 3.


# LN Launchpool

## How to start a LN Launchpool campaign?

A fair and transparent, gamified distribution system that leverages a unique combination of Bitcoin block hash and launch pool mechanics to allocate tokens to committed users who stake.&#x20;

There are 2 types:

**a)** **Token Sales:** Token sale at a predefined price.

**b) Raffle**: Token giveaway at zero fee.&#x20;

{% hint style="warning" %}
Please fill out this [form](https://forms.gle/z5Xhvoz1oNpMT4YR8) to apply for Launchpool Token Sales / Raffle.
{% endhint %}

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

***

## How to participate in LN Launchpool?

{% hint style="danger" %}
Before you begin, please read the Fair Mint Rules:\
[Phase 1](/products/ln-starter/ln-launchpool/phase-1-rules)\
[Phase 2](/products/ln-starter/ln-launchpool/phase-2-rules)\
[Phase 3](/products/ln-starter/ln-launchpool/phase-3-rules)
{% endhint %}

There are 3 phases.

[Phase 1: Participation](#phase-1-participation)\
[Phase 2: Lottery Draw](#phase-2-lottery-draw)\
[Phase 3: Claim Rewards](#phase-3-claim-rewards)

## Phase 1: Participation

{% embed url="<https://youtu.be/yOYG4L6vdhU>" %}

### Overview of Phase 1 User Interface

Users can only interact with the Fair Mint page when Phase 1 starts.

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

There are 12 launch pools. Each launch pool has its assigned hexadecimal character(s).

* 10 launch pools can be participated with $TREAT and/or $TRICK.
* 2 launch pools can be participated exclusively with the token from the preceding Fair Mint.\
  \- 1 launch pool with a single hexadecimal character\
  \- 1 launch pool with two hexadecimal characters

{% hint style="info" %}
To take part in Phase 1, you need to have a minimum of 100 $TREAT and/or $TRICK or the preceding Fair Mint assets.
{% endhint %}

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

You can also view the total number of participants and the amount of locked assets in each pool.

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

With the Rank Overview column, you can swiftly assess the ranking and asset requirements in each pool.

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

For example, this summary tells you that you'd need over 9,312 assets to hit rank 50 in this pool. However, this amount will increase as existing participants increase their holdings or new participants join.

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

### How to participate in a Launch Pool?

To participate, select a Zodiac pool.

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

Tap on Participate

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

Enter your desired amount of assets to lock.

<figure><img src="/files/pMM2Lm1XWpIAJEQamzl4" alt=""><figcaption><p>*Image is for preview purposes only. It does not reflect the actual price or value.</p></figcaption></figure>

Tap on **Approve**

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

And then Tap again to confirm **Lock assets** into the pool.

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

Done. You have successfully participated in a launch pool.

{% hint style="info" %}
Only ONE Nostr address is allowed to participate in ONE launch pool. You will not be able to withdraw your Locked Assets from the participated pool when Fair Mint is in progress.\
\
Each Nostr address can only win once.
{% endhint %}

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

### Strategize Better By Checking The Launch Pool Leaderboards

Users can check the Launch Pool Leaderboards to assess the ranking of participants and the assets requirement.

{% hint style="info" %}
We recommend users check the Leaderboards before they make any decision on which pool to participate in.
{% endhint %}

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

To quickly check a certain rank, use the search bar and enter the desired ranking number you wish to learn more about.

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

### How to Increase Your Assets Quantity In The Participated Pool?

{% hint style="info" %}
There is a cooldown period of 10 minutes each time you lock your assets into the Launch Pool.
{% endhint %}

Before you increase your asset quantity in your participated pool, it is best to check the leaderboard and understand which rank position you are aiming for.

Tap on Increase Your Locked Assets to add more assets to your participated pool.

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

The ranking and asset requirement will increase as existing participants may increase their holdings or new participants join. Do consider this before deciding on the amount of assets you will be adding to your asset quantity.

Additionally, take note of the Phase 1 Countdown Timer!

{% hint style="danger" %}
When Phase 1 ends, you will no longer be able to participate or increase assets in your pool.
{% endhint %}

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

### **Important Notes**

{% hint style="danger" %}
Despite our extensive preparations for a seamless experience, we anticipate a significant surge in network traffic in the last 30 minutes before the deadline.
{% endhint %}

{% hint style="danger" %}
It's crucial to avoid waiting until the final moments to participate or increase asset quantity.
{% endhint %}

{% hint style="success" %}
At the end of Phase 1: Participation, 50% of the locked assets will be returned, and the remaining 50% will be refunded at the end of Phase 2: Lottery Draw.
{% endhint %}

{% hint style="warning" %}
Unlocking assets may take some time because the relays can't handle too many messages at once. We'll unlock assets in the order of participation. Roughly 300 participants' assets will be unlocked every minute. So if there are 50,000 participants, it'll take a few hours.
{% endhint %}

## Phase 2: Lottery Draw

{% hint style="info" %}
Phase 2 commences at the Bitcoin’s block number specified by the Fair Mint issuer.
{% endhint %}

{% hint style="info" %}
To understand how winners are selected and the rewards calculation, please read our Fair Mint rules: [Phase 2 Rules](/products/ln-starter/ln-launchpool/phase-2-rules)
{% endhint %}

Users will be able to see the real-time unveil of Block Hash and the Lucky winning pool on the Fair Mint Lottery Draw Page.

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

If you win in any block, you will see a Congratulations displayed on your screen with the respective Block that you won in. The amount of Airdrop won will also be displayed below.

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

Phase 2: Lottery Draw page will continue to unveil Block Hash and winning launch pools until the maximum number of winners has reached.

## Phase 3: Claim Rewards

All eligible winners will be able to **claim** their rewards directly on the Fair Mint page.

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

<mark style="background-color:yellow;">Winners MUST claim their rewards within the announced duration.</mark> There will be no extension of the claim duration. Any unclaimed rewards will be returned to the Issuer at the end of the claim duration.

{% hint style="info" %}
During Phase 3, the remaining locked assets will be returned to the respective participants.
{% endhint %}

{% hint style="warning" %}
Unlocking assets may take some time because the relays can't handle too many messages at once. We'll unlock assets in the order of participation. Roughly 300 participants' assets will be unlocked every minute. so if there are 50,000 participants, it'll take a few hours.
{% endhint %}

#### Claiming of Rewards

The official announcement of the asset listing on the marketplace will be communicated.


# Phase 1 Rules

## Phase 1: Participation <a href="#id-71ac" id="id-71ac"></a>

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

In the Launch Pools, a default configuration of 12 pools or a number specified by the Issuer will be assigned 16 hexadecimal characters, comprising 0–9 and a-f. Among the 12 Launch Pools, four will have TWO hexadecimal characters each, while the remaining eight will each have ONE.

{% hint style="info" %}

* 10 launch pools can be participated with $TREAT and/or $TRICK.\
  \- 7 launch pools with a single hexadecimal character\
  \- 3 launch pools with two hexadecimal characters
* 2 launch pools can be participated exclusively with the token from the preceding Fair Mint.\
  \- 1 launch pool with a single hexadecimal character\
  \- 1 launch pool with two hexadecimal characters
  {% endhint %}

<figure><img src="/files/8oq9yxSPwzXx00VujULi" alt=""><figcaption></figcaption></figure>

During Phase 1: Participation, participants have the flexibility to engage in their chosen Launch Pool by applying with their desired amount of eligible assets.

{% hint style="info" %}
To take part in Phase 1, you need to have a minimum of 100 $TREAT and/or $TRICK or the preceding Fair Mint assets.
{% endhint %}

{% hint style="info" %}
**Single Launch Pool Participation**

Each Nostr address is limited to joining a single launch pool during the event.
{% endhint %}

Rankings within the pool will be determined by the cumulative sum of the assets committed by each participant. To enhance their standing and odds of winning, participants can monitor their rank within the pool and increase their commitment accordingly.

Importantly, withdrawals from the launch pool will not be permitted during this initial phase, ensuring a stable and fair participation process.

At the end of Phase 1: Participation, assets committed will be returned, and the remaining 50% will be refunded at the end of Phase 2: Lottery Draw.

## Phase 1 Duration

There is limited time to participate in Phase 1. This duration will be specified and announced by the Issuer Project.

{% hint style="danger" %}
Despite our extensive preparations for a seamless experience, we anticipate a significant surge in network traffic in the last 30 minutes before the deadline.
{% endhint %}

{% hint style="info" %}
Important: Users will not be able to participate or increase the amount of their locked assets once Phase 1 has ended.
{% endhint %}


# Phase 2 Rules

## Phase 2: Lottery Draw <a href="#id-71ac" id="id-71ac"></a>

Phase 2 commences at the Bitcoin’s block number specified by the Issuer Project.

{% hint style="info" %}
During the lottery stage, the winning Launch Pool is determined by the hexadecimal character matching the last one in the block hash of a Bitcoin block.
{% endhint %}

<figure><img src="/files/8LgWWSdVvKKFzulgmqJa" alt=""><figcaption></figcaption></figure>

For instance, using the example in our image, if the last character in the block hash is a ‘6’, Launch Pool #7 with ‘6’ assigned is declared the winning pool.

## Winner Selection Process <a href="#ddf0" id="ddf0"></a>

#### **Number of Winners:**

50 (default) winners or a number specified by the Issuer will be drawn from the winning pool.

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

#### **Selection Criteria:**

Winners are chosen based on the highest quantity of locked assets per Block Hash. In other words, the first top 50 will be selected for the first win of the pool.

#### **Cycle Repetition:**

The cycle repeats for subsequent blocks until the maximum number of winners is met. If any Launch Pool secures another win in a subsequent draw, the next set of 50 top-ranked participants from the winning pool will be selected as winners.

<figure><img src="/files/5Xlbru5lTj64hbQEOpSC" alt=""><figcaption></figcaption></figure>

#### **Halving of Rewards:**

The rewards undergo halving twice, occurring at every interval of 100 blocks.

#### **Rewards Allocation Ratio**

The total number of winners and total rewards are specified by the Issuer Project.\
The reward allocation ratio is based on 4/2/1

<table><thead><tr><th width="99">Tier</th><th width="156">Block</th><th width="212">Winners per Block</th><th>Rewards Allocation Ratio</th></tr></thead><tbody><tr><td>1</td><td>1-100</td><td>50</td><td>4</td></tr><tr><td>2</td><td>101-200</td><td>50</td><td>2</td></tr><tr><td>3</td><td>201-300</td><td>50</td><td>1</td></tr></tbody></table>

{% hint style="info" %}
Should there be a total reward amount of 7,000 to be split across the three tiers, Tier 1, 2 and 3 will be entitled to 4,000, 2,000, and 1,000 assets respectively.
{% endhint %}

#### **Duration of Phase 2:**

Phase 2 may take place over 1–3 days depending on the maximum number of winners and the number of winners selected per block.

Phase 2 concludes when the maximum number of winners for the event has been reached.

#### **One-Time Winning**

To promote fairness and broaden the distribution of rewards, each Nostr address is eligible to win only once throughout the event duration.

#### **Winner Limit per Block Hash**

A maximum of 50 winners, or a number specified by the issuer, will be selected for each Block Hash during the Phase 2 Lottery Draw.


# Phase 3 Rules

## Phase 3: Claim Rewards <a href="#id-71ac" id="id-71ac"></a>

{% hint style="info" %}
Eligible winners will have to <mark style="background-color:orange;">**CLAIM**</mark> their rewards on the Participation Page during Phase 3.
{% endhint %}

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

### [⚠️](https://emojipedia.org/warning)Important Note <a href="#id-4c36" id="id-4c36"></a>

Failure to claim the rewards during the specified claim duration will result in forfeiting your rewards. Unclaimed rewards will be returned to the Issuer Project at the end of the claim duration.


# LN Exchange

LN Exchange is the first and largest spot and perpetual orderbook on the Bitcoin Lightning Network, for trading of Bitcoin, Taproot Assets, and RGB Assets with unmatched speed, price and liquidity.\
\
Find more out:

Web:  [https://www.ln.exchange](https://www.ln.exchange/)\
Docs: [https://docs.ln.exchange](https://docs.ln.exchange/)\
DeFiLlama: <https://defillama.com/protocol/ln-exchange?tvl=false&events=false&perpsVolume=true>

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


# LN Node

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

## **What is LN Node?**

LN Node is a self-custodial, open source Lightning node that enables users to earn risk-free yield on Bitcoin, Taproot Assets and RGB assets through LightningFi and connects to other apps on Lightning

This empowers individuals to assert sovereignty over their assets and digital identity within the Lightning Network, fostering greater adoption and advancing the concept of self-custody to new heights.

<details>

<summary>LN Node entails the installation and utilization of several key components [Read more]</summary>

* **Lightning Network Daemon (lnd):**\
  This software serves as the backbone for Lightning Network nodes, facilitating the seamless routing of transactions across the network.
* **Taproot Assets Daemon (tapd):**\
  Implementing the Taproot Assets Protocol, tapd empowers the issuance of assets on the Bitcoin blockchain.
* **Taproot Assets Hub (TAHub):**\
  Acting as an intermediary, TAHub facilitates communication between lnd, tapd, and Nostr clients/apps, enabling the exchange of information.

</details>

<details>

<summary>LN Node, at its core, offers <strong>[Read more]</strong></summary>

* **Interoperable Sovereign Nostr Identity:**\
  Providing users with a seamless and sovereign identity experience within the Nostr ecosystem.
* **Effortless Transactions and Payments:**\
  Users can seamlessly conduct transactions and payments in Bitcoin and/or Taproot Assets with external applications.
* **Liquidity Provision on Lightning Network:**\
  By participating in the Lightning Network, LN Node users can capture Annual Percentage Rates (APR) by providing liquidity.
* **Unlocking Diverse Use Cases:**\
  LN Node opens up a multitude of possibilities for both web2 and web3 applications, broadening the scope of potential functionalities.

</details>

## Why LN Node?

Unlike traditional Lightning nodes, LN Node is designed for effortless mining and automation, offering:

✅ Built-in mining rewards – Earn while running your node\
✅ Zero technical setup – Simple, automated management\
✅ AI-driven optimization – Smarter, faster, and more secure\
✅ Seamless Taproot and RGB Assets & PayFi integration – Unlock new payment possibilities\
✅ Powered by industry leaders – Lnfi Network, Lightning Labs, Lightspark, Astra & ElizaOS

The Lightning Network marks a significant leap forward for Bitcoin, serving as a Layer 2 solution that enables swift and secure transactions. However, despite its potential, a large portion of users opt for custody Lightning solutions, with only a small fraction taking on the responsibility of running their own Lightning Node to attain self-custody over their assets.

{% hint style="warning" %}
This low adoption of self-custodial practices can be attributed to the challenges involved in setting up, overseeing, and maintaining Lightning Nodes.
{% endhint %}

<details>

<summary>At present, achieving self-custody on the Lightning Network necessitates two key components: <strong>Setup and Management of nodes. [Read more]</strong></summary>

The end-to-end setup and management process entails tasks such as:

* **Selecting Software:**\
  Choose a Lightning Network implementation to run on your computer or server. Popular options include LND (Lightning Network Daemon), c-lightning, and Eclair.
* **Installation:**\
  Install the chosen Lightning Network software on your computer or server. This usually involves downloading the software and following the installation instructions provided by the developers.
* **Configuration:**\
  Configure your Lightning Network node by setting up parameters such as network connection settings, channel liquidity, and security settings. You'll typically generate a wallet address for your node and set up a secure way to store your private keys.
* **Syncing with the Blockchain:**\
  If you're running a Bitcoin Lightning Node, you'll need to sync your node with the Bitcoin blockchain. This process involves downloading and verifying the entire blockchain history, which can take some time and requires sufficient storage space.
* **Opening Channels:**\
  To start participating in the Lightning Network, you'll need to open payment channels with other nodes. This involves funding the channels with a certain amount of BTCs and establishing a connection with another node on the network.
* **Maintaining Node:**\
  Regularly update your Lightning Network software to ensure you have the latest features and security patches. Monitor the health of your node, manage your channel liquidity, and stay connected to the network to effectively participate in Lightning transactions.

However, this level of required technical proficiency poses a significant barrier to widespread adoption, as many individuals lack the necessary skills or motivation to undertake such responsibilities.

</details>

***

## 💡**More About LN Node**

### **Is LN Node a “real” Lightning Node?**

LN Node is a genuine, independent Lightning node that operates on your cloud. It doesn't necessitate running another Lightning node at home or on a separate cloud service. It also isn't a custodial wallet; you retain complete control over your funds.

***

### Is LN Node trustless?

LN Node operates in a trustless manner as the funding transaction is executed on-chain for any opening of a Lightning channel.

On a higher level, by using LN Node, you are trusting us with your node’s uptime, data, networking, and more. Next, we will explain what we can and can’t see about your LN Node.

***

### What we can’t see on your LN Node?

We have no visibility into any data regarding your Lightning Network node. This includes details such as your node's public key, peers, channels, balance, or transactions. Since we lack access credentials to your node, there is no method for us to obtain this information. All peer-to-peer communication is routed through Tor, meaning we solely observe your node connecting to Tor entry nodes, without identifying your actual peers. Consequently, your node blends seamlessly with others on the network, ensuring your usage of LN Node remains anonymous.

While we are developing features and products that may necessitate knowledge about your node (such as your public key), any services requiring such information will be strictly opt-in. You retain full control over the data you choose to share with us.

***

### What we can see on your LN Node?

At an infrastructure level, we have visibility into basic information about your node, including its settings, version, and connecting IP address. This data is necessary for applying appropriate policies to our edge router. We solely use IP addresses for whitelisting and rate limiting purposes, and do not track them for any other reasons. Although your Lightning nodes are connected to our Bitcoin full nodes, we do not track on-chain activity, nor do we have any intention to do so.

{% hint style="info" %}
In summary, your node remains inaccessible to us. However, trust remains essential for utilizing our service. We prioritize user privacy and are committed to enhancing the Lightning Network without compromising your confidentiality.
{% endhint %}

***

### What did we change and add to the technical infrastructure to make it possible?

We operate all servers within a private network, with only an edge router exposed to external connections. None of our Lightning node APIs are directly accessible from the internet. Servers hosting Lightning nodes prohibit human logins, and we've removed SSH and other remote access methods. Additionally, all backups are encrypted and replicated for redundancy.

#### Macaroons:

To enhance security, we've implemented the stateless-init feature. With stateless-init, macaroons are never written to disk. Instead, the node owner will have to approve the admin.macaroon file to be called out in the communication between the Lightning node and our service. As a result, we do not have access to your macaroon, and your macaroon data remains secure.

#### Nostr Signing:

We have integrated Nostr signing with private and public keys for:

* Authentication: Nostr private and public keys provide a means for verifying the identity of servers and clients involved in the communication.
* Encryption: Data transmitted between the client and server are encrypted via [NIP-04](https://github.com/nostr-protocol/nips/blob/master/04.md), ensuring that it cannot be intercepted and read by unauthorized parties. This protects sensitive information, such as login credentials, personal data, and financial details, from being exposed during transmission
* Integrity: Nostr keys include mechanisms to ensure the integrity of data exchanged between the client and server. This prevents tampering with transmitted data, guaranteeing that it remains unchanged throughout the communication process

***

### What happens if the LN Node service is no longer operational or ceases operations?

If the LN Node service is no longer operational or ceases operations overnight, your funds will remain secure, but you'll lose the ability to conduct any transactions.

In such an extreme scenario where the LN Node service disappears, you'll need to force close your channels (a function that we will add in the near future). The LN Node will then unilaterally close your channels, and after a delay of approximately 720 blocks (roughly 5 days), your funds will be returned to the blockchain.

There will also be a recovery option for such a scenario. *(coming soon)*

{% hint style="info" %}
However, for any other issues, bugs, or problems of any nature, refrain from force-closing your channels. Instead, reach out to our support team via our [Telegram channel](https://t.me/nostrassets/5701). We're here to assist you promptly and effectively.
{% endhint %}


# LN Node User Guide

User guide for creating your LN Node and LN Channel

**How to activate and manage your Node:**

* [Enable Nodes](/products/ln-node/user-guide/enable-nodes)
* [Claim Test Token (Testnet only)](/products/ln-node/user-guide/claim-test-tokens-testnet)
* [Taproot Assets Node Management](/products/ln-node/user-guide/taproot-assets-node-management)
* [RGB Node Management](/products/ln-node/user-guide/rgb-node-management)
* [Zapper Accounts](/products/ln-node/user-guide/zapper-accounts)


# Enable Nodes

1. **Enable the Taproot Assets node**

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

2. **Enable the RGB node**

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

3. **Restart / Stop Nodes**\
   \
   On the “**My Node**” page:
   * Click **Stop** to shut down the node.
   * Click **Restart** to reboot the node.

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


# Claim Test Tokens (Testnet)

Go to the Faucet page to claim test tokens.\
\
To complete all test tasks, it is recommended to claim each type of test token at least once.

{% hint style="warning" %}
Notes:\
1）Before claiming any test token, ensure you have enabled the nodes on the “My Node” page. Otherwise, the claim will fail.

2）Before claiming RGB test tokens, first claim test BTC to your RGB node.\
RGB token claims require creating a UTXO, which consumes BTC. Without test BTC, you won’t be able to claim RGB test tokens.
{% endhint %}

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

<br>


# Taproot Assets Node Management

1. **Taproot Assets Node Mainnet Deposit**

Go to the **Taproot Assets** page. In the **BTC Mainnet Wallet** module, click **Deposit** to add BTC or Taproot Assets to the mainnet.

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

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

After creating an invoice, you can share it with other test participants to request payment from their test mainnet accounts.

\
During the test phase, only users participating in Lnfi node testing can make payments to each other.

{% hint style="warning" %}
**Real funds or other testnet accounts are not supported.**
{% endhint %}

2. **Taproot Assets Channel Management**

* Create a Channel

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

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

Select the **asset, amount**, and the **counterparty node**.\
You can create **BTC channels** or **Taproot Asset channels**.

When creating a Taproot Asset channel, ensure your account holds some BTC to cover **channel fees**. Otherwise, creation will fail.

To complete test tasks, exchange node information with other test users and create channels with them.

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

If you haven’t added the counterparty before, you must add their node info (including **Taproot Assets Public Key** and **Host**) before creating the first channel.

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

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

* Channel Deposit / Withdrawal

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

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

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

{% 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/yy91ZTfTdluHHUpSjH27" alt=""><figcaption></figcaption></figure>

3. **Taproot assets Node Mainnet Withdrawal**

Go to the **Taproot Assets** page.

In the BTC Mainnet Wallet module, click Withdraw to withdraw BTC or Taproot Assets on the mainnet.<br>

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

{% hint style="warning" %}
Note: Taproot Assets Mainnet invoices for BTC and USDT (and other Taproot Assets) begin with the prefix **bcrt1p...** and **taprt...** respectively.
{% endhint %}


# 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 %}


# Zapper Accounts

1. **Create a Zapper Account**

On the **Dapp-Zapper** page, click **Create Account**.

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

You can assign any **EVM address** as the recipient, specify the address, and set the **budget** for the Zapper account.

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

After creation, you can share the **QR code** or **account URL** with the recipient, who can then access and manage the Zapper account.

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

2. **Use a Zapper Account**

The Zapper account recipient connects their corresponding **EVM wallet** to directly manage and spend the assigned budget.

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


# Channel Mining

With LN Node, users can earn via Channel Mining, an innovative way to earn rewards by providing liquidity and facilitating transactions on the Lightning Network.

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

{% hint style="info" %}
Channel Mining Rewards is limited to one channel per LN Node
{% endhint %}

### **Channel Mining Eligibility** <a href="#id-829a" id="id-829a"></a>

To be eligible for the Channel Mining earnings (estimated **10%+ APY**), users would need to prepare to open a Channel with Lnfi:

* Minimum channel capacity: 1,000,000 sats
* Maximum channel capacity: 10,000,000 sats

{% hint style="info" %}
*\*The channel capacity cap will be lifted in the future*
{% endhint %}

***

### How does Channel Mining work?

Channel Mining is fully secured by Lightning Network without the need for intermediaries or third-party trust as funds are held under users’ self-custody on the Bitcoin mainnet. Additionally, the funds provide liquidity and opening payment channels, actively contributing to the Lightning Network ecosystem. This sets Channel Mining apart from most existing BTC Layer 2 (L2) or bridging solutions.\
\
Here's a simple explanation of how it works and why you can earn from it:

1. **Provide Liquidity:**\
   Set up your LN Node, then deposit some of your Bitcoin and lock it in your Lightning channel, making it available to facilitate transactions in the Lightning Network.
2. **Facilitate Transactions:**\
   Your channel helps facilitate transactions between other users, making the network faster and more efficient.
3. **Earn Rewards:**\
   Incentives are given for providing this contribution to the ecosystem, your locked Bitcoin in the channel will earn you a percentage return.

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

***

### Where does the earnings come from?

In the current phase, creating either $BTC channel or Taproot Assets channel will earn you rewards in $TRICK/$TREAT based on the APR calculation. The funding source for $TRICK/$TREAT Rewards is allocated from the existing Lnfi Team Allocation.

***

### How is my mining APR calculated?

* channelCapacity is the effective $BTC capacity in the opened channel.

{% hint style="info" %}
Effective $BTC capacity = Local Balance (Balance on Your LN Node available for deposit to Lnfi Node)

![](/files/4tcnxcglrx0KEc9dWFqR)&#x20;

**Red** = local balance = BTC on your balance. \
**(**✅**Benefit from Channel Mining)**&#x20;

**Yellow** = remote balance = BTC on Lnfi's balance \
**(❌Does not benefit from Channel Mining)**
{% endhint %}

* miningRate varies by the type of LN Node. e.g. LN Node OG Series has a miningRate of 120%.
* channelMiningPower demonstrates the efficiency of the channel in performing Channel Mining.<br>

  <div align="left"><figure><img src="/files/hcdWhCGtVkVPpU1ovuTU" alt=""><figcaption></figcaption></figure></div>
* duration is the number of active days mined during the calculated period.
* totalChannelMiningRewards is a monthly rewards amount decided by Lnfi or, at a later stage, protocol token holders through a governance proposal.
* channelMiningRewards is the monthly rewards amount that the user would receive.

<div align="left"><figure><img src="/files/83D2LMj1QSHzXkGkWUpD" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
Random snapshots will be consistently taken throughout the month, and their averages will be calculated to determine the final amount.
{% endhint %}

***

## 💡**More About Channel Mining**

### **When are the Channel Mining rewards distributed?**

Channel mining rewards will be distributed every month.

### **Is it possible for Lnfi to close my channel without my approval?**

In the context of the Bitcoin Lightning Network, a payment channel can be closed by either party involved in the channel. There are two types of closures: cooperative and uncooperative (or forced) closures.

1. **Cooperative Closure:** This is when both parties agree to close the channel. It typically results in lower fees and faster settlement on the Bitcoin blockchain. Both parties sign a closing transaction, and the channel is closed in a mutually agreed manner.
2. **Uncooperative (Forced) Closure:** This can occur if one party decides to close the channel without the cooperation of the other party. This type of closure usually happens if there is a dispute or if one party goes offline for an extended period. The party initiating the forced closure broadcasts the latest state of the channel to the Bitcoin blockchain. This process involves higher fees and a delay, known as the "penalty period," during which the other party can contest the closure if they have evidence of a more recent state.

### Are there any risks associated with losing my assets deposited into a channel?

Yes, there are some risks associated with losing assets deposited into a Lightning Network channel, but these risks can be mitigated with proper precautions.

* **Node Security:**\
  If your LN Node is compromised (losing of seed phrase or your private keys), an attacker could potentially steal your funds. It's crucial to ensure the security of your seed phrase and private key and to follow best practices for cybersecurity.
* **Network Fees:**\
  High on-chain fees can impact your ability to close channels profitably, especially during times of high network congestion.


# LN Link

{% hint style="info" %}
LN Link GitHub\
<https://github.com/lnfi-network/ln-node/blob/main/LNLink/README.md>
{% endhint %}

LN Node capabilities are made feasible through LN Link, which builds upon the foundation laid by Nostr Wallet Connect (NWC).

## What is NWC?

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

NWC facilitates secure access to remote lnd instances, exchanges payment requests, and handles lightning invoices over the Nostr protocol. Notable functionalities enabled by NWC include:

* Connection to wallet services (e.g., Alby) via nostrWalletConnectUrl, allowing users to seamlessly log in to Nostr apps via NIP-07.
* Native BTC payments within Nostr apps (e.g., Zaps).
* Setup of recurring BTC payments

## About LN Link

Extending the capabilities of NWC, LN Link empowers Nostr clients/apps to interact not only with lnd but also with tapd. This expansion unlocks a host of new functionalities, including:

* Enhanced management of node and channel liquidity through LN Node.
* Native Taproot Assets payments within Nostr apps (e.g., USD-stablecoin Zaps).
* Setup of recurring payments in Taproot Assets (e.g., USD-stablecoin).

Moreover, LN Link is designed with high extensibility, potentially incorporating connections with Lnfi to enhance composability between Lnfi and other applications.

{% hint style="success" %}
In essence, LN Node, coupled with LN Link, serves as a versatile gateway, bridging the gap between traditional financial systems and the decentralized world, while offering a plethora of possibilities for innovation and growth.
{% endhint %}

## How to use LN Link

{% hint style="info" %}
Alby Wallet is one of the first to support NWC. You can import your LN Node and manage assets on Alby using \[Connect a Wallet].
{% endhint %}

Following are the steps:

\
First, go to your LN Node, tap on \[Generate NWC]

<figure><img src="https://lh7-us.googleusercontent.com/8882UHs9dNHQbdzdzQjREV-qBkhEv74jQbb7zpLaJ0OmZ1Zm5HRby650MBmUfCjJSbecVT6bRmO5lh2MrJcRMhFlup5euSDfLibmbqOzQoYNvV0qwhJRly3lyAYUtvhWZJMxVSDpOQzwz5mfBkBJNvc" alt=""><figcaption></figcaption></figure>

Copy the generated Nostr Wallet Connect String

<figure><img src="https://lh7-us.googleusercontent.com/h1jeMGzxNOztJtl8h8_VoYIEewBpnk0psCRqMzigpm_UlMlvXwkPPEjzkmR8NrYl5EBQwVpMrTYkTUieFk2n3LsbNhi0J9vk6XD1IQsmZqi55WFZW9tG7aGc8GSdlPjilsqRgQ63cHGPGhjftaGmAoQ" alt=""><figcaption></figcaption></figure>

Next, go to your Alby Chrome Extension, under switch wallet, tap on \[Connect a Wallet]

<figure><img src="https://lh7-us.googleusercontent.com/qO9TYHM3j4ZEiKSrOrePuYe4HOVmx_xRbUsak9ino8ElwxgPKFqIyYr_Yp5rw1ErHI0dfixBcTlDmvC04RsjKl12B4rw4fOumWeDafMwQJ6By5Y6UsUcP6DfSTFxoyvXXRJmjWMBkSJ8cJnioySpgUE" alt=""><figcaption></figcaption></figure>

Select \[Connect] under Bring Your Own Wallet.

<figure><img src="https://lh7-us.googleusercontent.com/bsT8AFTa7Dat6ctFE4Pthv-zeo7W-2QBOioniEfgD6kHGYRfQ0D8w2glmByHP1XjLbXEerb0p1il22OR0jWTxeSnWHdFoAL2yV5DThvNW49F2Gv-_ZENygXenDEkkxSnxDv2uvsZ1Q9KvSP0hCcQ6BU" alt=""><figcaption></figcaption></figure>

Tap on \[Nostr Wallet Connect]

<figure><img src="https://lh7-us.googleusercontent.com/bTso0yEmLP8pPcp07t9j_Vw3qQ8NRvuOeXu4B5Yu5SOavv7EUX6fd1E3o4x7j63wrVBzQ3JHug7CvOQ3nPzCuAE3sLGJUOs91kz5Bp64m4KsVehqCP6LtRW1RCV8jrKLdEh-tLUnJVD1akjjKg9fZJY" alt=""><figcaption></figcaption></figure>

Under Nostr Wallet Connect URL, enter your Nostr Wallet Connect string that you’ve copied from Generate NWC, and then tap \[Continue].

<figure><img src="https://lh7-us.googleusercontent.com/Os4jXQLtjQhSWWovmpfR0RXhg5QPlFXExi6Ofa0ZBSrRYTdcRCEucRVFxU_l96sgNM0ntb9SG6am84V5DoE5uMSH7H-RrvgTh7FjZaxHueNFzNDz2zoS79mg9YC52sytlK-_E7e-SnVUtQlEXdWHWU0" alt=""><figcaption></figcaption></figure>

Once you have successfully connected, the screen will display Success and the SATS on your LN Node.

<figure><img src="https://lh7-us.googleusercontent.com/lyQKMWvwR6WmeMeSn-Q3x63x9foc9kCUu03MpEAZDCSIUNDRi4QyiSHAJxAddkgYu5bZtA433NDRZY6Bq5J5mhmO-FNSRfc9sSpIrF8Q59m0mrFZE9LpHHhbgwDzZG47hG7WqGOr_q9PNdInh1xYK1o" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note: In the current version of LN Node Connect, only assets deposited to NA channel will be displayed.
{% endhint %}

Once the setup is completed on your Wallet, you can manage your available assets via \[Receive] & \[Send].

{% hint style="info" %}
LN Link is still under development, more functionalities will be added in the future.
{% endhint %}

\\


# Terms of Service

### LN Node Terms of Service

Last Updated: \[15 Feb 2025]

#### 1. Introduction

Welcome to LN Node! We appreciate your interest in our services designed to provide seamless connectivity and efficient asset management on the Lightning Network. By accessing or using LN Node's services, including AI-integrated management, channel mining, and other advanced features, you agree to these Terms of Service ("Terms"). Please read them carefully.

***

#### 2. General Terms

By accessing or using LN Node's products and services, you acknowledge that you have read, understood, and agreed to these Terms of Service, along with our Privacy Policy. You confirm that you are at least 18 years old or of legal age as required by your local jurisdiction and have the legal capacity to enter into this Agreement. If you are using the services on behalf of a company or organization, you affirm that you have the proper authority to bind the entity to these Terms.

LN Node reserves the right to update or modify these Terms at any time without prior notice. Changes will take effect immediately upon posting unless otherwise specified. Continued use of LN Node's services following any changes constitutes acceptance of the updated Terms.

***

#### 3. Accuracy, Completeness, and Timeliness of Information

LN Node strives to provide accurate and up-to-date information. However, we do not guarantee that the information available through our services is complete, accurate, or current. The material provided is for general informational purposes only and should not be relied upon for critical decision-making without consulting more accurate or timely sources. Users assume full responsibility for any reliance on the information provided.

Historical data available through LN Node services is offered as a reference and may not reflect the most current developments.

***

#### 4. Modifications to Services

LN Node reserves the right to modify, suspend, or discontinue any part of its services or content without prior notice. This includes changes to features, pricing, and availability. We are not liable to users or third parties for any modifications, suspensions, or discontinuations of services.

***

#### 5. Products and Services License

LN Node provides its services under a limited, non-exclusive, revocable, non-transferable, and non-sublicensable license for your internal, non-commercial use unless otherwise specified. All intellectual property related to LN Node services, including trademarks, logos, trade names, and software, is owned by LN Node or licensed to us and is protected by intellectual property laws worldwide.

Users must not use any part of LN Node's services for commercial purposes without obtaining prior written consent. The Terms of Service do not grant permission to use LN Node branding or intellectual property for any commercial or non-commercial activities unless explicitly stated.

LN Node does not guarantee that services will meet user expectations or that any errors or defects will be corrected. Services are provided "as is" without any warranties regarding quality, performance, or suitability for specific purposes.

***

#### 6. Node Types and Licensing

LN Node offers two types of nodes to cater to different user needs:

**A. LN Node Lite (Cloud-Hosted Node)**

* A cloud-hosted node with limited features.
* Suitable for users who prioritize convenience without technical complexity.
* Users can upgrade to a Full Node to access advanced capabilities like node mining, AI integration, and Taproot Assets support.

Cloud Service Terms:

* Free for initial use.
* Managed by LN Node with automatic updates and monitoring.
* Limited features compared to a Full Node.
* Liability: LN Node is responsible for infrastructure maintenance but not for user errors or external attacks.

**B. LN Node Full (Self-Hosted or Hardware Node)**

* A full-featured node providing complete control and advanced capabilities.
* Ideal for technically proficient users.

Hardware Service Terms:

* One-time fee applies.
* Users are responsible for maintenance, backups, and performance monitoring.
* LN Node accepts no liability for hardware failures occurring after the warranty period or due to mishandling.

Licensing Agreement:

* By purchasing LN Node, users acquire a license to operate the node.
* Users with sufficient technical knowledge can deploy LN Node on their own local servers for free.
* Cloud and hardware services are optional conveniences.

Upgrade Option:

* LN Node Lite Nodes can later be upgraded to a Full Node through local setup, cloud service, or hardware node.
* Cloud and hardware node upgrades may involve additional costs.
* Specific details regarding the upgrade process will be announced in future communications.

Prices are subject to change without prior notice.

***

#### 7. Account Registration

To access LN Node services, you must create an account. You agree to provide accurate information and maintain the confidentiality of your account credentials. LN Node is not responsible for unauthorized account activity.

***

#### 8. Permissible Use

You agree to use LN Node services only for lawful purposes. Prohibited activities include:

* Engaging in illegal activities.
* Attempting to disrupt the network.
* Impersonating others.
* Bypassing security features.

***

#### 9. Intellectual Property

All intellectual property related to LN Node services, including software, branding, and content, is owned by LN Node or licensed to us. Users are granted a limited, non-exclusive, non-transferable license to use the services in accordance with these Terms.

***

#### 10. Security Responsibilities

LN Node employs industry-standard security measures. However, users are responsible for safeguarding their account credentials, including passwords and recovery phrases.

***

#### 11. Transactions. Fees and Mining Rewards

Transactions processed through LN Node are final. Users must ensure the accuracy of transaction details. LN Node is not liable for incorrect or incomplete transaction information.

Fee Structure:

* Node operation fees apply depending on the selected service.
* Additional fees may apply for advanced features like channel mining and asset management.
* Fee schedules are subject to periodic adjustments.

Mining Disclaimer: Mining activities conducted through LN Node may involve potential profits or losses. LN Node makes no guarantees regarding the profitability of mining operations and shall not be held liable for any financial outcomes resulting from such activities. Users assume full responsibility for all risks associated with mining, including hardware performance, network conditions, and market fluctuations.

Channel Mining Disclaimer: Channel mining rewards are subject to fluctuations based on various factors, including but not limited to network conditions, market dynamics, and system performance. LN Node does not guarantee any specific level of rewards or returns from channel mining activities. Users acknowledge that:

* The reward structure may be adjusted without prior notice to ensure network stability and operational efficiency.
* Sudden or significant drops in rewards may occur due to external factors beyond LN Node's control.
* LN Node is not liable for any perceived or actual losses resulting from changes in channel mining rewards.

By participating in channel mining, users accept the inherent risks and agree to monitor their performance independently. It is the user's responsibility to stay informed about potential reward adjustments through official LN Node announcements.

***

#### 12. Service Modifications

LN Node reserves the right to update or modify its services as necessary. Users will be notified of significant changes that may affect their operations.

***

#### 13. Termination

We may suspend or terminate accounts that violate these Terms. Users may also request account termination.

***

#### 14. Limitation of Liability

LN Node provides its services "as is" without warranties. LN Node is not liable for:

* Service interruptions beyond its control.
* User errors, such as incorrect configurations or credential mishandling.
* External attacks, unless resulting from proven security flaws in LN Node's infrastructure.
* Hardware failures beyond the warranty period or due to user mismanagement.
* Financial losses or unanticipated outcomes from mining activities.

***

#### 15. Dispute Resolution

Disputes will be resolved through arbitration in a mutually agreed jurisdiction.

***

#### 16. Changes to Terms

LN Node reserves the right to amend these Terms as necessary. Continued use of LN Node services constitutes acceptance of the updated Terms.

***

#### 17. Contact Us

For questions regarding these Terms, please contact us at \[ <contact@lnfi.network> ].

Thank you for choosing LN Node!

\ <br>


# P2P Marketplace

Peer-to-peer marketplace to list, buy, or sell Taproot or RGB assets.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdG4b8Ge48E8y97aYPfHFmq-IB7y3wfuoqPppGwyhphHWYRTiAPZzSWHAW2hCn0gZCkfJoSfk1qQvalT_FDYac7haFsexd8CYnLa1gh9E8EMvOFU-glsv1gk_cuQCklBHDK0HEQiA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

### Key Features:

* Permissionless listing and trading
* Lightning-fast settlement via the Lightning Network
* Full transparency of asset supply and metadata

Trade Now: \[ [Link](https://mainnet.lnfi.network/#/trade/p2p/listing) ]\ <br>


# Price Oracle

## Overview

The LN Exchange Price Oracle is the cornerstone of decentralized finance within the Lightning Network, primarily serving RFQ (Request for Quote) services. This platform provides dynamic pricing, including price fluctuations and a spread between buy and sell prices, ensuring accurate and reliable rates for assets traded on the network.

This guide will walk you through integrating with the platform, fetching prices, and adding currency pairs.

***

## Unified Interface Domain

**GRPC:** `grpc-oracle.lnfi.network:443`\
**REST:** `https://api-oracle.lnfi.network`

***

## Fetching Prices

#### **GRPC Calls**

{% code overflow="wrap" %}

```
Setup: Add the following configuration to your terminal 

--taproot-assets.experimental.rfq.priceoracleaddress=rfqrpc://grpc-oracle.lnfi.network:443
```

{% endcode %}

#### **REST Calls**

{% code overflow="wrap" %}

```
REST API documentation in the section below provides details on how to integrate.
```

{% endcode %}

***

## Adding Currency Pairs & Prices

### [Add Currency Pair](#add-currency-pair-1)

**Using BTC/USDT Price**

This method is intended for assets that are tied to the USDT stablecoin. When this method is used, the system automatically fetches the current BTC/USDT price, ensuring that your asset's value reflects real-time market conditions.

### [Fetch Price](#fetch-price-1)

After adding prices using either method, prices can be fetched immediately.

* If a currency pair or currency doesn’t exist, the system will automatically create them.
* Each asset can only be added once. When fetching prices, the system always uses the latest price.

Please refer to the API section for more details.

***

## Price Oracle API

### Quick Start

{% code title="Example:" lineNumbers="true" %}

```
oracle ~ % curl --location --request POST 'https://api-oracle.lnfi.network/price/custom' \
--header 'Content-Type: application/json' \
--data-raw '{
    "paymentAssetName": "BTC",
    "paymentAssetId": "0000000000000000000000000000000000000000000000000000000000000000",
    "subjectAssetName": "LUSDT",
    "subjectAssetId": "1f0e5e108dbaca43b836c8f0990abb5118bbe52c24b9237414d14cd53b1ad049",
    "subjectAssetDemical": "2",
    "priceFluctuationRate": "0.02"
}'
{"code":"0","msg":"Success","data":true,"succ":true}

oracle ~ % grpcurl -d '{"subjectAsset":{"assetIdStr":"1f0e5e108dbaca43b836c8f0990abb5118bbe52c24b9237414d14cd53b1ad049"},"paymentAsset":{"assetIdStr":"0000000000000000000000000000000000000000000000000000000000000000"}}' grpc-oracle.lnfi.network:443 priceoraclerpc.PriceOracle.QueryAssetRates
{
  "ok": {
    "asset_rates": {
      "subjectAssetRate": {
        "coefficient": "8733623000000",
        "scale": 6
      },
      "paymentAssetRate": {
        "coefficient": "100000000000"
      },
      "expiry_timestamp": "1766549104533"
    }
  }
}
```

{% endcode %}

***

## GRPC Section

### Fetch Price

* **URL**：`grpc-oracle.lnfi.network:443`
* **Method**：`priceoraclerpc.PriceOracle.QueryAssetRates`

**Request Parameters**

| Parameter Name          | Type   | Required | Description                           |
| ----------------------- | ------ | -------- | ------------------------------------- |
| subjectAsset.assetidStr | String | Yes      | Quoted currency asset ID (e.g., USDT) |
| subjectAsset.assetidStr | String | Yes      | Base currency asset ID (e.g., BTC)    |

{% hint style="info" %}
**Request Example**
{% endhint %}

```
grpcurl -d '{
    "paymentAsset": {
        "assetIdStr": "0000000000000000000000000000000000000000000000000000000000000000"
    },
    "subjectAsset": {
        "assetIdStr": "1f0e5e108dbaca43b836c8f0990abb5118bbe52c24b9237414d14cd53b1ad049"
    }
}' grpc-oracle.lnfi.network:443 priceoraclerpc.PriceOracle.QueryAssetRates
```

**Response Parameters**

| Parameter Name                | Type   | Description      |
| ----------------------------- | ------ | ---------------- |
| asset\_rates.subjectAssetRate |        |                  |
| rate                          | String | Price rate       |
| expiry\_timestamp             | String | Expiry Timestamp |

{% hint style="info" %}
**Response Example**
{% endhint %}

```
{
  "ok": {
    "asset_rates": {
      "subjectAssetRate": {
        "coefficient": "8733623000000",
        "scale": 6
      },
      "paymentAssetRate": {
        "coefficient": "100000000000"
      },
      "expiry_timestamp": "1766549104533"
    }
  }
}
```

***

## REST Section API

### REST Request Authentication

All private REST requests must include the following header

#### Header Parameters

| Parameter Name | Type   | Required | Value            |
| -------------- | ------ | -------- | ---------------- |
| Content-Type:  | String | Yes      | application/json |

***

### Fetch Price List

* **URL**：`/price/getList`
* **Method**：`GET`

**Request Parameters**

| Parameter Name    | Type   | Required | Value                                    |
| ----------------- | ------ | -------- | ---------------------------------------- |
| symbolAssetsId    | String | Yes      | Currency pair asset ID                   |
| transaction\_type | String | Yes      | Transaction type: 0 = buy, 1 = sell      |
| current           | String | No       | Page number (default is 1)               |
| size              | String | No       | Number of items per page (default is 10) |

{% hint style="info" %}
**Request Example**
{% endhint %}

{% code lineNumbers="true" %}

```
{
    "symbolAssetsId": "0000000000000000000000000000000000000000000000000000000000000000-1f0e5e108dbaca43b836c8f0990abb5118bbe52c24b9237414d14cd53b1ad049",
    "transaction_type": "1",
    "current": "1",
    "size": "10"
}
```

{% endcode %}

**Response Parameters**

| Parameter Name    | Type   | Description                         |
| ----------------- | ------ | ----------------------------------- |
| total             | String | Total number of records             |
| pages             | String | Total number of pages               |
| transaction\_type | String | Transaction type: 0 = buy, 1 = sell |
|                   |        |                                     |
| list              | List   |                                     |
| symbol            | String | Currency pair name                  |
| price             | String | Price                               |
| base              | String | Base currency name (e.g, BTC)       |
| baseAssetsId      | String | Base currency asset ID              |
| quote             | String | Quoted currency name (e.g, USDT)    |
| quoteAssetsId     | String | Quoted currency asset ID            |
| ctime             | String | Creation time                       |

{% hint style="info" %}
**Response Example**
{% endhint %}

{% code lineNumbers="true" %}

```
{
    "code": "0",
    "msg": "Success",
    "data": {
        "total": 1,
        "pages": 1,
        "list": [
            {
                "symbol": "BTC-LUSDT",
                "price": 10000,
                "ctime": "2024-08-19T10:01:03",
                "base": "BTC",
                "baseAssetsId": "0000000000000000000000000000000000000000000000000000000000000000",
                "quote": "LUSDT",
                "quoteAssetsId": "1f0e5e108dbaca43b836c8f0990abb5118bbe52c24b9237414d14cd53b1ad049"
            }
        ],
        "transaction_type": "1"
    },
    "succ": true
}
```

{% endcode %}

***

### Add Currency Pair

* **URL**：`/price/custom`
* **Method**：`POST`

**Request Parameters**

| Parameter Name       | Type   | Required | Description                               |
| -------------------- | ------ | -------- | ----------------------------------------- |
| paymentAssetName     | String | Yes      | Base currency name (e.g., BTC)            |
| paymentAssetId       | String | Yes      | Base currency asset ID                    |
| subjectAssetName     | String | Yes      | Quoted currency name (e.g., USDT)         |
| subjectAssetId       | String | Yes      | Quoted currency asset ID                  |
| subjectAssetDemical  | String | Yes      | Quoted currency asset precision (e.g., 4) |
| priceFluctuationRate | String | Yes      | Price fluctuation rate: Default is 2%     |

{% hint style="info" %}
**Request Example**
{% endhint %}

{% code lineNumbers="true" %}

```
{
    "paymentAssetName": "BTC",
    "paymentAssetId": "0000000000000000000000000000000000000000000000000000000000000000",
    "subjectAssetName": "LUSDT",
    "subjectAssetId": "1f0e5e108dbaca43b836c8f0990abb5118bbe52c24b9237414d14cd53b1ad049",
    "subjectAssetDemical": "4",  
    "priceFluctuationRate": "0.02"
}
```

{% endcode %}

**Response Parameters**

| Parameter Name | Type   | Description                        |
| -------------- | ------ | ---------------------------------- |
| code           | String | 0 indicates successful addition    |
| data           | String | true indicates successful addition |

{% hint style="info" %}
**Response Example**
{% endhint %}

{% code lineNumbers="true" %}

```
{
    "code": "0",
    "msg": "Success",
    "data": true,
    "succ": true
}

```

{% endcode %}


# LN Bridge

## What is LN Bridge?

Stablecoins, the backbone of DeFi, have been notably absent from the Bitcoin Lightning Network. They offer a stable medium of exchange, mitigate volatility, and facilitate seamless transactions, making them essential for DeFi operations.

We are thrilled to introduce LN Bridge, where all token standards converge into Taproot Assets to leverage the proven global instant settlement and 1M+ TPS on Lightning Network.

By bridging ERC20 USDT, we enable:

1. Users on Lightning to hold onto an asset that is not subject to high volatility.
2. Payees who are already accepting Lightning payments in Bitcoins to also accept USDT and payers who want to pay in USDT on Lightning Network.
3. Lightning Network in supporting more complex financial activities and services, driving innovation and increasing financial inclusivity within the Bitcoin ecosystem.

In the initial phase, users can bridge from ERC20 USDT on Ethereum into Taproot Assets on Bitcoin, while enjoying USDT and $TREAT APR rewards.

{% hint style="warning" %}
**\*Important**\
Please note that the bridging service is only bilateral or one-way, in other words, users would not be able to bridge back from Taproot Assets to the ERC20 token standard.\
\
The bridged assets can be traded on the LN Exchange. Additionally, upon the release of Taproot Assets official USDT in the future, the bridged USDT will be made equivalent.
{% endhint %}

Limited time event to earn Triple Rewards. Bridge, Hold, and Trade USDT.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe9IKH_k4v2u45VYyo7KwupdfavYUfpMRIZv2nIU6sgn12OKcjmTA8TVQOpVdZHvkGHi7zJ5Z71BNqImmqUUkPdrVHx2_Wh-1zrgeiy10kT9wr71WNtLToufPSK5VvpkJicc4L3XeYT-UNkR_0GIcQvnRuA?key=DN4i8_irnji7f9tQwTtBtw" alt=""><figcaption></figcaption></figure>

***

## FAQ

#### How is LN Bridge APR calculated and generated?

The LN Bridge APR is calculated and generated through two primary sources:\
(a) an estimated APR from staking on DeFi apps such as Aave, and\
(b) protocol incentives in the form of $TREAT APR rewards until our platform token is launched.

The stipulated APR does not factor in the LN Points Airdrop.\
\
*\*Rewards will be bi-weekly. Users will need to claim the rewards manually.*

{% hint style="info" %}
The Lnfi team reserves the right to cancel all rewards at their discretion. Additionally, trading fees may be adjusted and any changes will be announced by the Lnfi team in the future.
{% endhint %}

***

**What is Bridging XP?**

Bridging XP is primarily used for calculating USDT & $TREAT rewards.

You can accumulate Bridging XP via the following methods:

* Cumulative bridged USDT amount via LN Bridge
* Spot Trading volume in USDT
* Perpetual Trading volume in USDT
* USDT Holdings (including USDT in Spot & Perp account on LN Exchange)

{% hint style="success" %}
This means that if you trade your assets for USDT on the LN Exchange, the USDT will be assigned Bridging XP as part of your holdings.
{% endhint %}

***

#### What is the minimum amount of USDT (ERC20) required for deposits via LN Bridge?

The minimum deposit amount is 1 USDT.

***

#### How secure is the LN Bridge?

The security of the LN Bridge is a top priority. Specifically for USDT, the LN Bridge employs a simple contract, which, unlike trustless and trust-minimized setups, is less vulnerable to smart contract vulnerabilities. This setup involves custody and a trusted framework. The service has undergone rigorous internal testing to ensure its utmost security.

It's important to note that asset standards supported on the LN Bridge in the future may vary, and some may employ a trustless or trust-minimized setup.

For more detailed information, please refer to our[ terms of use](/terms).

***


# LN Bridge User Guide

{% hint style="warning" %}
**\*Important**\
Please note that the bridging service is only bilateral or one-way, in other words, users would not be able to bridge back from Taproot Assets to the ERC20 token standard.\
\
The bridged assets can be traded on the LN Exchange. Additionally, upon the release of Taproot Assets in the future, the bridged USDT will be made equivalent.
{% endhint %}

{% embed url="<https://youtu.be/BPxe8mSVqJg>" %}

## How to use LN Bridge?

Tap on “Bridge” to access LN Bridge.

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

To start bridging, you need to connect your wallet first. Tap on the “Bridge” button.

<figure><img src="/files/32M3ifQpXbU9t0C334oc" alt=""><figcaption></figcaption></figure>

Under Connect Wallet, choose your wallet. In this example, we will be using Metamask.

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

Once the wallet is connected, tap the "Bridge" button again.

Input your desired USDT amount. Tap on the “Bridge” button to proceed.\
*(There may be a minimum deposit amount)*

<figure><img src="/files/1ibbm6c8BUA6aUHgG2Dg" alt=""><figcaption></figcaption></figure>

As this is an on-chain operation, you would have to wait for the authorization.

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

Once the authorization has been completed, tap on "Bridge" to proceed with the bridging.

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

You will receive a Success notification. To check your deposit status, go to Explorer > Bridge Records

<figure><img src="/files/DPgMt5ZP3qj5CiNGGDI9" alt=""><figcaption><p>Search for your own npub address to find your bridge records</p></figcaption></figure>

{% hint style="info" %}
Your USDT will also be displayed on the LN Bridge page and your Asset Dashboard.
{% endhint %}

## How to disconnect your Wallet from LN Bridge?

Tap on this icon to disconnect.&#x20;

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

## How to claim LN Bridge Rewards

Rewards will be updated and accounted for on a regular basis. LN Bridge users will earn APR for bridging USDT into Lnfi. The APR includes both USDT rewards APR, generated from staking on DeFi apps on Ethereum, and TREAT/TRICK rewards APR, as part of protocol incentives. The past APR, which aims to provide an indicative ongoing APR, is calculated based on the last period’s Bridge XP.

To claim your rewards, tap on the “Claim” button.

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

View the claimable rewards and tap on "Claim" to proceed.

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

Once completed, you will receive a success notification!

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


# Steps to Verify TA-USDT

To be updated.

Due to inherent constraints, real-time bridging and on-demand minting of Taproot Assets are not possible. As a result, we have pre-minted 1,000,000 TA-USDT.

The LN Bridge ensures that the amount of TA-USDT in circulation (i.e., usable or tradable on Lnfi) is always equivalent to or less than the reserve balance of ERC-20 USDT, maintaining at least a 1:1 reserve backing.

{% hint style="success" %}
All information is publicly available, allowing anyone to verify and track it in real-time.
{% endhint %}

***

### Here are the steps a user can undertake to verify

#### **Step 1**

Users can validate the total on-chain balance of ERC-20 USDT, consisting of the Bridged amount and Staking rewards via:

{% code title="Staking Contract Address" %}

```
0xbd3cDE46F73F771eEE99cc0fB13e595E7b608efB
```

{% endcode %}

#### **Step 2**

Users can validate the amount of pre-minted TA-USDT by Lnfi on the following:

<https://terminal.lightning.engineering/assets/>\
Asset ID: 0f929c417705fd4ad6fda742e107809367c7f5f10135cc6c5302bde3cb5982f1

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

{% hint style="warning" %} <mark style="color:red;">The deployment has 2 decimals, hence displayed as 100,000,000</mark>
{% endhint %}

#### **Step 3**

Users can check the amount of TA-USDT not in circulation, by using Lnfi Explorer > Holding List&#x20;

{% code title="Lnfi Explorer URL" overflow="wrap" %}

```
https://mainnet.lnfi.network/#/explore/holding-list
```

{% endcode %}

On the Explorer Assets filter, select \[USDT].

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

and search for this Nostr Address

{% code overflow="wrap" %}

```
npub19qfwjn7f2vtgvrcn06apyj5kass2huunalcwewdxjzcx5zupcjkqp7pnz5
```

{% endcode %}

#### **Step 4**

The TA-USDT in circulation can be calculated as the sum of the balances across all other Nostr addresses (excluding npub19qfwjn7f2vtgvrcn06apyj5kass2huunalcwewdxjzcx5zupcjkqp7pnz5) listed on the Lnfi Explorer > Holding List.

#### **Step 5**

The reserve balance of ERC-20 USDT and the circulating TA-USDT are displayed on our LN Bridge page, making it easy for users to track.

{% code title="LN Bridge URL" overflow="wrap" %}

```
https://mainnet.lnfi.network/#/bridge
```

{% endcode %}

***

## Important Note

(i) The reserve balance of ERC-20 USDT will always be greater than or equal to the amount of circulating TA-USDT.

(ii) We will perform regular rebalancing to distribute the accrued Staking Rewards from the Nostr address holding the TA-USDT that is not in circulation to current holders of TA-USDT who are entitled to these rewards. After rebalancing, the reserve balance of ERC-20 USDT will be adjusted to match the amount of circulating TA-USDT.


# Airdrop

Projects can distribute tokens instantly to users through Lnfi’s airdrop tool.

## How to launch an Airdrop campaign on Lnfi?

An Asset Issuer may whitelist eligible claimants for the Airdrop based on specific conditions predefined by the Issuer — Ideal for rapid community growth and engagement.&#x20;

{% hint style="warning" %}
Please fill out this [form](https://forms.gle/z5Xhvoz1oNpMT4YR8) to launch an Airdrop campaign with Lnfi Airdrop.
{% endhint %}

***

## How to claim an Airdrop on Lnfi?

To claim the Airdrop:

* The user's account must be whitelisted and qualified to claim.&#x20;
* Connect their account to check eligibility first.
* Once claimed, you may check your assets on the Lnfi [Assets](https://mainnet.lnfi.network/#/assets) page.


# Lock Assets

With this function, Asset Owners can initiate locking of their assets for any duration and reason, which can be verifiable publicly.

### How to Lock Assets?

To access Lock Assets, go to Tools > Lock Assets.

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

To start a Lock, tap on Start Lock Assets.

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

Key in the details, Unlock Date, and the Asset(s) to lock

<figure><img src="/files/l0bmGKaViQ4Ya6CGgTym" alt="" width="452"><figcaption></figcaption></figure>

If you want to have another Nostr address to claim the assets after the Lock Duration, input the address in this section.

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

{% hint style="warning" %}
[⚠️](https://emojipedia.org/warning)**Please note that there will be a Service Fee charged.**\
The amount will be specified above the Approve button.
{% endhint %}

Once you have input all the details and the quantity of assets to lock, proceed by tapping on the Approve button.

<figure><img src="/files/0BTMuDdFTGWxdKpAI7i8" alt=""><figcaption></figcaption></figure>

You will be prompted to approve the operation with your wallet. Tap on Approve.

Upon "Approve Success", the button will change to "Lock Assets". Tap on it and confirm the operation to start the Locking.

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

You will receive a success notification.

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

You will also be able to find your newly created Lock Assets displayed with the status: **Locked**.

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

You may also use your Nostr Addres to search for your Lock Assets quickly.\\

<figure><img src="/files/5unt3YQDu89aXqkJnZdb" alt=""><figcaption></figcaption></figure>

### How to claim Unlocked Assets?

Once Locked Assets has reached the specified duration, the status will change from Locked to Unlock.

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

The Lock Assets Creator or the specified Nostr address can claim the assets by tapping on the "Unlock" button.

{% hint style="danger" %}
If the Lock Assets Creator has specified a Nostr address, the creator will not be able to claim the assets at the end of the duration. Only the specified Nostr address will be able to do so.
{% endhint %}


# LN Gift

A simple & fun way to send Taproot Assets as Gifts to friends, fans or communities

[What is Lightning Gift?](#what-is-lightning-gift)\
[How to create Lightning Gift?](#how-to-create-a-lightning-gift)\
[How to share Lightning Gift?](#how-to-share-a-lightning-gift)\
[How to claim Lightning Gift?](#how-to-claim-a-lightning-gift)

## What is LN Gift?

LN Gift (formerly Lightning Gift) is a tool introduced by Lnfi, designed to facilitate the sharing of Taproot assets in a relaxed and enjoyable manner with your friends, fans, or community members.

This unique approach aims to broaden the accessibility of Taproot assets and enhance the experience within the Lightning Network.

You can access LN Gift via the Main Menu > Products > LN Gift

<figure><img src="/files/1p0mUP8oWGIpeBqzD26E" alt=""><figcaption></figcaption></figure>

## How to create a LN Gift?

To create a LN Gift, tap on "Create Gift"

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

This is the Create Gift Interface. You can customize your Lightning Gift to make it personal. and there are several ways to do so.

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

### Customizing Your Lightning Gift

You can personalized the following:\
i) Title of the Gift\
ii) Well-Wishing Words\
iii) Logo of the Gift

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

### **No. of Gifts**

This determines how many times your Gift can be claimed. This also means the number of people who can claim your Gift.

{% hint style="warning" %}
It is important to remember that anyone with the Lightning Gift Code or the URL link will be able to claim your Gift.
{% endhint %}

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

### Total Assets

Total Assets is the total amount of assets you are allocating for this Lightning Gift.

{% hint style="info" %}
If you set it as 100 TRICK, it means the total prize pool is 100 TRICK.
{% endhint %}

<figure><img src="/files/5QC766zXV2AtUS5ZqbdD" alt=""><figcaption></figcaption></figure>

### No. of Assets per Gift

There are modes. "Random" and "Average".\
i) Random: The asset amount for everyone who claimed is random.\
ii) Average: The asset amount for everyone who claimed is the same.

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

{% hint style="warning" %}
Lightning Gifts will expire 24 hours after creation. Gifts that have not been claimed upon expiration can apply for a refund.
{% endhint %}

{% hint style="info" %}
Note: There is a service fee for the creation of Lightning Gift.
{% endhint %}

Once you are done with the setup, proceed to "Approve", and confirm the approval.

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

Once approved, the button will change to "Create". Proceed to tap on "Create" and confirm to complete the creation.

<figure><img src="/files/8ToAxnz0OIXfwvjf8b7R" alt=""><figcaption><p>You will receive a prompt notifying the success of the Lightning Gift Creation</p></figcaption></figure>

## How to share a Lightning Gift?

Upon successful creation of a Lightning Gift, Tap on "Send Gifts"

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

You can share it to Twitter, or Telegram or copy the Gift code / URL to share directly to anywhere you want.

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

You can also find all the information about the Lightning Gifts you've created on the Lightning Gift Dashboard, under "Gift Create History".

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

Tap on the "Status" to view the details, you will be able to see the respective Lightning Gift Code and URL, as well as the claim history of your Lightning Gift.\
\
Or, you can tap on the "Share" button to share to Twitter / Telegram.

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

## How to claim a Lightning Gift?

You can claim a Lightning Gift if you have the Gift Code or the Gift URL.

{% hint style="info" %}
You will need a Nostr address connected to Lnfi, to claim the Lightning Gift.\\

To learn how to create a Nostr address for Lnfi, you may use the following Wallet that supports Lnfi.\
\
\- [OKX](/user-guides/getting-started/npub-and-wallets/okx-wallet)\
\- [Token Pocket](/user-guides/getting-started/npub-and-wallets/token-pocket-users)\
\- [OneKey](/user-guides/onekey)\
\- Alby\
\
Refer to the individual guides for the setup.
{% endhint %}

If you have a Gift Code, tap on "Claim Gift" on the Lightning Gift Dashboard.

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

If you have a Gift URL, it will bring you directly to the claim page.

<figure><img src="/files/8O81m17oUIXz4jezfbwG" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
To prevent Bots, we've implemented captcha verification.
{% endhint %}

Tap on "Claim Lightning Gift"

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

And, congratulations! You've successfully claimed your Lightning Gift.

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

{% hint style="success" %}
Try out Lightning Gift and share the joy and innovation of Taproot Assets with your friends & communities!
{% endhint %}


# Step 1: Plan

Want to issue your own asset, launch a community, and start trading?&#x20;

Lnfi makes it simple — all in one ecosystem.

***

Here’s an overview of all the available launch campaigns and their respective permission requirements.<br>

<figure><img src="/files/0ZdbKPthJZi9UV5iygDl" alt=""><figcaption></figcaption></figure>

## <mark style="background-color:green;">**(Permissionless Route)**</mark>

You can issue and launch your asset permissionlessly on Lnfi at any time by simply:

1. Issuing your asset
2. Launching it via LN Starter Open Sales

\*The Lnfi team will not be involved in this permissionless route.\
\
Ready? Continue to Step 2: Issue

## <mark style="background-color:orange;">(Featured Route)</mark>

Looking for other Featured Launch Campaigns? Apply for:

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

Interested? Fill out this form \[[Link](https://forms.gle/QCU3uUyUQim1NLTK7)] — after your application is reviewed, we’ll be in touch and guide you through the next steps to ensure a smooth, well-coordinated asset launch campaign.


# Step 2: Issue

{% hint style="info" %}
Steps from here on are for users choosing to issue and launch assets permissionlessly on Lnfi. If you’ve applied for a featured launch, please wait for our team to contact you before proceeding. \
\
\*Already applied? Please avoid submitting a duplicate.
{% endhint %}

## Issue Your Asset

{% embed url="<https://youtu.be/zeY-9TjRVdk?si=i-EhHbhLGkPVy-gP>" %}

1. Tap on \[+Issue Assets].

{% hint style="info" %}
\*Currently, you can only issue assets on the desktop version.
{% endhint %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe6GvyXf2JhywzSee05-yAiI6loy5c4OggExcQZL637DJ6D2NZRZG5MsmrGBQOiw6oliIcFp96mgyURt34OCW65DZNJOQ665-YSSMfVRwHAYJXKlAVKHtxjodX6ZfA9Vr-ZPzKU8A?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

2. Select between \[Taproot Asset] or \[RGB Asset].

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdiwoR_ZODYdNdmYZFoGZ9ex_bYup0-xvp_c_fvM18QXjM28kAXoYpVzGeG51xMJBod3rTjdgD2u63nDy8slNOvlGvfWG-Lnba6MQvqJGZiu-8aQBhIs9H-T-Md0D165AasLWX80A?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

3. Enter the following information. Once successfully created, the asset will be claimable by you as the Issuer.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdwNCXyIOP7773_sozf9ZSb0YECMCNWFmdibEsCpjl9MWKjKooF1FpKP3fEgF8aBclZlGeH06Xszsar5GjMnll7lBcEI9Ta_NL98gc5MrtSUc0ZkgLpvm_18491IKlJHbkgGoplJg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

4. Enter the Social Media information (optional).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfksmVaVuiIn99KRqco16PTr4xXmmMjUEEi0a-ZxRAGdk_6_0InDHTjCK8zx_SaCjgAOPws0_GDeeMxvZDepBX5AaH29R-ZTYTCCcxbKbrB0mbjiH278PomN4aKsFSq-cCQRIll1g?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

5. Tap on \[Connect Wallet]. Issuing an asset will incur a Service Fee, which must be paid from a Bitcoin native Taproot (P2TR) address beginning with “bc1”.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd7HgWCqH14khQEvxfWNq_YNTBuVh85yAJovJqH9YHSP0us1cIJcHyGY82o1XDxq_ec_RHYySxl4i2UtdbAK-I9I4zoVYe0aVoq-COnpH9Hin-I0DQVLaH9Gd4n1d1hpjjqu9HvkQ?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption><p>*The service fee in this image is for illustration purposes.</p></figcaption></figure>

Currently, only Unisat Wallet is supported. (Download Unisat Chrome extension via <https://unisat.io/>)

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfBxKNezv4fVs5BiUMCsXK0ysDCqEAR-KxrSS7TZqT7Mzz5uuHzewyi559buemBlZCtVBajaYqBRNoJIqXoqwUiz9nLbSLMcalaYnRibeT0_7WaUgjUcWlQeWbR78hkEfco-KroHQ?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

6. Tap on \[Submit & Pay] to proceed with the Service Fee.

{% hint style="danger" %}
\*Please ensure all information provided is accurate before proceeding to submit. Once the Asset has been issued, you can no longer change the information.&#x20;
{% endhint %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeJ9hsdgFLkN-17Nvy100ccaEsv65OGkKwgL1e_40_mw6N1qI-53uIL8W8_TM4X9tvVSmACgZjWnG5pD2NoflOAp-fPn5PxSinL2MJBAGJNyT5j4sQs2tnxfgW9eRcp0ItD5wEs?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption><p><br>*The service fee in this image is for illustration purposes.</p></figcaption></figure>

{% hint style="warning" %}
Since asset issuance is an on-chain event, it requires a network fee and confirmation time. Please wait patiently while the asset is being issued; it will be claimable once the transaction is confirmed.
{% endhint %}

The following sequence of events will occur once your payment has been made:

**1. Payment Verification -** The system will first verify that your payment has been received.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf1nC7iQkG56DZsIaPBqM2iSD7z_GD2y9Fa5y9oEQ1b3B4qDxYyClSS-HwhS-IT83hVoSXkHuiUvmoAW0XeCW9ZXL6Km8lLLPfDZTBViSAHYUbfcwpJCcSQG7E2povDAhxPpyIU?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf15ELQJII9iyIu5CCz3o0cZzf_ryAvMzZPUCXoKSeDGJpLEO9YEQAKg0AyDKpNqZNcRUMpghN8zpKugNGsVZoCi2TPMiiB3K_xNekJ0xt1fxXvps2qvO04YmPZBHj3VZmTWY-Fxw?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXecqUCOiMDUzzfkIAGniZOOwA60677H9y1XDwOZkY0FKtYOMM-yFIBKm8R3C7OVg8Egx0fOF9BQLOqNDv0fWExGj-jmeM6G9qhWOyGfzhpEvaJEw2JIsfG9Po1Wcp9TsSsTpQvn4A?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

**2. Issuing Assets –** Once the payment is successfully verified, the status will change to “Issuing Assets” as the on-chain issuance process begins.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdYy65btg1e_otuzyglbbiSk66rSW8sEAQ2jFkNorC-RPqU01xUbO4YPoOom-Haz-wRU8_bWvViiE32POqAZm54LEO3LTAQbizA64M0vPs7qhNXkav-RfgRngf7EN_d5eaBe7Pclw?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

**3. Asset Claim –** After the issuance is complete and confirmed, you will be able to claim the assets as the issuer.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdZvWz5N3vm_Mxu3AFFyTTyjKlDSuKmIcEYj2qRIBplhbS-6m2qt5X76isZ93AG1j8QUOlrDX51ohtQyvRZ2LGH8O51ArY1gLvStqAmUx8T7eRbCJFQsXBff2r9lmWEvB7rB6WzPQ?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

**4. Success –** Upon the successful claim, the status will update to “Success”, indicating the asset issuance process is fully completed. And you will find the claimed assets updated on your [Lnfi Asset Page](https://mainnet.lnfi.network/#/assets).&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeJv3o88jGn-5Rve_X4SzNARC2DwWc_BICk8RF7D6KPKhUOOZY41hg6kMbEF2pw4a2VAmEMWLXmF0ouTQBTmVhAvQm4_g9jZ75cb9CjQgYV5WyrabmzOWdiM-wPqqGbqR8hcNaSeA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

## Next Steps

i) You may proceed to launch a **Launchpad Open Sales** campaign permissionlessly on LN Starter. \
(see **Step 3: Launch**)

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcUguT9LnUAWbygjhGoliup7w4R_UW6VaO-D6G69vRqWHu6uryWMyQjK3gfWIAB9GB5Xwz2ow3YrgJnfb4D2vsqWHazw-bD-gFwWwQOAxyGPWE40Yr9EhiVBEGALv8Vm9mrRR5F5Q?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

ii) To be featured, run an advanced campaign, or collaborate with Lnfi on an airdrop, please tap on the \[Apply].&#x20;

{% hint style="info" %}
\*Already applied? Please avoid submitting a duplicate.
{% endhint %}

iii) You can list your asset on the Lnfi P2P Marketplace at your preferred schedule. (see **Step 4: List**)

<br>


# Step 3: Launch

## Launch Your Asset

To launch a Launch Open Sales campaign

1. Tap on \[Launch Campaign]

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcY_C7xH_8xOeSrsZzAASKz-zmYfIuTX6Y-VQrvNjdqeQz18h8ZfJp07O3Zz2IT9Z6hT1vZL79B8H-qMt2Zan5X5pfokK5ZsQxuKdhxT2YnLWby_1SNf0sackMw4tsrFnqVdD1ByA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

2. Select the Asset for the launch campaign.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfJ5Wa87USQd0RLjDgGOWQBrJFWOf_XEDOB4gHKqJGaMTBxbryLIIgznj-fn_yzAY_dagEPgL10kfi0-smxG9iQTz6UcYW_u6SealQ7CNzB_zDpFN3bRndU1u2OP6dgUu4MGoP-?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

3. Enter the number of Tokens Offered for the Launchpad campaign. (Minimum of 1% of the Total Supply). The number of Tokens Offered will be deducted from your balance.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd64mRN7O0LjiFDROcEZ7OM9BN0EPpMv_fGU6O9YAz_iR0U38WwalOSx9rc9nhRMQOAgpGo0EynDZ60VRhv1GcepInFcxfPRJtf4_spf0R2u9zCFjuvDNotOBsyTsuhLDBbQbZNnA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

4. Specify the number of Lots. This defines how many tokens a user will receive for each Lot purchased.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe4gpVvoYM6o5BVhb5ZMlyXQhIZV8AmlIn_Pw-ugAyNKvLNXKxgLJPu2ULig52rCHJXkV6UAA1F7djw6PiBNRRPY4wpYlIp9OOcdLXCaT11T3-9f1uOLNrw9VMP4AlaZ172qtHJ?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

5. Set the maximum number of Lots each user (per address) is allowed to purchase.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd5uXqHDlUjZZCZr_O9ZfSMnx7HE53EV8mTw3Ikk2qve5Zeh3hUW2ikMI-zWrmBEqI2vU8nfwMqJK6cQk7AebJCW1qprxfOS-mf0TnsvdEBz1uXeciQUrv6MWUr65HEQn5vqv9A?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

6. Set the price per Lot — this is the amount a user will pay to purchase one Lot.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdN8bTYEJYCbUZC80y4n2EffP1nzJmbblh016L285U49KGju-o16VLPzQCT7y3D8khkQmzOhfkgXoAgDhd7T4HjnF2y2VE5Ze37bMfqC_1iyosqEWdNwTTuFGSYlgMI8gcsepJG?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

7. Set the Start and End Timing for the launch campaign.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfqRaD4RL0ESD6gI5Jlya31qx3L76yXq2fwwCTeY5KrqbmSM3gAJk1xHlOOq3Kl62t7bAVW0tN51dkd7GN5vnouOvnn5Inu9c8h0pfo1-z4ExBH8raE--5yUS5IZvrivN4bnh4Vbg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

8. To enhance user trust, the project can opt to enable a Refund Policy.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcvnWrHdNcnpapl38WQoiz0_ykQXYSz0j5UgWFk3hGPTfDDi8UCfy7lvCl5zeH6NB31hH3FbmpT9DRZEqbnL2wfDJMzk9NbkXmeXE__pPSrE_wW9pBguktHoWbN-ggsJd6tf3_dEg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

If enabled, users will be able to request refunds under the following conditions:

**Refund Window:** Users may request a refund within 3 days after the fundraising ends or the fundraising target is fully reached.

**Refund Amount:** The refunded quantity must be equal to or less than the amount originally minted by the user.

**Refund Price:** All refunds will be processed at the original mint price.

**Eligibility:** Only users who participated in the initial mint are eligible. Secondary market buyers are excluded.

**Restrictions:** Users who have made any transfers or sales (including partially filled or unfilled orders) before requesting a refund are not eligible.

**Limit:** Each account may only request one refund per project.

{% hint style="info" %}
Note: Enabling the refund policy is optional but recommended to increase user confidence and reduce potential post-mint friction.
{% endhint %}

9. Tap \[Next] to proceed

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcyTWoWScktyJ1Aq4APAyl8xrALv_I2WlddNCHDI2c20kKNT_jpP4TXv9JmTkhfaP2p_ZpZ0rPA24C3vBymlBybS1Bq166WgYMjaciCICdM3PdkZvhYNalqQQ7XNcIFha_lr6lBzA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

10. Provide the following information (optional) for users to learn more about the project. Tap \[Submit] to proceed

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf-sDxR10AbYUd6hBHoEg0GWFS4uacEWD9mfMRZqejXyEXsy99nP1fAVFugY4VHSjQVurj9XI23Zi-8qbin1gnaJwr6c9HdUfwwCW0K7TQtn0-GGvkaapT4C6HAvm1Xr5_BvDkS2g?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

11. Tap \[Approve] and then \[Confirm] to pay the service fee and finalize the scheduling of your Launch campaign.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd7sxQrRJJAXW1678sc6W63lmA3b63kw3cizDJR4bpzrOh1yNQOMzsacZsXN0nkvHJGIy81Xjsc3jl5mOdcCdxT25yCTUSRsrVsyiL3Oj7d_SFnVJ0saM0iuTUW3tJYcrVvNHyP?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfWx4fATFIpH3qltlKGJcZ4mUM_ML2V9qkipz-dbdMjbkFdrEA-3UIu6k6vBSv8pu6BRmXOdH8nTP-9Cf6yAVIdp506ZchMpnP4lwBZHD6bNEqGYp2rMRXk7J_D2ErpkkjZPvSm?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

12. Once your campaign is successfully scheduled, it will appear on the LN Starter page. To maximize visibility and engagement, we recommend preparing and launching your marketing efforts in advance.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfFA9-murE_ZZ6pGtoK3NJTVHjmYRvrhay1byKDutLENI65d0yKGskmeC1DsYNy68TgRguxRvTWAZDxLxrGhxDHbVfvPPNmT3tBqfyqVjYt1k2Pz6khZ_ef0aAExUfRAyJX_9McFg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

\
\ <br>

<br>


# Step 4: List

## List & Trade on P2P Marketplace

1. Go to LN Issue, and use the \[My Issued] tab to find your issued assets quickly.\
   Tap on the status to see more details.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXejwap7VJNFSYG2Ftsp7TM6c08PUM_8QWyAM6hnsmxxkNxG_W_ZkjuIjklQGs3ezhykPwN_gunX7kXkIsEJDtBgXAfd70R-tm1gYjyZbgC1V84lqPcKb4RjY4QMmXM20bRW7ACpew?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

2. Scroll down to the end of the page and select \[Schedule Listing]

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfC9SZ55ZlMLQy_aqUDRu08xspW2-LhMwjAHdoMfOQxqKtVxWAwdZE07kWPLQJGgOZU8XfW75bhgT8vsA8asAvw1orFG29B-o4huiU1d611_xUj4r9ahtBZn33jhwmGsXgbQvFJcg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

3. Select a Starting date and time, and tap on \[Confirm] to schedule the listing on Lnfi P2P Marketplace.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdU3YFYXUdNsWyfhBZk5NpWNm9ndonDR1u5RM-tuMVerfKrngvbhBNrcVi5lAjYxMED2zoxpSKygyAzz1pip1xjYVcpaOT7LJ8zS2f8joi5sSHgWtpFrYDy5X4H0Bpoc5fiHMBB?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe1I0rOE8_MpNHzXTCwvDhzCSG4xQzDl6RcRS6pCpl1OUDoPkaRgEUYenuCo0YjE260c81opVZUaeW3RmKLfEcmOqw7GWU4GPWUK3G_jAWtclHk-sNphAINxP6mQEHn42rFyqnE?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

4. Your asset will appear with a launch countdown — start promoting and energise your community.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeKrargvHpGZzS4BANZGjH_xiJBN5gCzlEWoDfsG-r8AWVzIH43lwQRpss-Ss_u268N1bufSxHMKVBgbPwEjuaYdzSVzB-TE31TNusHaZvEM_XL6OXb_dOD0UbNIvhyjEfdlfRW?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>


# Getting Started

To get started, you need to have the following:

| What you need              | What it is for?                                                                                |
| -------------------------- | ---------------------------------------------------------------------------------------------- |
| Nostr Address              | Every user or project can use their Nostr address (npub) as a unique, verifiable identity      |
| Nostr-supported Wallet     | To connect to Lnfi with Nostr address                                                          |
| Lightning-supported Wallet | To transfer deposit or withdraw Bitcoin and other assets via Lightning Network to or from Lnfi |

{% hint style="danger" %}
**IMPORTANT: Always back up your private keys and store them securely. And never share it with anyone.**
{% endhint %}


# Npub & Wallets

## How to get a Nostr address?

If you don't yet have a Nostr account, you can first install a Nostr-supported wallet extension. Currently, Lnfi supports wallet extensions such as OKX Wallet, Token Pocket Wallet, OneKey Wallet, and Alby Wallet. You can choose one of them to download.

1. In this example, we will use OKX Wallet.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdL2AhJbUhInn0M08QVIO12T4ACZYU71tjEX6vBdM3nkeF1paRIpROURQUlMwiM1wGyeU0fOVM0qmdMHIBiKCn8M8zmHIFpN9u7OPvVLwYrTDiv5-Lty1sXm_6tEwdIzNVtQZ3MYg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

2. After installing, you can either import an existing private key or create a new wallet.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcS9B5ZxOT6V-Kpyaq40viPl9dNYg7IXmL41SNzrdK7sK7VD1whw2GZXOpkro02GbLZJMThCg1oj9YxhyCeGugKnsvgJcI2YG5RXuTclxKwJqOeJxGWh5sxv2FfV6ksjWf2XbBfeg?key=UJ_ZRkp3D9yY2mXEXZsPVQ)

3. Once you've created the wallet account, you can switch the network to Nostr.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXe6zYS9ioxy-QCror8jjfTl3tphhxnBAhZ6Crzc25DME_KZO2PYmIiqjysyGreNtm_YZLTsIqOh3tiI-GgSRvqVyKLVBgReW_rxVxSF3rdUtLDxE_ULOERQWxY4xhsF_Yg57SLA?key=UJ_ZRkp3D9yY2mXEXZsPVQ)

4. After switching to the Nostr network, you will be able to view your Nostr address.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXd3gERimG2bNLHkLt_0OSfo1rhHMXV5sgMQknuEDYM3qYhdmdpt6dME1_2ZPM334oVFm-rrcghNtU8UatLywLFXSqlLnpyje5QepMNbGqKMx3hzeckpp7-zsz-BTsRSa209Vu9s?key=UJ_ZRkp3D9yY2mXEXZsPVQ)

<br>

5. Now you can return to the Lnfi page and click "Connect Nostr" to connect your Nostr account.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdTXi_qr3_hCUowLqJR_U3NvjdV529J_cZfT1_fV9c4CNF2zMEpZv2GmNUWC2DL7NKIX733Vx_NcFD51JPygDpL06e6FoedATuOFlMhon86lgtnpngXchq6J9nGWcZoMoiq6t5J?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

6. Once connected successfully, you will be able to see your current Nostr account.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfoy-DD-DPWe20dnSG71v8YLLH8Jl2OLUkt2DrdxKdHxruDP7-VIZrC39JmlJxGr9Tyr3Tlh_QY5-efqgz5K6eGXaD6gYA7lsXKljGTcX9LPe4txBfG1E_Lz8kNAvfe3SzXhLWy0Q?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
Similar to ERC-20 accounts, Nostr accounts are also managed via private keys.&#x20;

Please ensure you safeguard your private key to prevent asset loss.
{% endhint %}

## Supported Wallets & Guide:

**OKX:** \[[User Guide](/user-guides/getting-started/npub-and-wallets/okx-wallet)]\
**TokenPocket:** \[[User Guide](/user-guides/getting-started/npub-and-wallets/token-pocket-users)]

<br>


# OKX Wallet

How to use Lnfi Network with OKX Wallet?

## How to get a Nostr Address with OKX wallet?

1. Create a new wallet,  or "Import and Existing Wallet".

{% hint style="info" %}
When importing a wallet, use either the seed phrase or your Nostr private key. If you use any other private key for the import, the "Nostr" option will not be available.
{% endhint %}

2. Tap on the copy button shown on the screenshot.

<div align="left"><figure><img src="/files/uqNOP05fNpTRuPXd1V4A" alt="" width="305"><figcaption></figcaption></figure></div>

3. Enter "Nostr" into the search bar.&#x20;
4. The text beginning with "npub" is your Nostr address linked to this current OKX account.

<div align="left"><figure><img src="/files/60roIx6IohsNIQdSr1P5" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="info" %}
**Important Note:** If you create another OKX account, you will receive another Nostr Address.&#x20;
{% endhint %}

***

## How to retrieve your Nostr Private Key?

{% hint style="danger" %}
For security reasons, never reveal or give your Nostr Private Key to anyone.&#x20;
{% endhint %}

1. Tap on the 9-dot grid on the top left.

<div align="left"><figure><img src="/files/ZiJDGmqGDgCO6yd6zVE4" alt="" width="295"><figcaption></figcaption></figure></div>

2. Tap on \[Backups].

<div align="left"><figure><img src="/files/zVGMtukVskQlh5CUhLkC" alt="" width="298"><figcaption></figcaption></figure></div>

3. Tap on the account from which you want to retrieve your private key.

<div align="left"><figure><img src="/files/xrT1Vca30gDN1l0hvi4L" alt="" width="297"><figcaption></figcaption></figure></div>

4. Tap on \[Private key].

<div align="left"><figure><img src="/files/cgmtRI5OW3Er9QHQOW2E" alt="" width="294"><figcaption></figcaption></figure></div>

4. Search for "Nostr" and tap on copy to get the private key

![](/files/i9NBN83Ika6m9gDPrgLu)

***

## How to connect to Lnfi?

Tap on \[Connect Nostr] on the top right, then select \[OKX Wallet].

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

Once connected, you can view your npub address displayed.

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

***

## How to Deposit to Lnfi from OKX?

{% hint style="info" %}
Depositing assets on Lnfi works slightly differently from other blockchains.&#x20;

Since Lnfi is built on the Lightning Network, a Lightning invoice **must be** generated by the receiver to send Bitcoin, Satoshis, or Taproot Assets from the sender.
{% endhint %}

In this **deposit** scenario, your Nostr address on Lnfi functions as the receiver, while your OKX account serves as the sender.&#x20;

**To complete the deposit, you’ll need to generate a Lightning invoice using your Nostr address on Lnfi and provide it to your OKX account for payment.**

Here’s how to generate a Lightning invoice on Lnfi:

1. Go to Lnfi Asset Dashboard, tap on \[Deposit].

<figure><img src="/files/5Yx7S9zpZGE8A8GxHrnH" alt=""><figcaption></figcaption></figure>

2. Select the \[Receive Token] type and input the \[Amount] to receive, then tap on \[Create Invoice].

{% hint style="info" %}
Currently only SATS is supported. \
\
SATS is the minimum unit of BTC, 100 million SATS=1 BTC. \
It is essentially BTC, not BRC20 SATS.
{% endhint %}

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

3. Copy the Invoice ID. (starts with Inbc....)

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

4. Head over to your OKX account. Go to Funding > Withdrawal.\
   Select \[BTC]&#x20;

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

5. For On-chain withdrawal, select \[Lightning] for Network.

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

6. Paste the copied Lightning Invoice ID. If you have sufficient amount of the \[Receive Token], you can proceed to complete the deposit by tapping on \[Next].

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

7. Once completed, the \[Receive Token] will be credited to your Nostr address. The process should be nearly instantaneous, thanks to the Lightning Network's unique capability for fast transactions.

***

## How to Withdraw from Lnfi to OKX?

{% hint style="info" %}
Withdrawing assets from Lnfi works slightly differently compared to other blockchains.&#x20;

Since Lnfi is built on the Lightning Network, the receiver must provide a Lightning invoice to receive Bitcoin, Satoshis, or Taproot Assets from the sender.
{% endhint %}

In this withdrawal scenario, your OKX account functions as the receiver, while your Nostr address on Lnfi serves as the sender. To complete the withdrawal, you’ll need to generate a Lightning invoice from your OKX account and provide it to your Nostr address on Lnfi for payment.

Here’s how to generate a Lightning invoice on OKX:

1. Go to OKX > Funding > Deposit.
2. Select \[BTC] for the deposit, and select \[Lightning] for the network.

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

3. Input the \[Deposit amount] and tap on \[Create Invoice]

{% hint style="info" %}
Currently only Bitcoin is supported. \
\
Note that BTC will be display in SATS on Lnfi.\
SATS is the minimum unit of BTC, 100 million SATS=1 BTC. \
SATS is essentially BTC, not BRC20 SATS.
{% endhint %}

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

4. A Lightning Invoice will be generated. Tap on \[Copy] to copy the Invoice ID.

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

5. Head over to Lnfi > Assets > select \[Withdraw]

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

6. Paste the Invoice ID

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

7. Check the Send Amount. Once confirmed, tap on \[Withdraw]

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

8. Once completed, the \[Receive Token] will be credited to your OKX account. The process should be nearly instantaneous, thanks to the Lightning Network's unique capability for fast transactions.


# Token Pocket

## How to get a Nostr Address using Token Pocket?

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

## How to connect to Lnfi using Token Pocket?

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

## How to claim Airdrop using Token Pocket?

<figure><img src="/files/3KN92mhybHx8CSKPPRlU" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1TiJs8dY9buwICPmPvMr" alt=""><figcaption></figcaption></figure>

{% file src="/files/MwRvrrEiULJ9Kzn7NEcI" %}


# Deposit & Withdraw

Users can deposit and/or withdraw assets from Lightning Network, Bitcoin Mainnet, or other Blockchain Mainnet to Lnfi.

**Deposit** \
[Deposit to Lnfi from Lightning Network](#deposit-to-lnfi-from-lightning-network)\
[Deposit to Lnfi from Blockchain Mainnets](#deposit-to-lnfi-from-blockchain-mainnets)\
\
**Withdraw**\
[Withdraw from Lnfi from Lightning Network](#withdraw-from-lnfi-from-lightning-network)\
[Withdraw from Lnfi to Blockchain Mainnets](#deposit-to-lnfi-from-blockchain-mainnets)

***

## Deposit to Lnfi

### Deposit to Lnfi from Lightning Network

{% hint style="info" %}
Depositing assets on Lnfi works slightly differently from other blockchains.&#x20;

Since Lnfi is built on the Lightning Network, the receiver must generate a Lightning invoice to receive Bitcoin, Satoshis, or Taproot Assets from the sender.
{% endhint %}

In this **deposit** scenario, we use OKX wallet as an example. Your Nostr address on Lnfi functions as the receiver, while your OKX account serves as the sender.&#x20;

**To complete the deposit, you must generate a Lightning invoice using your Nostr address on Lnfi and provide it to your OKX account for payment.**

Here’s how to generate a Lightning invoice on Lnfi:

1. Go to Lnfi Asset Dashboard, tap on \[Deposit].

<figure><img src="/files/5Yx7S9zpZGE8A8GxHrnH" alt=""><figcaption></figcaption></figure>

2. Select the \[Receive Token] type and input the \[Amount] to receive, then tap on \[Create Invoice].

{% hint style="info" %}
Currently only SATS is supported. \
\
SATS is the minimum unit of BTC, 100 million SATS=1 BTC. \
It is essentially BTC, not BRC20 SATS.
{% endhint %}

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

3. Copy the Invoice ID. (starts with Inbc....)

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

4. Head over to your OKX account. Go to Funding > Withdrawal.\
   Select \[BTC]&#x20;

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

5. For On-chain withdrawal, select \[Lightning] for Network.

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

6. Paste the copied Lightning Invoice ID. If you have sufficient amount of the \[Receive Token], you can proceed to complete the deposit by tapping on \[Next].

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

7. Once completed, the \[Receive Token] will be credited to your Nostr address. The process should be nearly instantaneous, thanks to the Lightning Network's unique capability for fast transactions.

***

### Deposit to Lnfi from Blockchain Mainnets

{% embed url="<https://youtu.be/OKtiUSErSTo>" %}

Go to [mainnet.lnfi.network](https://mainnet.lnfi.network), select Deposit.

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

Select the Deposit Asset.

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

Select Deposit from Blockchain Mainnets and input the desired deposit amount.

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

Tap on Submit to proceed.

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

Ensure you select the correct Blockchain Mainnet and Deposit Asset. After verifying, tap Deposit to continue.

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

Once successful, you will be notified. You can check the transaction details by tapping on View on explorer.

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

***

## Withdraw from Lnfi

### Withdraw from Lnfi from Lightning Network

{% hint style="info" %}
Withdrawing assets from Lnfi works slightly differently compared to other blockchains.&#x20;

Since Lnfi is built on the Lightning Network, the receiver must provide a Lightning invoice to receive Bitcoin, Satoshis, or Taproot Assets from the sender.
{% endhint %}

In this withdrawal scenario, we use OKX wallet as an example. Your OKX account functions as the receiver, while your Nostr address on Lnfi serves as the sender. To complete the withdrawal, you’ll need to generate a Lightning invoice from your OKX account and provide it to your Nostr address on Lnfi for payment.

Here’s how to generate a Lightning invoice on OKX:

1. Go to OKX > Funding > Deposit.
2. Select \[BTC] for the deposit, and select \[Lightning] for the network.

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

3. Input the \[Deposit amount] and tap on \[Create Invoice]

{% hint style="info" %}
Currently only Bitcoin is supported. \
\
Note that BTC will be display in SATS on Lnfi.\
SATS is the minimum unit of BTC, 100 million SATS=1 BTC. \
SATS is essentially BTC, not BRC20 SATS.
{% endhint %}

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

4. A Lightning Invoice will be generated. Tap on \[Copy] to copy the Invoice ID.

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

5. Head over to Lnfi > Assets > select \[Withdraw]

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

6. Paste the Invoice ID

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

7. Check the Send Amount. Once confirmed, tap on \[Withdraw]

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

8. Once completed, the \[Receive Token] will be credited to your OKX account. The process should be nearly instantaneous, thanks to the Lightning Network's unique capability for fast transactions.

***

### Withdraw from Lnfi to Blockchain Mainnets

{% embed url="<https://youtu.be/h17Kwqu1PX8>" %}

Go to [mainnet.lnfi.network](https://mainnet.lnfi.network), select Withdraw.

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

Select the Withdraw Asset and select Blockchain Mainnets

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

Input the desired withdrawal amount, and tap on Submit to proceed.

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

Ensure you select the correct Blockchain Mainnet and Withdraw Asset. After verifying, tap Submit to continue.

<figure><img src="/files/815ecnaLmKCLEFAP0zA6" alt=""><figcaption></figcaption></figure>

Once successful, you will be notified. You can check the transaction details on Lnfi explorer.

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


# Transfer Assets

Fast, secured and gasless way to transfer assets to another Nostr address.

Lnfi returns the freedom to users, enabling them a censorship-resistant way to transfer assets to other Nostr addresses.

{% hint style="success" %}
**High TPS:**

Fast, secure & gasless. No more waiting on Blockchain network.
{% endhint %}

{% hint style="success" %}
**Censorship-resistant:**

Powered by Nostr Protocol decentralized structure.
{% endhint %}

{% hint style="success" %}
**User-friendly:**\
No need to generate Lightning invoices ever again.
{% endhint %}

{% hint style="success" %}
**Full Transparency:**

All transaction data are viewable publicly on Lnfi Explorer.
{% endhint %}

## How to Transfer Assets?

To transfer an asset to another Nostr address, go to Assets Dashboard.

<figure><img src="/files/27HuDNFiu0TreDu5XTvj" alt=""><figcaption></figcaption></figure>

Then select "Assets Transfer"

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

Choose the type of Asset to transfer.

<figure><img src="/files/1anQILmHgxvT8uDTWJk7" alt=""><figcaption></figcaption></figure>

Input the correct recipient Nostr public address.

{% hint style="warning" %}
Remember Nostr public addresses start with npub.

Inputting the wrong address may result in a loss of assets.
{% endhint %}

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

Input the number of assets to transfer.

{% hint style="warning" %}
There are minimum quantities for each type of asset transfer.
{% endhint %}

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

Confirm and authorize the action to proceed with the transfer.

<div align="left"><figure><img src="/files/mxfmOamTJjwFhEfcnwlE" alt="" width="288"><figcaption></figcaption></figure></div>


# Publicly Viewable Data

Transactions and transfers on Lnfi are transparent and the data is viewable publicly on Lnfi Explorer.

#### **Explorer**

* [Funding Records](#funding-records)
* [Token Events](#token-events)
* [Holding List](#holding-list)

#### **P2P Marketplace**

* [Marketplace Order History](#order-history)

***

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

## Funding Records

<figure><img src="/files/9hcmfHuTGx2hSQa5dRnz" alt=""><figcaption></figcaption></figure>

Funding Records display the historical deposit and withdrawal records of your Lnfi account.

{% hint style="info" %}
This info is only visible to the Nostr address owner.
{% endhint %}

Use the filters to see your deposit and withdrawal records.

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

***

## Token Events

Token Events data are primarily related to asset transfer and management of address books.

{% hint style="info" %}
You can view Token events across the whole Lnfi Network.
{% endhint %}

<table><thead><tr><th width="207">Event Type</th><th>Remarks</th></tr></thead><tbody><tr><td>Transfer</td><td>Transfer from sending address to receiving address</td></tr><tr><td>transferFrom</td><td>Authorized operator transfer from sending address to receiving address</td></tr><tr><td>openPro</td><td>Switched to Pro Mode</td></tr><tr><td>closePro</td><td>Switched to Normal Mode</td></tr><tr><td>deleteAddressBook</td><td>Deleted a Nostr address to Address Book</td></tr><tr><td>addressBookAdd</td><td>Added a Nostr address to Address Book</td></tr></tbody></table>

You can access Token Events via the Explorer Page.

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

To view the transfer history of a Nostr Address, paste the Nostr Public address into the search bar, and tap search.

<figure><img src="/files/9WQMpT5rFRDRu85CttEb" alt=""><figcaption></figcaption></figure>

### Holding List

You can check the asset holdings of any Nostr Public address via the Holding List page.

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

Input the Nostr Public address to search and filter according to the type of asset.

***

### P2P Marketplace Order History

You can view all the transactions that happened on P2P Marketplace. Go to Order History on the Marketplace page.

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

You can search using Nostr Public Address or an Event ID to see the details of a specific transaction.

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


# Issue Assets on LN Issue

Refer to this user guide for LN Issue \[[Link](/for-projects/issue)]


# Participate in Launchpad

## How to take part in the LN Starter Launchpad?

1. Go to mainnet.lnfi.network > Ecosystem > LN Starter.
2. Tap on the project you want to participate in.&#x20;

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

3. Please read the campaign rules. To join the token sales, tap \[Participate].

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

4. Enter the number of Lot(s) you wish to purchase, review the Total Fee, and tap \[Approve] to continue.

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

5. Once the purchase is complete, you’ll see a success notification. Your tokens will be available on the \[Assets] page.

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


# Participate in Zodiac Mint

{% hint style="success" %}
**Quick Tips**

* To win Zodiac Mint rewards, you need to rank as high as possible in one of the 12 Zodiac pools during Phase 1: Participation.&#x20;
* Then, in Phase 2, whenever a new Bitcoin block is mined, the last character of the block hash determines which launchpool is selected.&#x20;
* If your pool is picked, the top-ranked participants in that pool will be selected as winners.&#x20;
* This process repeats every block until the maximum number of winners is reached.
  {% endhint %}

## How to take part in LN Starter Zodiac Mint?

### Zodiac Mint Overview

Each campaign has 12 Zodiac Pools, labeled with unique hex characters (0–9, a–f).

* 4 pools use 2-character hex codes
* 8 pools use 1-character hex codes

{% hint style="success" %}
Each Zodiac pool requires participants to lock a minimum amount of a specific token assigned by the project (e.g., BTC, $TREAT)
{% endhint %}

There are 3 phases for a Zodiac Mint campaign.

[Phase 1: Participation](#phase-1-participation)\
[Phase 2: Lottery Draw](#phase-2-lottery-draw)\
[Phase 3: Claim Rewards](#phase-3-claim-rewards)

***

### Phase 1: Participation

Users can only interact with the Zodiac Mint campaign when Phase 1 starts.

* Join only one pool per Nostr address
* Each Nostr address may only win once
* Minimum amount to lock
* No withdrawals allowed in Phase 1
* Your ranking in the pool depends on how much you lock
* You can increase your amount anytime before Phase 1 ends

**Important Notes**

* After Phase 1:\
  (if Zodiac Mint Token Sales) The corresponding value, based on the token amount and price, will be deducted.\
  (if Zodiac Mint Raffle) 50% of your assets are returned.
* After Phase 2: The remaining amount is refunded. Refunding and unlocking of assets will be in the order of participation. Roughly 300 participants' assets will be unlocked every minute.
* Participation closes at the announced deadline.
* Participate earlier. Expect high traffic in the last 30 minutes.
* Phase 3: Winners MUST claim their rewards within the announced duration. There will be no extension of the claim duration. Any unclaimed rewards will be returned to the Issuer at the end of the claim duration.

Note: No new entries or increases are allowed after Phase 1 ends.

***

#### How to participate in a Zodiac Mint?

1. To participate, select a Zodiac pool.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeAlH7bkgqcHZaP8GYuybzDw-mQhkuvxXeNHpZucOJwVk3Q1_FojyCarNwwVBbVP3ZrYxBSYw7eXQ0gYmvuQJTc7KmGpn3howuafuJMxBRnGwk9wNlxs9nvOt38x-iJkwD89-bI?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

2. Tap on Participate

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdqcY9-f_A6F2NbNbCJD6TMNWj9s4H0sSlksgFJI9svUd2-t30tfNtdaDLGvrIcgjSEbyaTv2Ff1DuROkCVOCRYkj8NjOD9IhSxJnHCHnHnSdVyaFr_4wUWX8Eene2HVDbvpxjEpA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

3. Enter your desired amount of assets to lock.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfGBRANWAR1rhCF5t2e5eFBpzQsybSdvZKYHjS6bUIvymywLAgv2wSG3xpP4LTMprQ_S_55XjWpnVfRumVZ02Kf2jrcMYB0NdfqQ0J2JtoilTejkU4vNMvv2_FSPcU89ICK4ZzJ?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption><p>*Image is for preview purposes only. It does not reflect the actual price or value.</p></figcaption></figure>

4. Tap on \[Approve] and \[Confirm] to Lock Assets into the pool.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXegOZZ5LheD4M-ipvsZx8G-xx93nVQKrM-PmC7yBe4ZS0TI7uoYZ4zifbqXJNnMcxYYZBJboHY8elRQKsh0iG3niomqEKGWwr41-C2pH4x_5L5e4gdMxsBn6aMEDLmWW381MFw11g?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

5. Done. You have successfully participated in a Zodiac pool.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeNaUldGymhBfsespLDS84eP0QislKtnYfxMABC-FpVKAHmJCGvRz8caaCgaYVy2oxtdGxYsF4rDC1MVD7xG7aw_IoHNSniVanHnTOrVV1CzG0ggoFkNwzIdjyO7C8YCpOYO-60?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

#### Strategise Better By Checking The Zodiac Pool Leaderboards

Users can check the Zodiac Pool Leaderboards to assess the ranking of participants and the assets requirement.

We recommend users check the Leaderboards before they make any decision on which pool to participate in.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXejCTNCPooCMdD97I-46Kvpuq0FHK0h_47RvSH4iaRj2d22jhJKOUC9Aid6NAmAr87BNDPKflc9x71Oc7oTKLp6I6RKZxppuTyilxS0xYbbqldZ8Ulfq7cq53edoFzvR5SeLX8d?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

To quickly check a certain rank, use the search bar and enter the desired ranking number you wish to learn more about.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe4HXIF3uT4Q_oVuzsV3itg45Rinys_pyp8F6x9PIGBwf1dIum7WvIKxbsAlX1mWKFiDmHWPO-BI45GRj07HHetD2oQoma2bSwuwXfSbrMI9GwTrxyB0SYVMy3IVZZHGGVi5lXGVg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

#### How to Increase Your Assets Quantity In The Participated Pool?

There is a cooldown period of 10 minutes each time you lock your assets into the Zodiac Pool.

Before you increase your asset quantity in your participating pool, it is best to check the leaderboard and understand which rank position you are aiming for.

Tap on Increase Your Locked Assets to add more assets to your participating pool.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcE-mVrLAH4zdySxAzfpGbbi9sEaHPfW9ZMIqL26RwywaBK1_EM-Bqzd4758AEF98b3k5wn0RYP08LNPyWk_Y8DH6C7jzAyzA9qWKscN0UWt9A168kVKFqQGqzVzV1MudwaxfiN?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

The ranking and asset requirement will increase as existing participants may increase their holdings or new participants join. Do consider this before deciding on the amount of assets you will be adding to your asset quantity.

Additionally, take note of the Phase 1 Countdown Timer.

When Phase 1 ends, you will no longer be able to participate or increase assets in your pool.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXf-4-E_gQpLd34fmfe1jotHYgl_07XDj4A3pKv4RAGWETu5pOj5lIWaW4uZWviE5LfdD5GY8If3UlKGX1T55-D9bQyNZgF-cYyoMrFDC9xpTI4kMCoNiB-0FpE7GbwXbKyFnHtTxg?key=UJ_ZRkp3D9yY2mXEXZsPVQ)<br>

***

### Phase 2: Lottery Draw

Phase 2 commences at the Bitcoin block number specified by the project

To understand how winners are selected and the rewards calculation, please read: \
[How are Zodiac Mint winners selected?](/user-guides/participate-in-zodiac-mint/how-are-zodiac-mint-winners-selected)

Users will be able to see the real-time unveiling of the block hash and the lucky winning pool on the Zodiac Mint Lottery Draw Page.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXedu9nWwSXcHQz7a6EybWVpmEW2xxKtRT_5TbnZQ76WPf_d1fxCC02XIZsJ6ENa-xJvBT6tBVf2llwo1AGlx7IvKNtGI1jrPuKtToU1rp8DHneaMBWrxjbqnBKF6FpOFZ-glPBETg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

If you win in any block, you will see a congratulation message displayed on your screen with the respective block that you won in. The amount of rewards won will also be displayed below.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcLDwT-4YXeYu4oxwHUcPB4rmoe9Vlrp6mOoJICEVocYb8wx4R4lsEHuGyIFGBlFC1J92LJpgwRlNbNu4-YMcCkPcQTu9McBEGmyOnsvEQM0EAfLynqH-BqlfyZZg7YgikTryazHA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

The Lottery Draw page will continue to unveil block hash and winning launch pools until the maximum number of winners has been reached.<br>

***

### Phase 3: Claim Rewards

All eligible winners will be able to claim their rewards directly on the Zodiac Mint campaign page.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdQLGPo3xApsj0obSz69k9behpOP3v6IMsNdTdutT2ezkN9fIexBvcz8eBskRA7rY4LYyE88fUBjhOgJrR0ipuok8NDcm4FojjUMmKN_sH5EUIZdN1yX8Xci_QK2PrODp5JsSKstA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

Winners MUST claim their rewards within the announced duration. There will be no extension of the claim duration. Any unclaimed rewards will be returned to the Issuer at the end of the claim duration.


# How are Zodiac Mint winners selected?

Phase 2 commences at the Bitcoin’s block number specified by the Issuer Project.

During this phase, the winning Zodiac Pool is determined by the hexadecimal character matching the last one in the block hash of a Bitcoin block.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXezjooygGiy5Ha_6gTk4z7YYAcpUcuM5brT12jlmNRa6FePq8-rzE6pPVCilSyfOgvaOmcPjnBRVU0HHdQd_W6re9jgit3ZHhQShkqPoMSc9fxMsdN9ZOieZU_Qtkk4Ds7GFpBTog?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

For instance, using the example in our image, if the last character in the block hash is a ‘6’, Zodiac Pool #7 with ‘6’ assigned is declared the winning pool.<br>

### Winner Selection Process

**Number of Winners:**

50 (default) winners or a number of specified winners by the Project will be drawn from the winning pool.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfBCAzlg2TyriDVEsahDpAUcmynSNwXpb06VWW2VH-bg_HdhrqKhMr49Wq3GAQ8cZLJDoVQXV_VfJI0evxjeE9hb5Yr-obz4tmEc9hD-sRWUiIm_yN1b6N5_UJRThlJMoPxI0LV?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

**Selection Criteria:**

Winners are chosen based on the highest quantity of locked assets per Block Hash. In other words, the first top 50 will be selected for the first win of the Zodiac pool.

**Cycle Repetition:**

The cycle repeats for subsequent blocks until the maximum number of winners is met. If any Zodiac Pool secures another win in a subsequent draw, the next set of 50 top-ranked participants from the winning pool will be selected as winners.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdt8-5Maexut_aT_BbVprzaetYMlsVjyO8jFGpaFjPsQr5NGhxumGk6nB60YDMOZ9OXOB22wzc9KSEl5BWjyNEs0e-RgZQO0m-l2cPKBajkzaAA5Ra-OC5m_mnzieGleq5sLXDgPg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

**Halving of Rewards:**

The rewards undergo halving twice, occurring at every interval of 100 blocks.

**Rewards Allocation Ratio**

The total number of winners and total rewards are specified by the Project.

The reward allocation ratio is based on 4/2/1

Should there be a total reward amount of 7,000 to be split across the three tiers, Tier 1, 2, and 3 will be entitled to 4,000, 2,000, and 1,000 assets, respectively.

**Duration of Phase 2:**

Phase 2 may take place over 1–3 days, depending on the maximum number of winners and the number of winners selected per block.

Phase 2 concludes when the maximum number of winners for the event has been reached.

**One-Time Winning**

To promote fairness and broaden the distribution of rewards, each Nostr address is eligible to win only once throughout the event duration.

**Winner Limit per Block Hash**

A maximum of 50 winners, or a number specified by the issuer, will be selected for each Block Hash during the Phase 2 Lottery Draw.

<br>


# Trade on LN Exchange

Refer to the user guide on LN Exchange \[[Link](https://docs.ln.exchange/getting-started/connect-nostr)]


# Buy / Sell on P2P Marketplace

## How to Buy on P2P Marketplace

1. Go to P2P Marketplace and select \[Markets]

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcumBlzo91Kfl2fGgBCx_Qoa4iZfXE9YuLzQtYIpTzAFqfkbe1SOCGxcbBXglivXywyedY--eG_EhiQdMRQ8tiGm9iNZ4uSVud4oJHDDQhqIS97PzwwtK_LXagtqDSGNq3uOwFpQA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

2. Select the asset on the left section or use the search bar.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe5wqJd2_tst8evwpNU50kJ4dG8A1GJX0PCKjDLlRBFoRqdIbxnYUGv0sf-LPTG60ABNJ58TIMbzNBXEZPOHMLlqntx5982B3T84MEuVkYDDGc15KQ4rWeqTHF16Ros3ZftNL4Nuw?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

3. Tap on \[Buy], then proceed to \[Approve] and \[Confirm] the transaction.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf0L40npsId_fWotFxKLQafloB0ZVua2GoWqk24VLMLFUuU9MBGSHo9TxcJKKiv8DWjUvez2nUM7RI2W0u7zikW7laRcHh-5GAz6jtSGeQ8n-oXhxCTVbGpCNdEJiLuOEjT-_xeiA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note: When buying an asset, there will be a 0.4% service fee on the purchased asset.\
If the calculated fee is less than 1 unit of the asset, it will be charged in the smallest unit of the asset.<br>
{% endhint %}

4. Upon successful purchase, your acquired assets will be updated in your Asset page.

You may also check your purchase history under \[My Order]<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXedwU_9LkxS37p7a-S6EWnDtqfgRufHAElPtPgDnv8Wckxoe6Nur1FRYrMbVIivwhcPQIaZV9Qb3KE-GIlrL31Ocj18GzeIBdvF7nVrLEZlNU6zkUfoBaA52P2TK2oM6GbfyAyf?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

## How to Sell on P2P Marketplace

1. Go to P2P Marketplace and select \[Markets] and make sure you are on the \[Sell] tab.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXex4BFI6zSMCxR3hkgp6Xh4WL6ApLhshZdYnv2dcyE2Q2Nq81CkgRIMe2NqwCKAwP8Q8yMoYhBXgjBhXRBqLeeh6kNIHfNcn6xUZhkQuXm4GkmRVuMkWKAAgwEcx4qmjgWwKL7ang?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

2. Select the asset on the left section or use the search bar.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdHI7rA2qA6QIcSJB_4W6PED8OoJVvhJfldwh9TvXaRVpX5AQ_deX1r4GRrecLSq1wJW7YZOwLj8oq-GFjF-KfQay0P4W82oRTwRyUaEuN4tz0eR5uB3Hva5X_pCwKI8S4eUchwHQ?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

3. Tap on \[Sell], then proceed to \[Approve] and \[Confirm] the transaction.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdtqbLleWk1RgZVtzBDrQ-YhOZZZhk4wypERKGsezztFbsSOu_Arw5H1K1G6mM0UtyZyXlyIXaIRvqqwT_Bb3skuyzUeNeljmZ6pVhpz2guFmOihYaQuXTNeIn1XzSFjFgMxwyzqQ?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note: When selling an asset, there will be a 0.4% service fee in satoshis (the smallest unit of Bitcoin)<br>
{% endhint %}

4. Upon successful sale, your asset amount will be updated in your Asset page.

You may also check your history under \[My Order]<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXedwU_9LkxS37p7a-S6EWnDtqfgRufHAElPtPgDnv8Wckxoe6Nur1FRYrMbVIivwhcPQIaZV9Qb3KE-GIlrL31Ocj18GzeIBdvF7nVrLEZlNU6zkUfoBaA52P2TK2oM6GbfyAyf?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

## How to Create A New Order (Buy / Sell)

1. To create a new order to buy or sell, tap on \[Create New Order]

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXchIjbH0BWaaR_weU2DHAKUhAfb4uKanyxEiZ7I9eEHL_nATLKlDgbuHzfxWNntGQV_MrOuodEudo8dBw0tzawGhgEfji_w02F2W0d-CuHygkudQSf59kt64-bIc2MWARVt8i0ETg?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

2. Select \[Buy Token] or \[Sell Token]

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdmJnbU2GbLh0CUsbD1MJH6sHYzcXItGBvlrnIsSQgi2cyg7oq7tBRigKywcCv-bAnDPtsIjxUfkbFj8tbafmgJiLZ48NKbK7cboF743VbuR0turREjpypvXgbM_6KkQfxzsaR25A?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

3. Enter the price, amount and tap on the bottom button to proceed.\
   You will need to \[Approve] and \[Confirm] to complete the order.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcbECUdK30WZa2cIZMUhb0CZERpQcNpWQxc7Sk9EkmcWSg0QhMwGmoez2OPefkADsL6bd6xxRdIGeISTunqR5RaRld5W5_fxdIXrAYOsH0l1M0EvT4WONW4iidHmR6JTpbA3CxPwA?key=UJ_ZRkp3D9yY2mXEXZsPVQ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Service Fee Notice:

* Buy Token Order: A 0.4% fee will be charged in the token you're buying.
* Sell Token Order: A 0.4% fee will be charged in satoshis (the smallest unit of Bitcoin).
  {% endhint %}

{% hint style="info" %}
Note: If the calculated fee is less than 1 satoshi or 1 unit of the token, the minimum fee charged will still be 1 satoshi or 1 token unit.
{% endhint %}

4. Once your order is successfully created, it will appear under \[Markets].

To cancel the order, go to \[My Order] and tap \[Cancel].

<br>


# Manage LN Node

LN Node is getting an upgrade with new features. A refreshed guide will be available soon.


# Token Swap

## How to swap your $TREAT to $LN?

On Lnfi > Token Swap

Select your desired swap rate.&#x20;

**Option 1:** \
2:1 (Initial unlock of 100%)

**Option 2:** \
1.5: 1 (60% initial unlock, 40% linear vesting over 3 months)

**Option 3:** \
1:1 (30% initial unlock, 70% linear vesting over 3 months)

{% hint style="info" %}
\*Options 2 and 3 offer greater LN returns for less TREAT, featuring a smaller initial unlock and an extended vesting period for long-term alignment.
{% endhint %}

Proceed with the following steps

1. Once selected, tap on \[Swap]

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcHnYpIpclzmCXKNw3_SeYF1MR0dPD2l5KrAhsYZjLox2sp6v26cc92vNPyDPVlqDw7n5boag6ejK_uiFVUdrwuCwbuzXVTH2Ae8jYqnPufoR2WiyP4Da2F0c2gYV6QC74VoFx9XQ?key=xZ-jpKWvQDL2sq0Jm4hY-A" alt=""><figcaption></figcaption></figure>

2. Input the desired amount to swap. Then tap on \[Approve] and \[Swap] to proceed

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfOIbtShdi3ktMz86QThalQC8gMA_fXaDVCA0cL6frKgMUpnmy27vSuMoUX7d3ze124xRWwC3V2bs0PCaSKCIHWTxpgvezdmQQ3uNg-JJNFv-3bkEOi8-1rQLVwVmymHfRSYm_c2w?key=xZ-jpKWvQDL2sq0Jm4hY-A" alt="" width="375"><figcaption></figcaption></figure>

3. Ensure the following are correct, then tap on \[Confirm]

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXegwartBRSm20kT1RyFUW0EFUudW4ib5oFzV8hTzYZj8Phx7ezkRzxPnmoGt62UqLyRxDYxWYTgWeOY55WtD6UynUYOjPg3L1aJK9gpXErkwixiulkqgzyt_tjkJNeGoQhzcylUtw?key=xZ-jpKWvQDL2sq0Jm4hY-A" alt="" width="375"><figcaption></figcaption></figure>

4. Once confirmed, you will see the LN claimable under My Swap Records

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe9SGhe3QDf77E_A_V76Cu6CHDc3TCrHhFgZ3VbL4siEdH8uD3z0zryOFikjay9PWM6h9srnN3vIToSFyjA2jlyalnGLdnQictbxhK-b6tqUsVN2leGIiRJwLMYy_HA4ZcyIkwrfQ?key=xZ-jpKWvQDL2sq0Jm4hY-A" alt=""><figcaption></figcaption></figure>

5. If you choose a swap rate with a vesting period, the remaining tokens will be claimable once the vesting period ends.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeYX-naBnhmpf0EIpx0shuJu1Jrk8FU7GgG9TaGlkgRbZicPW4G7uHzYKdj8tyW_pmC3beJJ5FeovTWepwD687owy4WL8tfgvMX9JgJLKeVLCMBYdtifWLl9oveTIS6UhJNtO1xYw?key=xZ-jpKWvQDL2sq0Jm4hY-A" alt=""><figcaption></figcaption></figure>

<br>


# Desktop Users

This guide is for desktop users to use Lnfi Mainnet

{% hint style="info" %}
To connect to Lnfi, you may use any of the following Extensions that support Nostr:\
\- OKX Wallet\
\- Alby\
\- TokenPocket\
\- OneKey
{% endhint %}

## **Content**

1. [How to get a Nostr address?](#how-to-get-a-nostr-address)
2. [Connecting to Lnfi](#connecting-to-lnfi)
3. [How to Receive Assets to Your Nostr address?](#how-to-receive-assets-to-your-nostr-address)
4. [How to Send Assets Out From Your Nostr address?](#how-to-send-assets-out-from-your-nostr-address)
5. [How to transfer Assets to another Nostr address?](#how-to-transfer-assets-to-another-nostr-address)
6. [How to buy or sell on Marketplace?](#how-to-buy-or-sell-on-marketplace)
7. [How to make new listings on Marketplace?](#how-to-make-new-listings-on-the-marketplace)
8. [How to check your Orders?](#how-to-check-your-orders)
9. [How to cancel a listing?](#how-to-cancel-a-listing)
10. [How to view transaction history on Lnfi?](#how-to-view-transaction-history-on-lnfi)

***

## How to get a Nostr address?

If you don't yet have a Nostr account, you can first install a Nostr-supported wallet extension. Currently, Lnfi supports wallet extensions such as OKX Wallet, Token Pocket Wallet, OneKey Wallet, and Alby Wallet. You can choose one of them to download.&#x20;

**In this example, we will use OKX Wallet.**

<div align="left"><figure><img src="/files/YvgTgi96q1UBYdNRYxTP" alt=""><figcaption></figcaption></figure></div>

After installing, you can either import an existing Ethereum or BTC wallet private key or create a new wallet.&#x20;

<div align="left"><figure><img src="/files/fLn3yBsFLF0sRaLQDn1j" alt=""><figcaption></figcaption></figure></div>

Once you've created the wallet account, you can switch the network to Nostr.

<div align="left"><figure><img src="/files/kG0qsORQJ7RqVmesOM5S" alt=""><figcaption></figcaption></figure></div>

After switching to the Nostr network, you will be able to view your Nostr address.

<div align="left"><figure><img src="/files/599YAXLW2Zx9fRjzgU4G" alt=""><figcaption></figcaption></figure></div>

Now you can return to the Lnfi page and click "Connect Nostr" to connect your Nostr account.

<div align="left"><figure><img src="/files/5nfYyBHm3QbSuoK3FKQk" alt=""><figcaption></figcaption></figure></div>

Once connected successfully, you will be able to see your current Nostr account.

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

{% hint style="warning" %}
Similar to ERC-20 accounts, Nostr accounts are also managed via private keys. \
**Please ensure you safeguard your private key to prevent asset loss.**
{% endhint %}

***

## Connecting to Lnfi

With your Alby Chrome Extension installed, go to mainnet.nostrassets.com, and tap on Connect Nostr.

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

You will be connected almost immediately.

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

***

## How to Receive Assets to Your Nostr address?

You can deposit SATS to your Nostr address via Lightning Invoice.\
Refer to this [guide](/user-guides/getting-started/receive-and-send-assets).

***

## How to Send Assets Out From Your Nostr address?

You can withdraw SATS from your Nostr address via Lightning Invoice.\
Refer to this [guide](/user-guides/getting-started/receive-and-send-assets).

***

## How to Transfer Assets to Another Nostr address?

You can transfer assets from your Nostr address to another Nostr address.\
Refer to this [guide](/user-guides/getting-started/transfer-assets).

***

## How to Buy or Sell on Marketplace?

To see all available listings on the Marketplace, go to the P2P Marketplace.

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

You can see available Buy Listings by other users who are looking to buy Assets on the Buy Tab. And those who are looking to sell their Assets on the Sell Tab.

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

Select the Asset type on the side column to view the listing for the asset.

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

To buy or sell to an existing Listing, make sure you have sufficient assets in your Nostr address. In this example, let's try to sell TREAT to a listing on the marketplace.

<figure><img src="/files/1O3lL2RhrFXew9uyNt7E" alt=""><figcaption></figcaption></figure>

Tap on Sell to proceed with the transaction.

{% hint style="info" %}
For security reasons, it is likely that in your first transaction, you will need to tap twice.\
First, tap for APPROVE the transaction. Second, tap for confirming to SELL.
{% endhint %}

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

***

## How to Make New Listings on the Marketplace?

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

***

## How to Check Your Orders?

You can see all your past orders (Buy/Sell) via the My Order page.

Go to My Order

<figure><img src="/files/1WHfZmiQVXVWWq128Kcb" alt=""><figcaption></figcaption></figure>

***

## How to Cancel a Listing?

Go to Marketplace > My Order\
Tap on the Cancel on the action column.

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

You should see a notification saying "Submit successfully".

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

The status of the order will change to "Cancel Pending".

And shortly (if need to, refresh your browser), the status should update to "Cancelled".

***

## How to View Transaction History on Lnfi?

You can see ALL the transaction history on Lnfi P2P Marketplace via the Order History.

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

Tap on the Detail to see more info.

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

The core of Lnfi is championing decentralization and transparency. As we take each step towards the goal, users now publicly view all transaction events that happened on Lnfi.

From Transfers to Holding List you can view them on our Explorer.

Go to the Explorer page. It is categorized by Token Events and Market Events.

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

**Funding Records** show users' deposits and withdrawals of assets to and from their Nostr address. These records are currently only visible to the individual user.

**Token Events** displays events related to Transfers, Approve, and Address Book.\
(Withdraw & Deposit info will be added in the near future)

**Holding List** shows the distribution of tokens across the npub addresses that hold them.


# 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?](#what-is-chat-to-trade)

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

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

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

[How to use Marketplace via Chat-to-Trade?](#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.

{% 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 %}

{% hint style="info" %}
For Chat-to-Trade commands, please refer to:\
i) [Natural Language Commands](/natural-language-commands)

ii) [Marketplace Commands](/marketplace/marketplace-commands)
{% endhint %}

***

### First, Follow these 2 Nostr Accounts

We will use [primal.net](https://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](broken://pages/xgXJQn8HXw30P0JWaCST)).

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>Nostr Assets</strong></td><td>Token Events</td><td>npub1dy7n73dcrs0n24ec87u4tuagevkpjnzyl7aput69vmn8saemgnuq0a4n6y</td><td></td></tr><tr><td><strong>NostrAssets-Market</strong></td><td>Market Events</td><td>npub1zl7exeul3py65wt9ux243r0e3pukt8jza28xmpu844mj5wqpncaq0s2tyw</td><td></td></tr></tbody></table>

Paste and search each address in the search bar

```
npub1dy7n73dcrs0n24ec87u4tuagevkpjnzyl7aput69vmn8saemgnuq0a4n6y
```

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

Tap on Follow.

<figure><img src="/files/9kzRQSsXZv67p95HWNDQ" alt=""><figcaption></figcaption></figure>

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

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

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

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

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

***

### 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.

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

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/TX2UaNWfdUMiyK8mrUFE" alt=""><figcaption></figcaption></figure>

To check balance, simply type the following commands:

```
balance
```

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

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

{% hint style="success" %}
For full list of commands with Nostr Assets Token Event Manager, refer here:\
i) [Natural Language Commands](/natural-language-commands)
{% endhint %}

***

### How to use Marketplace via 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 MarketManager with 100 $TRICK, use this command:

```
Approve 100 TRICK to npub1dy7n73dcrs0n24ec87u4tuagevkpjnzyl7aput69vmn8saemgnuq0a4n6y
```

{% 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, now you need to go to the MarketManager\
Tap on the Direct Message button.

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

Example of the command to create a sell listing

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

<figure><img src="/files/uBtGgJlQiFo8ypPPtsnU" 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)
{% endhint %}


# Mobile Chat-to-Trade

This mobile user guide for using Lnfi via 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)
{% 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)
{% endhint %}


# OneKey

How to use Lnfi Network in OneKey?

English Guide: <https://help.onekey.so/hc/en-us/articles/8515405561231>

Chinese Guide: <https://help.onekey.so/hc/zh-cn/articles/8515405561231>


# Official Links

{% hint style="info" %}
Please refer to this page for the official Lnfi Network related links.
{% endhint %}

<table><thead><tr><th width="171">Official Links</th><th>URL</th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Website</strong></td><td><a href="https://www.lnfi.network/">lnfi.network</a></td><td></td></tr><tr><td><strong>Medium</strong></td><td><a href="https://lnfinetwork.medium.com/">lnfinetwork.medium.com</a></td><td></td></tr><tr><td><strong>Gitbook</strong></td><td><a href="https://docs.lnfi.network/">docs.lnfi.network</a></td><td></td></tr><tr><td><strong>Github</strong></td><td><a href="https://github.com/lnfi-network">github.com/lnfi-network</a></td><td></td></tr><tr><td><strong>Twitter</strong></td><td><a href="https://x.com/lnfinetwork">x.com/lnfinetwork</a></td><td></td></tr><tr><td><strong>Telegram</strong></td><td><a href="https://t.me/lnfinetwork">t.me/lnfinetwork</a></td><td></td></tr><tr><td><strong>Marketplace (Mainnet)</strong></td><td><a href="https://mainnet.lnfi.network/">mainnet.lnfi.network</a></td><td></td></tr><tr><td>Lnfi Market API</td><td><a href="https://market-api.lnfi.network">https://market-api.lnfi.network</a></td><td></td></tr><tr><td>Lnfi Nostr Relay</td><td><a href="wss://relay.lnfi.network/">wss://relay.lnfi.network</a></td><td></td></tr></tbody></table>


# LN Ecosystem & LN Alliance

List of LN Ecosystem & LN Alliance Partners

{% hint style="success" %}
Featured in Bitcoin Magazine\
<https://bitcoinmagazine.com/technical/bitcoin-lightning-alliance-to-accelerate-adoption-using-new-asset-protocol>
{% endhint %}

**The LN Ecosystem & LN Alliance initiatives aim to:**

* promote the widespread adoption of the Lightning Network and encourage ownership of Lightning Nodes, making it a ubiquitous trend,
* feature projects that are building on Bitcoin, Lightning, and/or Nostr under the LN Ecosystem and feature key partners, who are working with[ Lnfi](https://www.lnfi.network/), under LN Alliance to push adoption forward.
* increase awareness and adoption of Lnfi e.g. LN Link (developed by Lnfi) which supports Taproot Assets for seamless payments through Nostr.

***

<table data-full-width="false"><thead><tr><th width="112">Partners</th><th width="93">LN Eco</th><th width="114">LN Alliance</th><th width="237">What they do</th><th>Area of Collab</th></tr></thead><tbody><tr><td><a href="https://voltage.cloud/">Voltage</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td>Leading Lightning Node infrastructure provider offers a complete range of services like LSP and Surge for observing nodes.</td><td>Fully self-custodial LN Node.</td></tr><tr><td><a href="https://amboss.space/">Amboss</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td>Leading provider of payments operations for the Bitcoin Lightning Network.</td><td>Integrate liquidity automation using ‘Hydro’ for reliable payments among other Amboss tools for LN Nodes.</td></tr><tr><td><a href="https://megalithic.me/">Megalith</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td>One of the largest routing nodes on the Lightning Network</td><td>Taproot Assets Explorer</td></tr><tr><td><a href="https://www.fewsats.com/">Fewsats</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td>Developers can focus on creating valuable services without the hassle of handling deployment or payment infrastructure.</td><td>LN Nodes can easily make/receive Lightning payments for/from Fewsat’s services at zero routing fees.</td></tr><tr><td><a href="https://joltzrewards.com/">Joltz</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td>An innovative platform enabling businesses to reward end users with Bitcoin or Taproot Assets, replacing traditional points or airline miles.</td><td>Lnfi users can now seamlessly withdraw Taproot Assets directly to Joltz Wallet, the first self-custodial wallet for Taproot Assets.</td></tr><tr><td><a href="https://stroom.network/">Stroom</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td>Bitcoin Liquid Staking protocol that allows users to earn native $BTC yield on the Lightning Network (LN) by staking their $BTC with no lock-up periods.</td><td>Lnfi users can transfer their Bitcoins to participate in Stroom’s staking activities (when they are live on the mainnet).</td></tr><tr><td><a href="https://neutronpay.com/">Neutronpay</a></td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td>-</td><td>Neutronpay offers payment infrastructure for businesses, supporting payments, spending, and banking capabilities in over 20+ countries!</td><td>Lnfi users can off-ramp their assets easily into supported fiat with Neutronpay! (This requires KYC &#x26; account opening with Neutronpay)</td></tr><tr><td><a href="https://www.utxo.management/">UTXO Management</a></td><td>-</td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td>The investment partner of BTC Inc., which wholly owns the world’s largest Bitcoin media company and publisher of Bitcoin Magazine.</td><td>UTXO is joining the LN Alliance as a liquidity and research partner.</td></tr><tr><td><a href="https://www.apro.com/">APRO Oracle</a></td><td>-</td><td><a href="https://emojiguide.com/symbols/check-mark-button/">✅</a></td><td>First decentralized Oracle network designed specifically for Bitcoin ecosystem</td><td>To deliver the first-ever price oracle service on the Lightning Network.</td></tr></tbody></table>

## What is LN Ecosystem & LN Alliance?

Read:[ https://lnfinetwork.medium.com/launching-the-future-ln-ecosystem-and-ln-alliance-to-drive-bitcoin-lightning-network-adoption-and-3f186caaf951](https://lnfinetwork.medium.com/launching-the-future-ln-ecosystem-and-ln-alliance-to-drive-bitcoin-lightning-network-adoption-and-3f186caaf951)

***

## Join us today!

We invite visionary partners — whether you are developing on Lightning/Nostr, providing wallet solutions, or offering liquidity services — to join our LN Ecosystem and LN Alliance.

* **Opening a Direct Lightning Channel**

  Lightning applications can open a direct channel with Lnfi for seamless transfers of Bitcoins and Taproot Assets, and join the LN Ecosystem.
* **Tech Integration**

  Partners, e.g. wallet solutions, who wish to integrate our products/standards, such as LN Link, or want us to integrate their products/standards.
* **Media**

  Media partners such as news feed, KOLs, and content creators to jointly produce and publish content Media partners, including news feeds, KOLs, and content creators, to collaborate on producing and publishing content for LN Ecosystem and LN Alliance.
* **Liquidity**

  Liquidity partners, such as market makers and trading firms/funds, provide liquidity or trade on Lnfi.

Together, let’s build the largest and most dynamic decentralized ecosystem for the future.

\\


# Brand Kit

Lnfi Logo - Horizontal \[[Link](https://drive.google.com/drive/folders/1uWsyN1amoteOC3OyhyR52Jx-VMIdqsiO?usp=drive_link)]

Lnfi Logo - Square \[[Link](https://drive.google.com/drive/folders/1_G7oS39dTR-CQHnv05PoLnoNiNdt1gsz?usp=drive_link)]

***

### SVG

Lnfi Logo - Horizontal \[[Link](https://drive.google.com/drive/folders/1BiGrpGhvAX3kp5ogtmfWXCaHKv5jri2b?usp=sharing)]

Lnfi Logo - Square \[[Link](https://drive.google.com/drive/folders/1iaQhjX8Q8XTjIkW0IYxI13eO9ocMOLzx?usp=drive_link)]

***

### Banners

Lnfi Banners \[[Link](https://drive.google.com/drive/folders/1sGeW21cvGiZ8ZoNX7A8oUM9bJRnCYBZR?usp=sharing)]

### Brand Color

| <img src="/files/z0uIRyVjLnVUgYIJOfY0" alt="" data-size="original"> | <img src="/files/MLj7wcvYefRGf8MFj4NO" alt="" data-size="original"> | <img src="/files/Jrk7CP1VwDYS8bVclaeN" alt="" data-size="original"> |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| <img src="/files/Zk87hAr0BQg4bsWm9Cf3" alt="" data-size="original"> | <img src="/files/mAruUYBjZmYYOjrBu4S8" alt="" data-size="original"> | <img src="/files/trMM9kkZKAecO3vBD8CB" alt="" data-size="original"> |
| <img src="/files/zZF2JbqLP4bpFqdsAyLr" alt="" data-size="original"> |                                                                     |                                                                     |

***


# Terms of Use

Last updated July 12, 2025

These Terms of Uses (the "Agreement") explain the terms and conditions by which you may access and use the Products provided by the Lnfi development team (referred to herein as "Lnfi", "we", "our", or "us").<br>

The Products shall include, but are not necessarily limited to,

(a) <https://mainnet.lnfi.network/> and <https://app.ln.exchange/>, which are website-hosted user interfaces (the 'Interface' or 'App,' or jointly the 'Interfaces' or 'Apps'),

(b) LN Starter, (the "LN Starter"),

(c) LN Node, (the “LN Node”),

(d) LN Issue, (the “LN Issue”),

(e) any other products and services that link to this Agreement (together with the Interfaces, Apps, LN Starter, LN Node and LN Issue, the “Products”).<br>

You must read this Agreement carefully as it governs your use of the Products. By accessing or using any of the Products, you signify that you have read, understand, and agree to be bound by this Agreement in its entirety. If you do not agree, you are not authorized to access or use any of our Products and should not use our Products.<br>

To access or use any of our Products, you must be able to form a legally binding contract with us. Accordingly, you represent that you are at least the age of majority in your jurisdiction (e.g., 18 years old in the United States) and have the full right, power, and authority to enter into and comply with the terms and conditions of this Agreement on behalf of yourself and any company or legal entity for which you may access or use the Interfaces. If you are entering into this Agreement on behalf of an entity, you represent to us that you have the legal authority to bind such entity.<br>

You further represent that you are not (a) the subject of economic or trade sanctions administered or enforced by any governmental authority or otherwise designated on any list of prohibited or restricted parties (including but not limited to the list maintained by the Office of Foreign Assets Control of the U.S. Department of the Treasury) or (b) a citizen, resident, or organized in a jurisdiction or territory that is the subject of comprehensive country-wide, territory-wide, or regional economic sanctions by the United States. Finally, you represent that your access and use of any of our Products will fully comply with all applicable laws and regulations, and that you will not access or use any of our Products to conduct, promote, or otherwise facilitate any illegal activity.<br>

NOTICE: This Agreement contains important information, including a binding arbitration provision and a class action waiver, both of which impact your rights as to how disputes are resolved. Our Products are only available to you — and you should only access any of our Products — if you agree completely with these terms.

***

#### 1. OUR PRODUCTS

**1.1 THE INTERFACES**

Our interfaces consist of <https://mainnet.lnfi.network/> and <https://app.ln.exchange/>. The former is a frontend software portal to the Lnfi Network, an all-in-one financial layer that brings web3 and tokenization to Lightning Network with Taproot Assets and RGB assets (the “Protocol”). It enables users to seamlessly transfer tokens to others’ Nostr public addresses over Nostr at zero gas fees. Additionally, it includes features such as an address book for bookmarking users’ Nostr addresses, staking and locking tools, as well as a diverse array of financial products like Lightning Gift and Airdrop. The latter is a highly performant, vertically integrated exchange consisting of P2P Marketplace for illiquid trading, Spot Orderbook for liquid trading and Perpetual Orderbook for leveraged trading.<br>

To access the Interfaces, you must use a Nostr key, which allows you to interact with Nostr applications. By connecting your Nostr to our Interfaces, you agree to be bound by this Agreement and all of the terms incorporated herein by reference.<br>

All transactions conducted on the Protocol are currently managed on a custody basis, with a planned transition toward self-custody as part of our future roadmap. As the Protocol is accessible by any user, entity or third party, there may be a number of third-party web and mobile user-interfaces that allow for interaction with the Protocol. YOUR USE OF THE PRODUCTS ARE ENTIRELY AT YOUR OWN RISK.\ <br>

In addition, Taproot Assets and RGB assets represent emerging technologies that carry potential unknown and unforeseen risks. The ever-evolving nature of these technology mean that risks may exist that are not yet fully recognized or anticipated. These risks may encompass, but are not limited to Market Volatility. THE VALUE OF TAPROOT ASSETS and RGB ASSETS CAN EXPERIENCE SIGNIFICANT FLUCTUATIONS, LEADING TO POTENTIAL FINANCIAL LOSSES.

***

**1.2 LN Issue**

It enables users to easily issue Taproot Assets or RGB assets on Lnfi with minimal clicks. The issued assets are held in Lnfi’s custody which can then be used to transfer to other users on Lnfi, launch a campaign on LN Starter or trade on LN Exchange etc.

By issuing assets on Lnfi, you acknowledge and accept the fee structure and the underlying risks.

***

**1.3 LN STARTER**

It encompasses two flagship products — Launchpad and Launchpool. Launchpad empowers projects to seamlessly conduct public token offerings, fostering permissionless fundraising opportunities. Launchpool is dedicated to facilitating transparent, fair, and secure fair-minting of project tokens. Utilizing a lottery draw mechanism, Launchpool serves as a catalyst for bootstrapping vibrant communities while ensuring integrity and equity in the token distribution process.<br>

By launching a campaign on Lnfi, you acknowledge and accept the fee structure and the underlying risks.

***

**1.4 LN NODE**

LN Node is a service manager designed to help users deploy and operate Lightning Network nodes with varying levels of control and technical complexity. Users may opt for LN Node Lite (cloud-hosted) or LN Node Full (self-hosted or hardware-based), both offering different features, operational responsibilities, and reward mechanisms (such as channel mining).

By setting up or operating an LN Node through our platform, you acknowledge and accept:

* All applicable fees and operational responsibilities.
* The need to securely manage your Nostr keys and seed phrases.
* The inherent risks involved in node operation, Lightning Network interactions, and mining yield volatility.

Additional Terms Apply\
LN Node is subject to specific terms governing node licensing, types of services (Lite vs. Full), mining disclaimers, and hardware/cloud provisions. These terms are binding and must be reviewed in conjunction with this Agreement.

Please refer to the Annex A: LN Node - Additional Terms of Service for detailed information governing LN Node usage, limitations, and your obligations.

***

**1.5 ACCESS THROUGH THIRD-PARTY PROVIDERS**

We may make certain Products, including access to our APIs, liquidity services, and data, accessible or usable through interfaces, products or services provided by certain third party partners, such as exchanges and trading platforms (each a “Third Party Partners”). You agree that your use of the Products through an interface, product or service provided by one of our Third Party Partners is nonetheless still subject to the terms and conditions of this Agreement.

***

**1.6 OTHER PRODUCTS**

We may from time to time in the future offer additional products, and such additional products shall be considered a Product as used herein, regardless of whether such product is specifically defined in this Agreement.

***

#### 2. NO WARRANTIES

THE PRODUCTS are AVAILABLE ON AN “AS IS” BASIS WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.<br>

You assume all risks associated with using the Products, and digital assets and decentralized systems generally, including but not limited to, that: (a) digital assets are highly volatile; (b) using digital assets is inherently risky due to both features of such assets and the potential unauthorized acts of third parties; (c) you may not have ready access to assets; and (d) you may lose some or all of your tokens or other assets. You agree that you will have no recourse against anyone else for any losses due to the use of the Products. For example, these losses may arise from or relate to: (i) incorrect information; (ii) software or network failures; (iii) corrupted cryptocurrency wallet files; (iv) unauthorized access; (v) errors, mistakes, or inaccuracies; or (vi) third-party activities. Accordingly, you understand and agree to assume full responsibility for all of the risks of accessing and using the Products and interacting with the Protocol.

***

#### 3. DATA COLLECTION

The Products does not collect any personal data, and your interaction with the Protocol will solely be through your public digital wallet address. Any personal or other data that you may make available in connection with the Protocol may not be private or secure.

***

#### 4. PROHIBITED ACTIVITY

You agree not to engage in, or attempt to engage in, any of the following categories of prohibited activity in relation to your access and use of the Products:<br>

Intellectual Property Infringement. Activity that infringes on or violates any copyright, trademark, service mark, patent, right of publicity, right of privacy, or other proprietary or intellectual property rights under the law.<br>

Cyberattack. Activity that seeks to interfere with or compromise the integrity, security, or proper functioning of any computer, server, network, personal device, or other information technology system, including (but not limited to) the deployment of viruses and denial of service attacks.<br>

Fraud and Misrepresentation. Activity that seeks to defraud us or any other person or entity, including (but not limited to) providing any false, inaccurate, or misleading information in order to unlawfully obtain the property of another.<br>

Market Manipulation. Activity that violates any applicable law, rule, or regulation concerning the integrity of trading markets, including (but not limited to) the manipulative tactics commonly known as spoofing and wash trading.<br>

Any Other Unlawful Conduct. Activity that violates any applicable law, rule, or regulation.

***

#### 5. NO PROFESSIONAL ADVICE

All information provided by the Products is for informational purposes only and should not be construed as professional advice. You should not take, or refrain from taking, any action based on any information contained in the Products. Before you make any financial, legal, or other decisions involving the Products, you should seek independent professional advice from an individual who is licensed and qualified in the area for which such advice would be appropriate.

***

#### 6. ADDITIONAL PROGRAMS

Lnfi may, from time to time, in its sole discretion, make certain programs, special offers, challenges, bonuses, or other promotions available to participants. The terms and conditions applicable to any such special offers will be determined by Lnfi in its sole discretion and communicated to participants in conjunction with any such programs. Because any terms and conditions associated with any special offers may be different from or in addition to provisions of these Terms of Use, you should read any such additional terms and conditions carefully before participating in any program.

***

#### 7. LIMITATIONS, RESTRICTIONS, AND OTHER TERMS

Lnfi’s determinations of participant eligibility or any questions or disputes arising from anyone’s use of the Products or any other Lnfi rules or restrictions shall be final and binding and not subject to challenge or appeal.<br>

Without notice to you, Lnfi reserves the right to suspend or terminate your participation in any feature on the Products in its sole discretion, including if Lnfi determines or suspects that your use of the Products is unauthorized, deceptive, fraudulent, unlawful, or intentionally subverts the purposes of the Products.<br>

To the extent that Lnfi provides access to points or other similar promotional programs, your accumulation of points has no cash value. If you have a right to claim any rewards or other items in association with a promotional program, you may be subject to additional terms or conditions applicable to such claims process.<br>

You are responsible for paying all transaction fees associated with claiming any onchain asset including any token made available on the Protocol. “Transaction Fees” means the fees required to be paid to execute a transaction on the Protocol, sometimes known as “gas fees.”<br>

Transactions processed by the blockchain are irreversible. You acknowledge that any transaction you initiate by connecting your wallet to the Protocol using the Products may be irrevocable.<br>

Lnfi is not responsible for any problems or technical malfunction of any telephone, Internet or blockchain network or lines, online systems, servers, providers, computer equipment, software, or messaging platform, or as a result of technical problems or traffic congestion on the Internet, any website, or any application, or any combination thereof, including, without limitation, any resulting error in computing qualifying actions or any unavailability of Products features, or any injury or damage to any participant’s or any other person’s computer or mobile device related to or resulting from participation in features available through the Products. If, for any reason, the Products is not capable of running as planned, including due to errors of any kind or nature, infection by computer viruses, bugs, tampering, unauthorized intervention, fraud, technical failures, or any other causes beyond the control of Lnfi which corrupt or affect the administration, security, fairness, integrity, or proper conduct of the Products features, Lnfi reserves the right in its sole discretion to cancel, terminate, modify, or suspend the Products features or otherwise respond to the circumstances as Lnfi deems appropriate.\ <br>

***

#### 8. CHANGES TO ANY PROGRAM MADE AVAILABLE THROUGH THE INTERFACES

Lnfi reserves the right to change, update and/or discontinue, in whole or in part, either temporarily or permanently, any portion of the Products or any program made available through the Products and/or any policy, FAQ, guidelines, at any time in its sole discretion and without advance notice to you. Lnfi will not be liable to you in the event of any modification, suspension, or discontinuance of the Products or any features made available through the Products. Unless otherwise specified, any changes or modifications will be effective immediately upon posting the revisions to these Terms of Use, and you waive any right you may have to receive specific notice of such changes or modifications. If we change or modify these Terms of Use, we will revise the “last updated” date located at the top of these Terms of Use. If you continue to participate in the Products, including by receiving any promotional points, using points, or otherwise participating in the Products in any way after a change to these Terms of Use, you will be deemed to have read, understood, and unconditionally consented and agreed to such changes; therefore, you should review these Terms of Use and applicable policies and guidelines frequently to understand the terms and conditions that apply to your use of the Products. If you do not agree to the Terms of Use, you must stop using the Products.

***

#### 9. RELEASE OF CLAIMS

You expressly agree that you assume all risks in connection with your access and use of the Products and your interaction with the Protocol. You further expressly waive and release us from any and all liability, claims, causes of action, or damages arising from or in any way relating to your use of the Products and your interaction with the Protocol.

***

#### 10. INDEMNITY

You agree to hold harmless, release, defend, and indemnify us and our officers, directors, employees, contractors, agents, affiliates, and subsidiaries from and against all claims, damages, obligations, losses, liabilities, costs, and expenses arising from: (a) your access and use of the Products; (b) your violation of any term or condition of these terms of use, the right of any third party, or any other applicable law, rule, or regulation; and (c) any other party’s access and use of the Products with your assistance or using any device or account that you own or control.

***

#### 11. LIMITATION OF LIABILITY

Under no circumstances shall we or any of our officers, directors, employees, contractors, agents, affiliates, or subsidiaries be liable to you for any indirect, punitive, incidental, special, consequential, or exemplary damages, including (but not limited to) damages for loss of profits, goodwill, use, data, or other intangible property, arising out of or relating to any access or use of the Products, nor will we be responsible for any damage, loss, or injury resulting from hacking, tampering, or other unauthorized access or use of the Products or the information contained within it. We assume no liability or responsibility for any: (a) errors, mistakes, or inaccuracies of content; (b) personal injury or property damage, of any nature whatsoever, resulting from any access or use of the Products; (c) unauthorized access or use of any secure server or database in our control, or the use of any information or data stored therein; (d) interruption or cessation of function related to the Products; (e) bugs, viruses, trojan horses, or the like that may be transmitted to or through the Products; (f) errors or omissions in, or loss or damage incurred as a result of the use of, any content made available through the Products; and (g) the defamatory, offensive, or illegal conduct of any third party. Under no circumstances shall we or any of our officers, directors, employees, contractors, agents, affiliates, or subsidiaries be liable to you for any claims, proceedings, liabilities, obligations, damages, losses, or costs in an amount exceeding the amount you paid to us in exchange for access to and use of the Products, or $100.00, whichever is greater. This limitation of liability applies regardless of whether the alleged liability is based on contract, tort, negligence, strict liability, or any other basis, and even if we have been advised of the possibility of such liability. Some jurisdictions do not allow the exclusion of certain warranties or the limitation or exclusion of certain liabilities and damages. Accordingly, some of the disclaimers and limitations set forth in this Agreement may not apply to you. This limitation of liability shall apply to the fullest extent permitted by law.

***

#### 12. GOVERNING LAW AND FORUM CHOICE/CLASS ACTION WAIVER

These Terms of Use and any action related thereto will be governed by, and all disputes arising under, relating to, or in connection with these Terms shall be resolved in accordance with, the laws of Singapore, without regard to the conflicts of law provisions of such jurisdiction.<br>

All disputes arising out of or in connection with the Products or otherwise in connection with this Agreement shall be finally settled under the Rules of Arbitration of the International Chamber of Commerce by one arbitrator appointed in accordance with the said Rules. The rules are available at the iccwbo.org website (<https://iccwbo.org/dispute-resolution-services/arbitration/rules-of-arbitration/> or such updated link). The place of arbitration shall be Singapore. The language of the arbitration shall be English. Judgment on the award rendered by the arbitrator(s) may be entered by any court having jurisdiction thereof or having jurisdiction over the relevant party or its assets.\ <br>

Any claim or dispute arising under these Terms will take place on an individual basis without resort to any form of class or representative action (the “Class Action Waiver”). THE CLASS ACTION WAIVER PRECLUDES YOU FROM PARTICIPATING IN OR BEING REPRESENTED IN ANY CLASS ARBITRATION, CLASS ACTION OR ANY OTHER TYPE OF REPRESENTATIVE PROCEEDING WITH RESPECT TO THE SERVICES OR THIS AGREEMENT. YOU AGREE TO NO CLASS ARBITRATION OR ARBITRATION IN WHICH AN INDIVIDUAL ATTEMPTS TO RESOLVE ANY DISPUTE AS A REPRESENTATIVE OF ANOTHER INDIVIDUAL OR GROUP OF INDIVIDUALS. FURTHER, ANY DISPUTE CANNOT BE BROUGHT AS A CLASS OR OTHER TYPE OF REPRESENTATIVE ACTION, WHETHER WITHIN OR OUTSIDE OF ARBITRATION, OR ON BEHALF OF ANY OTHER INDIVIDUAL OR GROUP OF INDIVIDUALS. Regardless of anything else in these Terms to the contrary, the validity and effect of the Class Action Waiver may be determined only by an arbitrator or arbitrators, not by a court or referee. You hereby waive any objection based on forum non conveniens, and you waive personal service of any and all processes.

***

#### Annex A: LN Node - Additional Terms of Service

This Annex forms an integral part of the Lnfi Terms of Use and applies specifically to your use of LN Node. By accessing or using LN Node, you agree to the provisions outlined below in addition to the general Terms of Use.

#### A.1 Node Types and Licensing

LN Node offers two node types:

* LN Node Lite: A cloud-hosted node with limited functionality, designed for convenience and accessibility. Ideal for users without technical expertise.
* LN Node Full: A self-hosted or hardware-deployed node providing complete control and advanced capabilities, including Taproot Asset support, AI optimization, and mining features.

Users are solely responsible for managing their LN Node credentials and backups, including Nostr keys and seed phrases. Lnfi assumes no liability for losses resulting from the mismanagement of user-controlled nodes.

#### A.2 Channel Mining and Rewards

Channel mining rewards are variable and depend on network conditions, system performance, and market dynamics. Rewards may be changed or discontinued without notice.\
Lnfi does not guarantee any specific reward level and is not liable for actual or perceived losses related to channel mining activities.

#### A.3 Fees and Costs

LN Node services may involve:

* One-time or recurring fees based on the selected node type.
* Additional charges for optional features, including AI node management, Taproot Asset operations, and liquidity routing services.<br>

Fee schedules are subject to change at Lnfi’s discretion.

#### A.4 Hardware Responsibility

Users operating hardware-based nodes are responsible for:

* Setup, ongoing maintenance, backups, and uptime.
* Ensuring secure physical and network environments.

Lnfi disclaims liability for hardware failure due to mishandling or incidents occurring outside the warranty period.

#### A.5 Security Responsibilities

LN Node employs standard security practices, but users are fully responsible for protecting their own private keys, seed phrases, and credentials. Losses arising from user error or compromised access credentials are solely the user's responsibility.

#### A.6 Service Updates and Modifications

Lnfi reserves the right to modify, suspend, or discontinue any LN Node features or services at its sole discretion and without prior notice. Continued use of LN Node after such modifications constitutes your acceptance of the changes.

#### A.7 Dispute Resolution

Any disputes arising from the use of LN Node shall be resolved in accordance with the arbitration terms and governing law set forth in Section 12 of the Lnfi Terms of Use.

#### A.8 User Acknowledgment

By using LN Node, you acknowledge and agree that:

* You fully understand the operational risks involved.
* You accept all responsibility for managing your node, credentials, and hardware.
* You release Lnfi from any and all liability related to node operation, mining fluctuations, or service disruptions.


# API

## LNAPI - Lnfi Network API Guide

Link to Github: <https://github.com/lnfi-network/naapi>

## Introduction

Lnfi Network API (LNAPI) is a powerful SDK library developed on Nostr. It enables developers to interact with various functionalities such as querying transactions, balances, and token events effortlessly.

## Features

* Query Transactions
* Check Balance
* Retrieve Token Lists
* Get Allowance
* Fetch Funding Records
* Access Token Events
* Retrieve Market-Related Information
* Explore Fairmint Functionalities
* Manage Locks

***

## Support Method List

### LNAPI.assets

* `getBalance(owner)`

  Retrieve the balance for a specified owner (npub address)
* `getTokenList()`

  Get a list of tokens
* `getAllowance()`\
  Check the allowance. (asset quantity authorized to another npub address such as operator/marketplace etc)
* `getFundingRecords()`

  Fetch funding records (Send / Receive history)
* `getTokenEvents()`

  Access token events such as Asset Transfers, Approve, etc
* `getHolders()`

  Retrieve the token holders list
* `getHolder()`

  Retrieve token holder information
* `getHolderSummary()`

  Retrieve summary of a token holder
* `getPayeeList()`

  Get a list of approved withdrawal channels

### LNAPI.markets

* `getMarketTokenList()`

  Retrieve tokens available in the market.
* `getMarketOrderListing()`

  Get order listing(s) for a market.
* `getOrderHistory()`

  Retrieve order history.
* `getMarketMyOrder()`

  Retrieve orders for a user.

### LNAPI.fairmint

{% hint style="info" %}
Reference: [Lightning Starter Fairmint](/products/ln-starter)
{% endhint %}

* `getHoroscopeList()`

  Retrieve horoscope launch pool list.
* `getActivity()`

  Get user activity.
* `getUserInfo()`

  Retrieve user information.
* `getUserList()`

  Get user list.
* `getRankingSummary()`

  Retrieve ranking summary.
* `getSearchRanking()`

  Get search ranking.
* `getBlockList()`

  Retrieve block list.
* `getBlockUserList()`

  Get block user list.

### LNAPI.lock

{% hint style="info" %}
Reference: [Lock Assets](/products/lock-assets)
{% endhint %}

* `getLockList()`: Retrieve lock list.

***

## Setup

To start using LNAPI SDK in your React project, follow these simple steps:

## Installation

Using yarn, run the following command to install the LNAPI SDK:

```bash
yarn add lnapi
```

#### Code Integration

```javascript
import { useCallback } from 'react';
import LNAPI from 'naapi';

const naapi = new LNAPI('https://market-api.nostrassets.com'); // Replace with appropriate URL

const onQueryBalance = useCallback(async () => {
    const res = await lnapi.assets.getBalance(owner);
}, []);

return (
    <>
        {/* Your code here */}
    </>
);

```

### Conclusion

With the LNAPI SDK, developers can seamlessly integrate various functionalities of the Lnfi into their applications. Start building innovative solutions today!


# SDK

## LNSDK SDK Guide

Link to Github: <https://github.com/lnfi-network/nasdk>

## Introduction

Welcome to the LNSDK (Lnfi Network SDK) guide! LNSDK is an SDK library developed on Nostr. It facilitates connecting plugin wallets supporting Nostr, executing transactions, and managing orders seamlessly.

## Features

* Connect plugin wallets supporting Nostr
* Execute transactions
* Place orders in the market

***

## Support Method List

### lnsdk

* `getConfig()`: Retrieve configuration.
* `getNostrPool()`: Get information about the Nostr pool.

### lnsdk.market

* `listOrder(options)`: List orders in the market.
* `takeOrder(orderId)`: Take an order in the market.
* `cancelOrder(orderId)`: Cancel an order in the market.
* `repairOrder(orderId, amount, price, buyOrSellTokenName, payTokenName)`: Repair an order in the market.

### lnsdk.token

* `approve(options)`: Approve token transfer.
* `transfer(options)`: Transfer tokens.
* `addAddressBook(options)`: Add an address to the address book.
* `deposit(options)`: Deposit tokens.
* `withdraw(options)`: Withdraw tokens.

### lnsdk.provider

* `supportedProviderList`: Retrieve a list of supported providers.
* `connect(providerName)`: Connect to a provider.
* `getProvider(providerName)`: Get information about a provider.

#### lnsdk.utils

* `nip04()`: NIP04 utilities.
* `nip19()`: NIP19 utilities.
* `generatePrivateKey()`: Generate a private key.
* `getPublicKey(privateKey)`: Get a public key from a private key.
* `getEventHash(event)`: Get the hash of an event.

***

## Setup

### React

**Install**

```
yarn add nasdk

//import bolt11min.js to public/index.html through script src
<script src=`${yourpath}/bolt11.min.js``></script>
```

**Code**

```javascript
import {useCallback} from 'react
import NASDK from 'lnsdk'
const lnsdk = new LNSDK({ env: 'development'}) // env: development | production
const onTransfer = useCallback(async()=>{
    const res = await lnsdk.token.transfer({ tokenName: 'NOSTR', amount: 1, to: 'npub1zptcf2v9ms5dgd8mgulsckk04l9upr3lnerk6ckh9zyntzu0ness753zx8' })
},[])
return <>
{your code}
</>


```

***

### Node.js

**Installation**

```
yarn add websocket-polyfill bolt11 nasdk
```

**Code**

```javascript
import 'websocket-polyfill'
import 'bolt11'
import LNSDK from 'lnsdk'

const privateKey='45d914aef9c2f85a47b242ef684245c02e0af93d6f9031fcc3444ede8ac0a295'
const lnsdk = new LNSDK({ env: 'development', privateKey, poolOptions:{getTimeout:10*1000} })

 const res = await nasdk.market.listOrder({ side:'sell',amount:'100',price:'101',buyOrSellTokenName:'TRICK',payTokenName:'SATS'})

 // You can see more examples in the tests directory
```

#### HTML

```html
<scrpt src=`${youpath}/nasdk.umd.js`>
<script src=`${yourpath}/bolt11.min.js``></script>
<script>
     const lnsdk = new LNSDK({ env: 'development' })
     const supportedProviderNames = Object.keys(lnsdk.provider.supportedProviderList)
     async function onConnect(providerName='alby') {
        const res = await lnsdk.provider.connect(providerName)
     }
</script>
```

## Example

Check out examples in the `src/tests` directory.

## Running Tests

To run the test suite:

```bash
yarn node --experimental-vm-modules $(yarn bin jest) --detectOpenHandles
```

***

Start integrating NASDK into your project and unlock the potential of the NOSTR ASSET protocol!


