# 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="https://234049135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtqpzBLUkh19rkHwMxgKf%2Fuploads%2Fgit-blob-30aaadcf98a55e4bc812890599dc0ab765734d77%2Fimage%20(354).png?alt=media" 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 %}

\\
