OKX Wallet
How to use Lnfi Network with OKX Wallet?
Last updated
How to use Lnfi Network with OKX Wallet?
Last updated
Create a new wallet, or "Import and Existing Wallet".
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.
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.
Important Note: If you create another OKX account, you will receive another Nostr Address.
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
Tap on [Connect Nostr] on the top right, then select [OKX Wallet].
Once connected, you can view your npub address displayed.
Depositing assets on Lnfi works slightly differently from other blockchains.
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.
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].
Currently only SATS is supported. SATS is the minimum unit of BTC, 100 million SATS=1 BTC. It is essentially BTC, not BRC20 SATS.
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.
Withdrawing assets from Lnfi works slightly differently compared to other blockchains.
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.
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]
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.
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.