pull down to refresh

Nostr Fortune Slip is a web application that integrates the Nostr protocol with Lightning Network. Provides a QR code generation function that supports Zap requests.

Functionality

  • Dual QR code display: Lightning Invoice QR code and Nostr Event Link QR codenostr:nevent1...Format) displayed in parallel
  • Lightning QR code generation: Generate a Lightning Invoice QR code that supports Zap requests
  • Nostr Event QR code: to the created kind1 eventnostr:nevent1QR code the link
  • Nostr integration: Create, sign and send kind 1 events, generate Zap requests (kind 9734)
  • Payment ID tracking: Embed a random 8-byte value (in base64url format) in Zap comments and use it for payment verification
  • Zap detection function: Detects Zap Receipt in real time and displays fortune results
  • Coinos API verification: Additional verification of deposits (preimage verification) using Coinos API after receiving Zap receipt
  • Coinos polling: Regular monitoring of the Coinos API as a fallback for Zap subscriptions
  • Parallel detection: Simultaneously runs Zap subscription and polling, detects payments in one of them
  • Fortune message: Sends a lucky number (1-20) with a mention to the sender after Zap detection
  • Settings management: Secure management of Lightning addresses, Nostr private keys, and Coinos Read-Only API Tokens
  • Zap validation settings: You can directly configure permission/disallowance of Nostr zap (adjusting security level)
  • Relay resistance: Continue QR code generation even if Nostr relay connection fails
  • Error display: Displays Coinos API validation errors and relay connection errors on the screen
  • Responsive UI: Mobile-first Tailwind CSS-based design
  • Security: Appropriate warning display when using LocalStorage