Nicolas Cantu 4735ee71ab feat: Complétion système split et intégrations externes
- Intégration mempool.space pour vérification transactions Bitcoin :
  - Service MempoolSpaceService avec API mempool.space
  - Vérification sorties et montants pour sponsoring
  - Vérification confirmations
  - Attente confirmation avec polling

- Récupération adresses Lightning depuis profils Nostr :
  - Service LightningAddressService
  - Support lud16 et lud06 (NIP-19)
  - Cache avec TTL 1 heure
  - Intégré dans paymentPolling et reviewReward

- Mise à jour événements Nostr pour avis rémunérés :
  - Publication événement avec tags rewarded et reward_amount
  - Parsing tags dans parseReviewFromEvent
  - Vérification doublons

- Tracking sponsoring sur Nostr :
  - Service SponsoringTrackingService
  - Événements avec commissions et confirmations
  - Intégration vérification mempool.space

Toutes les fonctionnalités de split sont maintenant opérationnelles.
Seuls les transferts Lightning réels nécessitent un nœud Lightning.
2025-12-27 21:18:14 +01:00
\
2025-12-23 02:20:57 +01:00
\
2025-12-23 02:20:57 +01:00
ia
2025-12-22 09:58:10 +01:00
2025-12-22 17:56:00 +01:00
2025-12-22 09:48:57 +01:00
2025-12-22 09:48:57 +01:00
\
2025-12-23 02:20:57 +01:00
2025-12-22 09:48:57 +01:00
\
2025-12-23 02:20:57 +01:00
\
2025-12-23 02:20:57 +01:00
2025-12-22 09:48:57 +01:00
2025-12-22 17:56:00 +01:00
2025-12-22 09:48:57 +01:00
2025-12-22 09:48:57 +01:00

zapwall4Science

Plateforme de publication d'articles scientifiques et de science-fiction avec système de sponsoring, commissions et rémunération des avis. Les lecteurs peuvent lire les aperçus gratuitement et débloquer le contenu complet en payant avec Lightning Network.

Features

  • NostrConnect Integration: Authenticate using NostrConnect (default: use.nsec.app)
  • Free Previews: Public notes showing article previews
  • Paid Content: Private notes containing full content, unlocked after 800 sats zap
  • Lightning Payments: Integrated Alby/WebLN for Lightning payments (works with Alby and other Lightning wallets)
  • Payment Modal: User-friendly payment interface with invoice display
  • TypeScript: Fully typed codebase

Getting Started

  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser

Environment Variables

  • NEXT_PUBLIC_NOSTR_RELAY_URL: Nostr relay URL (default: wss://relay.damus.io)
  • NEXT_PUBLIC_NOSTRCONNECT_BRIDGE: NostrConnect bridge URL (default: https://use.nsec.app)

Lightning Wallet Setup

This project uses the WebLN standard for Lightning payments, which works with:

Users need to have a Lightning wallet extension installed to make payments. The payment flow will prompt them to connect their wallet when needed.

Project Structure

  • /pages: Next.js pages
  • /components: React components
  • /lib: Utilities and Nostr helpers
  • /types: TypeScript type definitions
  • /hooks: Custom React hooks
Description
No description provided
Readme MIT 1.7 MiB
Languages
TypeScript 97.8%
Shell 1.4%
JavaScript 0.4%
CSS 0.4%