{"id":3151,"date":"2021-07-13T13:51:36","date_gmt":"2021-07-13T11:51:36","guid":{"rendered":"https:\/\/coincharge.os24.work\/accept-payments-with-btcpay-lightning\/"},"modified":"2021-07-27T21:34:28","modified_gmt":"2021-07-27T19:34:28","slug":"accept-lightning-payments-with-btcpay","status":"publish","type":"post","link":"https:\/\/coincharge.io\/en\/accept-lightning-payments-with-btcpay\/","title":{"rendered":"Accept Lightning payments with BTCPay"},"content":{"rendered":"<div class=\"wpb-content-wrapper\">[vc_row][vc_column][vc_row_inner][vc_column_inner][vc_column_text]In this article you will learn how to accept Lightning payments with BTCPay. With the help of Bitcoin Lightning, payments can be realized for a few cents. It is even possible to implement prices as nanopayments. These would be prices of a few satoshi, which is the equivalent of less than a cent.<\/p>\n<p>To accept Lightning payments for a few cents with BTCPay, it is necessary to operate a standalone Lightning Node.<\/p>\n<p>If you run your own BTCPay Server <a class=\"rank-math-link\" href=\"https:\/\/coincharge.io\/en\/lunanode-hosting\/\">Lunanode<\/a>, then a Lightning Node is already set up. You can receive Lightning payments and Bitcoin payments with BTCPay.<\/p>\n<p>When setting up the BTCPay server at LunaNode, you will be asked during installation which Lightning implementation you want to use. You can choose from the following implementations:[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_row_inner][vc_column_inner][vc_column_text]\n<h2>Lightning implementations<\/h2>\n<p>There are several Lightning implementations that have been involved with the development of the Lightning network as open source software.<\/p>\n<p>On the one hand, from the company Blockstream the implementation <strong>c-lightning<\/strong>, which is developed in C.<\/p>\n<p>Then the implementation <strong>lnd<\/strong>from the company Lightning Labs, which is implemented in the language Go.<\/p>\n<p>Then there is an implementation in Scala called <strong>eclair<\/strong>from the French company ACINQ, which is available as a mobile wallet for Android devices, among other things.<\/p>\n<p>When operating your own lightning node, there are two implementations to choose from, LND and c-lightning. Only one version can be installed per BTCPay server. So you have to decide.<\/p>\n<p>Depending on which implementation you choose, different applications are possible. So it depends on what business model the Lightning payment will be used for.[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_row_inner][vc_column_inner][vc_column_text]\n<h3>LND<\/h3>\n<p>The most widely used Lightning implementation is from LND. The abbreviation LND stands for Lightning Network Daemon and is a product of the company Lightning Labs.<\/p>\n<p>Based on LND, the following applications for micropayments have been implemented here:<\/p>\n<ul>\n<li><a class=\"rank-math-link\" href=\"https:\/\/demo.coincharge.io\/apps\/44QMnWyQ2iV3SspbmiPnf1esS6T\/crowdfund\">Voting system<\/a><\/li>\n<li><a class=\"rank-math-link\" href=\"https:\/\/store.coincharge.io\/\">Donation System with WooCommerce Shop System<\/a><\/li>\n<\/ul>\n<p>If you want to offer Lightning payments in your WooCommerce online store, use the plugin <strong>BTCPay for Woocommerce<\/strong>, which you can find directly via the plugin search.[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_row_inner][vc_column_inner][vc_column_text]\n<h3>C-Lightning<\/h3>\n<p>The other Lightning implementation is C-Lightning from the company Blockstream. From the company Blockstream there is the tool Lightning Charge for C-Lightning.<\/p>\n<p>In combination with a Lightning Node from C-Lightning and the use of Lightning Charge, as well as the use of WooCommerce Pluging for WordPress, new digital business models can be realized, where the customer pays for products for a few cents.<\/p>\n<p>Such business models can be:<\/p>\n<ul>\n<li>Settlement of paywalls and payment barriers<\/li>\n<li>Payment per newspaper article, news, video as pay-per-view<\/li>\n<li>Pay per music downloads, music tracks, images, software as pay per download.<\/li>\n<li>Payment as donation, support and allowance for artists, YouTubers, bloggers and influencers<\/li>\n<li>Payment as an additional function in a game<\/li>\n<\/ul>\n[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_row_inner][vc_column_inner][vc_column_text]\n<h4>Lightning applications (LApps)<\/h4>\n<p>The various applications that can be realized on the basis of Lightning Charge are referred to as LApps at C-Lightning.<\/p>\n<p>An overview of all LApps based on c-lightning \/ Lightning Charge can be found here:<\/p>\n<p><a href=\"https:\/\/blockstream.com\/2018\/03\/29\/en-blockstreams-week-of-lapps-ends\/\" target=\"_blank\" rel=\"noopener\">https:\/\/blockstream.com\/2018\/03\/29\/en-blockstreams-week-of-lapps-ends\/<\/a><\/p>\n<p>For the use of the LApps are required:<\/p>\n<ul>\n<li>Own BTCPay server<\/li>\n<li>Lightning Node<\/li>\n<li>C-Lightning implementation<\/li>\n<li>Lightning Charge<\/li>\n<li>WordPress with WooCommerce plugin<\/li>\n<\/ul>\n<p>If you want to offer Lightning payments in your WooCommerce online store, use the <strong>Woocommerce Lightning Gateway<\/strong> plugin. This plugin can only be downloaded from the <a class=\"rank-math-link\" href=\"https:\/\/github.com\/ElementsProject\/woocommerce-gateway-lightning\" target=\"_blank\" rel=\"noopener\">Github page<\/a>. After that, the zip file must be installed via the <strong>upload plugin<\/strong> function at WordPress.[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_row_inner][vc_column_inner][vc_column_text]\n<h2>C-Lightning settings at BTCPay<\/h2>\n<p>If C-lightning is properly connected to the BTCPay server, you will find the following view under Server Settings and Services:[\/vc_column_text][vc_single_image image=&#8221;3156&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]\n<p style=\"text-align: center;\">C-Lightning Server Settings<\/p>\n<p>So you can use the following applications:[\/vc_column_text][vc_single_image image=&#8221;3154&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]\n<p style=\"text-align: center;\">Overview C-Lightning applications<\/p>\n<p>An English video about the different LApps applications based on Lightning Charge can be found at: <a href=\"https:\/\/www.youtube.com\/watch?v=6EHNq1anD1k\" target=\"_blank\" rel=\"noopener\">https:\/\/www.youtube.com\/watch?v=6EHNq1anD1k<\/a><\/p>\n<p>Description and application examples can be found in separate articles:<\/p>\n<p><a href=\"https:\/\/coincharge.io\/en\/payment-per-newspaper-article-with-bitcoin-lightning\/\">Payment per newspaper article, news, video as pay-per-view<\/a><br \/>\n<a href=\"https:\/\/coincharge.io\/zahlung-pro-download-mit-bitcoin-lightning\/\">Pay per music downloads, music tracks, images, software as pay per download.<\/a><br \/>\nPayment as donation, support and allowance for artists, YouTubers, bloggers and influencers<br \/>\nPayment as an additional function in a game<\/p>\n<p>How to set up Lightning payments with BTCPay, you will learn in the article: <a href=\"https:\/\/coincharge.io\/en\/set-up-btcpay-lightning\/\">BTCPay Lightning payments in the BTCPay store set up<\/a>.[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row]\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_row_inner][vc_column_inner][vc_column_text]In this article you will learn how to accept Lightning payments with BTCPay. With the help of Bitcoin Lightning, payments [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[52,25],"tags":[],"class_list":["post-3151","post","type-post","status-publish","format-standard","hentry","category-btcpay-en","category-bitcoin"],"_links":{"self":[{"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/posts\/3151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/comments?post=3151"}],"version-history":[{"count":21,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/posts\/3151\/revisions"}],"predecessor-version":[{"id":5307,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/posts\/3151\/revisions\/5307"}],"wp:attachment":[{"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/media?parent=3151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/categories?post=3151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/tags?post=3151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}