Paypercall Shows the Full Power of Lightning Charge

FileBazaar and Lightning Publisher for WordPress empower creators, while nanotip brings tip jars to the Lightning Network.

Paypercall Shows the Full Power of Lightning Charge

Blockstream’s week of Lightning Charge LApps has already revealed powerful new utilities for web developers: FileBazaar and Lightning Publisher for WordPress empower creators, while nanotip brings tip jars to the Lightning Network. However, Lightning Charge can also be used to create LApps that give the developer unbounded creativity, as shown by paypercall, the most flexible of our LApps to date.

Paypercall fulfills the long-held promise of a next-generation web of micropayments, where web developers can request payments for specific, programmatic API actions. Want to require a micropayment when a user sends an SMS? Want to offer image processing services for a microfee? Paypercall allows developers to do so, and with Lightning’s instant payments, it enables instantaneous access to an API’s functionality.

Node.js programmers can access paypercall directly as an express middleware that requires payments to the developer’s Lightning Charge server before it allows API requests to pass through. Other developers can run paypercall as a reverse proxy, which similarly intercepts service calls until payments have been made.

An example of paying per SMS.

For users, the experience is simple: if they want to take advantage of a paypercall Lightning Charge service, they simply access the developer’s URL to create a Lightning Network invoice, and after they pay it, they can make their function call, running the service that the developer is providing.

Of the Lightning Charge LApps that Blockstream is rolling out this week, paypercall may be the most exciting, because anything is possible. It could be the foundation of an entirely new class of services on the internet! We look forward to seeing what services developers put into testing, as the Lightning Network moves toward production.

We invite you to give paypercall a try. Use it to experiment with combining c-lightning and Lightning Charge on testnet to collect micropayments for content or services, in preparation for the c-lightning beta release; or test drive it to get a feel for how to use Lightning Charge. All that you need to get started is a testnet node, a Lightning Charge server, and the paypercall LApp.

Core Lightning (previously c-lightning) is a lightweight, highly customizable and standard compliant implementation of the Lightning Network protocol.

© 2023 Core Lightning
All rights reserved.

Discussion Forum

The official Core Lightning forum is coming soon!

BuildonL2 Community

The official BuildOnL2 community lives at community.corelightning.org. Join us and build the future of bitcoin on lightning.

Mailing List

For general discussions about CLN implementation, use c-lightning@lists.ozlabs.org. For the Lightning Network, use lightning-dev@lists.linuxfoundation.org

Telegram

Community-driven telegram group where most of the node operators hang out. Go to https://t.me/lightningd to join.

Discord

Community-driven discord server where the devs flock together. Go to https://discord.gg/w27fMFESMN to join.

Internet Relay Chat

Don't hesitate to reach out to us on IRC at #lightning-dev @ libera.chat, #c-lightning @ libera.chat.