replace lightningpub with alby #8

Merged
Asara merged 1 commit from feat/replace_lightningpub_with_alby into main 2025-01-11 04:18:21 +00:00
Owner

This acts as a bridge between your lightning address (using lnurlp well-known locations), and creates invoices on albyhub using NWC.
This requires the nwc connection string to exist within the DB so this is only useful for custodial wallets.

This acts as a bridge between your lightning address (using lnurlp well-known locations), and creates invoices on albyhub using NWC. This requires the nwc connection string to exist within the DB so this is only useful for custodial wallets.
Asara force-pushed feat/replace_lightningpub_with_alby from d1f8a241c0 to 98f897dde6 2025-01-09 00:18:45 +00:00 Compare
Asara force-pushed feat/replace_lightningpub_with_alby from 98f897dde6 to 6138df5ee0 2025-01-09 02:28:56 +00:00 Compare
@ -0,0 +257,4 @@
}
secret.decodeSecret()
json.Unmarshal([]byte(nwc.Nostr), &nwcNostr)
Collaborator

doesn't Unmarshal return err value? Should that be buried here?

doesn't Unmarshal return err value? Should that be buried here?
Asara marked this conversation as resolved
@ -0,0 +343,4 @@
t := make(map[string][]string)
t["e"] = []string{nwcEv.GetID()}
filters = []nostr.Filter{
//{
Collaborator

delete?

delete?
Asara marked this conversation as resolved
@ -0,0 +410,4 @@
response, err := nip04.Decrypt(evs[0].Content, sharedSecret)
resStruct := MakeInvoiceResponse{}
json.Unmarshal([]byte(response), &resStruct)
Collaborator

ditto, possible err.

ditto, possible err.
Asara marked this conversation as resolved
Asara force-pushed feat/replace_lightningpub_with_alby from 6138df5ee0 to 9d1f1ae54c 2025-01-11 04:13:19 +00:00 Compare
Asara merged commit 832be7eb7c into main 2025-01-11 04:18:21 +00:00
Asara deleted branch feat/replace_lightningpub_with_alby 2025-01-11 04:19:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Asara/well-goknown!8
No description provided.