Skip to main content

Portefeuilles pris en charge


BlinkWallet

Configuration

  1. Inscrivez-vous sur blink.sv
  2. Accédez à Dashboard → API Keys → créez une clé
  3. Copiez votre Wallet ID depuis le tableau de bord

Node.js

Python

Comment ça fonctionne

Appelle l’API GraphQL de Blink avec la mutation lnInvoicePaymentSend. Retourne le preImage de la transaction réglée.

AlbyWallet

Configuration

  1. Créez un compte sur getalby.com
  2. Accédez à Settings → Access Tokens → créez un jeton avec la portée payments:send
  3. (Facultatif) Exécutez votre propre Alby Hub pour l’auto-garde

Node.js

Python

Comment ça fonctionne

Appelle POST /payments/bolt11 sur l’API REST d’Alby Hub avec un jeton Bearer. Retourne le payment_preimage de la réponse.

Portefeuille personnalisé

Implémentez l’interface L402Wallet pour utiliser n’importe quel portefeuille Lightning :
L’interface requiert une seule méthode :

Choisir un portefeuille

  • Tests / prototypage → Blink (custodial, configuration instantanée, offre gratuite)
  • Agent en production, contrôle maximal → Alby Hub auto-hébergé (non-custodial, API REST)
  • Débit élevé / frais réduits → Phoenix via L402Wallet personnalisé (non-custodial, ACINQ)
  • Entreprise → LNbits auto-hébergé via un portefeuille personnalisé