# ⭕ Overview

AIFI 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.

The AIFI 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. AIFI Network builds the essential decentralised application layer atop Lightning, unlocking three transformative capabilities:

* 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.

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

The Proof: AIFI Exchange

Consider AIFI Exchange, AIFI order book DEX. Here's the AIFI advantage in action:

* **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 AIFI 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** AIFI **, 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. AIFI provides the essential settlement layer and asset flexibility.

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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aifioft.app/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
