iefan 🕊️ on Nostr: ##### Why is zPay v4v & Other Related Features Taking So Long? It’s not just ...
##### Why is zPay v4v & Other Related Features Taking So Long?
It’s not just because I’m lazy—though I am. 😂 But because I want this to be truly open, permissionless, decentralized, and distributed. Not just another closed app, but an open protocol.
##### Why Not Just Use the Nostr Protocol and Its Relays?
While Nostr was a good option, zPay’s no-database, serverless architecture opened up the potential for something new and purpose-built.
Instead of a conventional backend, I’m turning the zPay “backend” into a ridiculously lightweight serverless relay.
###### I know “self-host” might sound a bit intimidating, but hear me out.
Don’t compare “zPay Serverless Relay” self-hosting with Nostr relay hosting, or even with setups like LNbits or BTCPay Server. It’s not even close, or fair.
- Ridiculously lightweight & fast - Free & one-click serverless self-hosting - Built-in auto-scaling with a robust rate-limiter
---
###### Putting It in Perspective:
Even if your self-hosted zPay serverless relay serves tens of thousands of daily users, executing over 10 million transactions per month, you likely wouldn’t pay a penny (bonus: up to 50M+ transactions/month with AWS Lambda).
---
##### Replacing the Database with the URL
Instead of a centralized database, all necessary parameters are packed directly into the original URL and QR code. This includes:
With these parameters (`cn`, `ln`, and `pr`), the zPay relay initiates payment, verifies it, decrypts, and delivers content after successful verification.
This creates a distributed, tamper-proof system without a database. The only trade-off? Long URLs, but this is easily managed with zPay’s built-in URL shortener proxy. Short URLs simply redirect to the original URL with all parameters visible in the browser.
---
##### zPay Relay Core Features
Beyond paywalled URLs, zPay provides core building blocks to craft nearly any kind of Lightning integration.
These core features are fully customizable and adaptable to a wide range of needs—from paying for digital and physical products to content access or even paid AI services. zPay relay is designed to make these integrations easy.
---
##### Summary
Instead of a closed app, zPay will be an open protocol supported by distributed, lightweight relays. It’s fast, lightweight, free, and simple to self-host, with built-in auto-scaling and rate limiting, so you can focus on building new ideas.
The zPay serverless backend becomes a self-hostable relay with features like invoice generation, payment verification, encryption/decryption, and custom triggers on payment settlement.
It operates at nearly zero cost, even for tens of thousands of users or 10M+ transactions per month (up to 50M+ with AWS Lambda). There’s no need for a 24/7 live server—it’s serverless, with built-in auto-scaling to handle spikes and a reasonable rate-limiting system.
{
"id":"bfb030c4ae5e4c8bb9a604f399a7f00f4b4f3b2f21697cfec51483c5fb938934",
"pubkey":"c6f7077f1699d50cf92a9652bfebffac05fc6842b9ee391089d959b8ad5d48fd",
"created_at":1731012846,
"kind":1,
"tags": [
[
"r",
"https://video.nostr.build/2e5962aab1a5fc89bd4553c6f39badfdfff730c594fdcd189016d1b463feb486.mp4"
]
],
"content":"##### Why is zPay v4v \u0026 Other Related Features Taking So Long?\n\nhttps://video.nostr.build/2e5962aab1a5fc89bd4553c6f39badfdfff730c594fdcd189016d1b463feb486.mp4\n\nIt’s not just because I’m lazy—though I am. 😂 But because I want this to be truly open, permissionless, decentralized, and distributed. Not just another closed app, but an open protocol.\n\n##### Why Not Just Use the Nostr Protocol and Its Relays?\n\nWhile Nostr was a good option, zPay’s no-database, serverless architecture opened up the potential for something new and purpose-built.\n\n---\n\n##### Introducing zPay Serverless Relay (Under Development)\n\nInstead of a conventional backend, I’m turning the zPay “backend” into a ridiculously lightweight serverless relay.\n\n###### I know “self-host” might sound a bit intimidating, but hear me out.\n\nDon’t compare “zPay Serverless Relay” self-hosting with Nostr relay hosting, or even with setups like LNbits or BTCPay Server. It’s not even close, or fair.\n\n- Ridiculously lightweight \u0026 fast\n- Free \u0026 one-click serverless self-hosting\n- Built-in auto-scaling with a robust rate-limiter\n\n---\n\n###### Putting It in Perspective:\n\nEven if your self-hosted zPay serverless relay serves tens of thousands of daily users, executing over 10 million transactions per month, you likely wouldn’t pay a penny (bonus: up to 50M+ transactions/month with AWS Lambda).\n\n---\n\n##### Replacing the Database with the URL\n\nInstead of a centralized database, all necessary parameters are packed directly into the original URL and QR code. This includes:\n\n- Encrypted content (`cn`)\n- Creator’s Lightning address (`ln`)\n- Optional unlock price (`pr`)\n\nAll of these are cryptographically signed.\n\nWith these parameters (`cn`, `ln`, and `pr`), the zPay relay initiates payment, verifies it, decrypts, and delivers content after successful verification.\n\nThis creates a distributed, tamper-proof system without a database. The only trade-off? Long URLs, but this is easily managed with zPay’s built-in URL shortener proxy. Short URLs simply redirect to the original URL with all parameters visible in the browser.\n\n---\n\n##### zPay Relay Core Features\n\nBeyond paywalled URLs, zPay provides core building blocks to craft nearly any kind of Lightning integration.\n\n###### Core Features Include:\n\n- URL package generation with cryptographic signatures\n- URL integrity checks\n- Lightning invoice creation\n- Real-time payment verification\n- Content encryption/decryption\n- Auto-delivery after payment\n- Custom triggers upon invoice settlement\n\nThese core features are fully customizable and adaptable to a wide range of needs—from paying for digital and physical products to content access or even paid AI services. zPay relay is designed to make these integrations easy.\n\n---\n\n##### Summary\n\nInstead of a closed app, zPay will be an open protocol supported by distributed, lightweight relays. It’s fast, lightweight, free, and simple to self-host, with built-in auto-scaling and rate limiting, so you can focus on building new ideas.\n\nThe zPay serverless backend becomes a self-hostable relay with features like invoice generation, payment verification, encryption/decryption, and custom triggers on payment settlement.\n\nIt operates at nearly zero cost, even for tens of thousands of users or 10M+ transactions per month (up to 50M+ with AWS Lambda). There’s no need for a 24/7 live server—it’s serverless, with built-in auto-scaling to handle spikes and a reasonable rate-limiting system.",
"sig":"19ac4a7a2c5fd09283889344948c35ec64504c796edda81e6a5ea32db8b56aee72ce6c2316b6aecc34eb5db20c225f69c26e9848a2165cda7cc7ffea894cb71f"
}