# 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.md)]\
**TokenPocket:** \[[User Guide](/user-guides/getting-started/npub-and-wallets/token-pocket-users.md)]

<br>


---

# 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.lnfi.network/user-guides/getting-started/npub-and-wallets.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.
