Replying to Avatar Max

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.

nostr:nevent1qqsyzfzr2apvceqf26qd9qk63ugkw8mfe9myeks4qgk3rsdnuk0re2gpp4mhxue69uhkummn9ekx7mqzyzm7669svt0xkjsju50a22zurc0qa589z2xd4yatzx6p2z64a5e0cqcyqqqqqqgepke5d

Reply to this note

Please Login to reply.

Discussion

No replies yet.