How to send and receive Bitcoin payments via the Lightning Network on Android
Today I have decided to explore how far we are in the development of the Lightning Network (LN) and to find out if 'normal' people can use it too.
Let's start with some prerequisites first:
- By 'normal' people I think people who own Bitcoin and know how to send a Bitcoin transaction.
- You need to have an Android phone.
- And that's it!
My goal was to create two LN nodes so I could send transactions between them. To try what's out there I found and installed two LN-ready bitcoin wallets. The first is Eclair Wallet and the other is 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. I recommend you to go through the Eclair Wallet's FAQ and the Bitcoin Lightning Wallet's website to avoid potential problems.
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 plus 10000 Satoshi to have some budget for miner fees.
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 plus 10000 Satoshi to have some budget for miner fees.
(5) Open a new LN channel in Eclair Wallet
- Connect to ACINQ node. (This 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.) By the way, ACINQ is a company developing LN (eclair implementation).
- Fill 100000 (or 0.001) into channel capacity field (default unit is BTC but I changed it to Satoshi [sat] in settings)
- Click on "Open"
(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
3. Click on "NEXT"
4. Choose the fee and pay
(7) Wait for 3 confirmations to be able to send funds and for 6 confirmations to be able 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 should be complete and LN channels should be ready to use
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 spend over 6000 sat, 1000 sat was already spent on 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!
Write your quote and click "Add"
Scan the LN invoice and pay
Payment is accepted immediately! And you can share the wisdom on Twitter like me:
"Discipline must be a habit so ingrained that it is stronger than the excitement of the goal or the fear of failure." - Gary Ryan Blair #Leetning #QuoteFromMe #LightningNetwork #InteractWithLightning via @leetning
Try And Thrive⚡ (@tryandthrive) August 3, 2018
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.
Fill your Bitcoin address and the amount you want to transfer
Scan the LN invoice and pay
Bitcoin appeared in my wallet almost instantly!
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.
Choose your wager and target
Click on "Spin" button
Scan and Pay
Repeat until you win
I wish you a better luck than I had!
To receive the winnings click on "Withdraw"
Create an invoice
Paste the invoice to the field on the Lightning Spin website
Withdraw your winnings
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.
- To send amounts like 1 sat you will have to go to settings and disable "Cap Lightning fees"
- Open Bitcoin Lightning Wallet and click on "Receive funds" -> "Lightning payment"
- Fill 1 sat and click "OK"
- Tap on QR code to copy the invoice
- Open Eclair Wallet and click on "PASTE A PAYMENT REQUEST"
- Pay
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!
Thank you for your post. :) I have voted for you: 🎁! To call me just write @contentvoter in a comment.
Thank you for your vote @contentvoter!
Very complex for me. Lightning network is supposed to be very inexpensive and quick. According to what I just read it is very difficult to process. I do not understand how a basic person like me can make a payment through an android device following these instructions. It is just very complex.
Thank you for your comment @caranax! After you open the Lightning Network channel then Lightning Network payments are instant and very very inexpensive. To open the LN channel you have to send required amount of Bitcoin to your LN node. This cost and take time like a normal Bitcoin transaction. When you decide to close the LN channel, the Bitcoin balance on your LN node will be transferred back to your wallet. I think if you will follow the steps you should be able to make a LN payment but of course the Bitcoin and Lightning Network are very complex technologies. Good luck!
Very good article nuce information
Posted using Partiko Android
Thank you @dipom98!
Congratulations @tryandthrive! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes received
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
@tryandthrive, I do not understand anything written
Hello @surikowstepanuk! Thank you for your comment. Is it not understandable from technical point of view?
This post was resteemed by @steemvote and received a 99.6% Upvote. Send 0.5 SBD or STEEM to @steemvote
NEW TIER UPVOTES user guide
Current price is 0.150 or 0.151 SBD for 200%, 250%, or 300% upvote based on tier level.
200% ($0.30) - Bronze Level - No requirements
250% ($0.37) - Silver Level - SteemAuto Upvote of 100% or $0.02 (whichever is possible)
300% ($0.45) - Gold Level - SteemAuto Upvote of 100% or $0.02 AND 50 SP delegation
50 SP --- 100 SP --- 200 SP --- 500 SP --- 1000 SP
That being said...
Investors who delegate SP to @thundercurator are entitled to 75% of @thundercurator income after curation. Get on-board early and grow with us!