Why Nostr? What is Njump?
2024-01-18 23:15:18

Max Hillebrand on Nostr: Federated ecash based lightning address server, quite a cool idea for resilient ...

Federated ecash based lightning address server, quite a cool idea for resilient always online LN receive while storing sats in a bearer asset.

https://github.com/Kodylow/hermes

## Hermes: A Noncustodial Lightning Address Messenger w/Fedimint
Hermes is a non-custodial, asynchronous lightning address server that uses Fedimint Ecash on the backend. The protocol flow of Hermes is as follows:

### Registration
1. Users register their Nostr public key and username with the Hermes server. This registration process creates a lightning address for the user.

2. The registration requires a small fee in ecash or lightning.

### Receiving Payments
3. Sender follows normal lnurlp protocol hitting well-known and callback endpoints.

4. Hermes server creates a Fedimint Lightning Gateway transaction based off the receiver's public key, and returns the invoice to the sender via the callback endpoint.

5. Sender pays the lightning invoice, which the lightning gateway immediately completes by locking ecash to the receiver's public key.

6. Hermes server sends a notification to the receiver that they have received a payment.

7. When the receiver's Fedimint Client next connects to their federation, they scan for the payment and reissue the pubkey locked ecash.
Author Public Key
npub1klkk3vrzme455yh9rl2jshq7rc8dpegj3ndf82c3ks2sk40dxt7qulx3vt