This content was deleted by the author. You can see it from Blockchain History logs.

How to send and receive Bitcoin payments via the Lightning Network on Android

Today I have decided to find out how far we are in the development of the Lightning Network (LN) and if the LN is already usable for 'normal' people.

Let's start with some prerequisites first:

  1. By 'normal' people I think people who own Bitcoin and know how to send a Bitcoin transaction.
  2. You need to have an Android phone.
  3. And that's it!

My goal was to create two LN nodes and be able to send transactions between them. To try what's out there I found and installed two LN-ready bitcoin wallets. First Eclair Wallet and second Bitcoin Lightning Wallet. Now I know that Eclair wallet can be used only for outgoing LN transactions (so far) and Bitcoin Lightning Wallet can handle both.

So let's get you involved:

(1) Install the two wallets.

(2) Back up the seeds!

(3) Send at least 0.0011 BTC (110000 Satoshi) to Eclair Wallet

(You need 100000 Satoshi to open a new LN channel in Eclair Wallet.)
yourBitcoinAdressSmall.jpg
Use your own address!

TIP: I use Google Keep to share addresses between Android and Desktop

(4) Send at least 0.0031 BTC (310000 Satoshi) to Bitcoin Lightning Wallet

(You need 300000 Satoshi to open a new LN channel in Bitcoin Lightning Wallet)
receiveBitcoin.jpg

(5) Open a new LN channel in Eclair Wallet

  1. Connect to ACINQ node. (It is the easy way, but if you want to connect to another node you can visit LN explorer and click on any node there and copy paste its URI to the wallet.) ACINQ is a company developing LN (eclair implementation).
  2. Fill 100000 (or 0.001) into channel capacity field (default unit is BTC but I changed it to Satoshi [sat] in settings) and keep the rest 10000 sat to pay the fees
  3. Click on "Open"

eclair_creatingChannel.jpg

(6) Open a new LN channel in Bitcoin Lightning Wallet

The wallet will automatically send 1000 sat to Olympus server (a helper service for Lightning stuff) more info is here
1. Connect to ACINQ node again.
2. Fill 300000 into channel capacity field and keep the rest 10000 sat to pay the fees
3. Click on "NEXT"
lightningWallet_openChannel.jpg

(7) Wait for 3 confirmations to send funds and for 6 confirmations to receive funds (yeah it will take an hour)

(8) While you are waiting look here for the sites accepting LN payments

(9) Within half an hour 3 confirmations are complete and channels are open

First we are going to focus on Bitcoin Lightning Wallet. In order to receive Lightning payments, some conditions must be met. The important thing for us is that over 2% of the funds must be spent to make receiving possible (read more details here). By spending some funds, 'room' for incoming funds is made. In our case we must spent over 6000 sat, 1000 sat was already spent for Olympic server services so let's spend some more.

I have chosen three services accepting LN payments:

Quote From Me

Quotefrom.me is a service to share your wisdom or simply to try the LN in practice. You pay 1337 sat for a post and then you can share it via Twitter. Awesome!

  1. Write your quote and click "Add"
    quoteFromMe.PNG
  2. Scan the LN invoice and pay
    sendingPayment.jpg

Payment is instant!

Lightning Conductor

Lightningconductor.net is a great service to transfer funds between LN channel and Bitcoin address. Thanks to this we don't have to spend those funds (to make a room for incoming funds) but transfer them back to our Bitcoin address.

  1. Fill your Bitcoin address and the amount you want to transferLightningConductor.PNG
  2. Scan the LN invoice and pay

Bitcoin appeared almost instantly in my wallet!
conductorTransactions.jpg

Lightning Spin

I couldn't help my gambling heart! Lightningspin.com is a bitcoin gambling game that lives on top of the LN. It is the best for experimenting with the LN. You can send instant micro-transactions repeatedly and when you win you create your own LN invoice to receive the winnings.

  1. Choose your wager and target
    LightningSpin.PNG
  2. Click on Spin button
  3. Scan and Pay
  4. Repeat until you win
  5. I wish you a better luck than I had!
    spins.png
  6. Receive the winnings
    LightningSpinWin.jpg
    1. Create an invoice
      receivingPayment.jpg
    2. Paste the invoice to the field on the Lightning Spin website
    3. Send the payment

Payment is received instantly!
Awesome! Awesome! Awesome!

(10) We have spent enough funds already so now we can open Eclair Wallet and try to send really tiny amounts of Bitcoin.

  1. To send amounts like 1 sat you will have to go to settings and disable "Cap Lightning fees"
  2. Open Bitcoin Lightning Wallet and click on "Receive funds" -> "Lightning payment"
  3. Fill 1 sat and click "OK"
  4. Tap on QR code to copy the invoice
  5. Open Eclair Wallet and click on "PASTE A PAYMENT REQUEST"
  6. Pay

tinyPayments.jpg

I paid 2 sat in total. The additional 1 sat was paid as a routing fee. Payment was settled instantly!

Conclusion

It has been so fun! Honestly, I am very surprised how easy it is to use the Lightning Network on Android. Well done!