Lightning over NFC



Summary:

Igor Cota, a developer, is experimenting with the Lightning network for retail payments. He has set up an instance of c-lightning on Android and experimented with payments via NFC. There are two basic ways to use NFC enabled phones today - as passive tag readers or in card emulation mode. The latter enables two-way communication and therefore an ad hoc connection to the lightning network. After some handshaking, phone can tell the terminal that it wants to connect to lightning via NFC. All communication between these two lightning nodes can be done over NFC or even Bluetooth. A MIME type(application/lightning) and an NFC application id (LIGHTNING) have been settled on along with a simple protocol to forward socket data. It would be great if standards could be agreed upon for interoperability. In response to Corné Plooy's suggestion for a set-up where payer has an authenticated connection to a trusted server through the Internet connection provided by payee, ZmnSCPxj suggests communicating over a secure channel to a trusted server is how he imagines most practical mobile devices would work. But what the payment terminal would provide, would not be a connection to the payment terminal node, but a connection to the Internet-in-general. The trusted server can, for instance, be a full Lightning node running at the payer's home.ZmnSCPxj queries whether there needs to be a direct channel between payer and payee, and notes that initiating a payment to anyone on the network requires direct communication with whoever you have a direct channel to. If the mobile device can communicate only with the payment terminal, then it can only pay using channels with the only node it has a connection to. The payer then needs to somehow get blockchain information from the payee if the payer itself has no Internet. Igor responds that the payer will need a direct channel to the payee, or at least the payment terminal of the payee for instantaneous payments. However, he feels that the trusted server can be a full Lightning node running at the payer's home.


Updated on: 2023-05-24T22:46:03.570070+00:00