OKX Wallet
How to use Lnfi Network with OKX Wallet?
How to get a Nostr Address with OKX wallet?
Create a new wallet, or "Import and Existing Wallet".
Tap on the copy button shown on the screenshot.

Enter "Nostr" into the search bar.
The text beginning with "npub" is your Nostr address linked to this current OKX account.

How to retrieve your Nostr Private Key?
For security reasons, never reveal or give your Nostr Private Key to anyone.
Tap on the 9-dot grid on the top left.

Tap on [Backups].

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

Tap on [Private key].

Search for "Nostr" and tap on copy to get the private key
How to connect to Lnfi?
Tap on [Connect Nostr] on the top right, then select [OKX Wallet].

Once connected, you can view your npub address displayed.

How to Deposit to Lnfi from OKX?
In this deposit scenario, your Nostr address on Lnfi functions as the receiver, while your OKX account serves as the sender.
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:
Go to Lnfi Asset Dashboard, tap on [Deposit].

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

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

Head over to your OKX account. Go to Funding > Withdrawal. Select [BTC]

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

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

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?
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:
Go to OKX > Funding > Deposit.
Select [BTC] for the deposit, and select [Lightning] for the network.

Input the [Deposit amount] and tap on [Create Invoice]

A Lightning Invoice will be generated. Tap on [Copy] to copy the Invoice ID.

Head over to Lnfi > Assets > select [Withdraw]

Paste the Invoice ID

Check the Send Amount. Once confirmed, tap on [Withdraw]

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.
Last updated