2 Commits

Author SHA1 Message Date
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
7364d6a83e feat: Implémentation split sponsoring, avis et transfert automatique
- Split pour sponsoring (Bitcoin mainnet) :
  - Service SponsoringPaymentService avec calcul split (0.042/0.004 BTC)
  - Validation montants et adresses Bitcoin
  - Structure pour vérification transactions

- Split pour avis (Lightning) :
  - Service ReviewRewardService avec commission (49/21 sats)
  - Création invoice avec split
  - Transfert automatique reviewer portion
  - Mise à jour avis avec tag rewarded

- Système transfert automatique :
  - Service AutomaticTransferService
  - Transfert auteur portion après paiement article
  - Transfert reviewer portion après rémunération avis
  - Tracking et logs structurés

- Intégration dans paymentPolling pour articles
- Documentation complète du système

Les services sont prêts pour intégration avec nœud Lightning et services blockchain.
2025-12-27 21:13:16 +01:00