Alex Gleason 🐍 on Nostr: Found it: You can "melt" a token to pay an LN invoice. To convert to Bitcoin you can ...
Found it:
https://github.com/cashubtc/nuts/blob/main/05.mdYou can "melt" a token to pay an LN invoice. To convert to Bitcoin you can plug in an LN invoice from boltz.exchange
This also makes it possible for "nutzap" wallets to do "regular zaps", by getting the invoice and then "melting" to it.
I think it's actually even possible to receive NIP-57 zaps, with a small glue layer between LNURL and the Cashu mint. The server needs to associate their Cashu mint somehow, then it give them a Lightning address. The LNURL call will make a proxy request to the "mint" endpoint internally to generate LN invoices.
Published at
2025-01-25 17:09:52Event JSON
{
"id": "1cbe56649950ee34ebba9f1f5193981f374bd22f05d985749b918352ee2980a1",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1737824992,
"kind": 1,
"tags": [
[
"e",
"d6eed89cbd4592a148e404f0932d8c46e3c3642667f086d069a18358baba7469",
"wss://ditto.pub/relay",
"root",
"0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd"
],
[
"e",
"672203173929fc05446a0baf3bf67ec6f137fc0656a82f08375fc2f659325e5b",
"wss://ditto.pub/relay",
"reply",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"wss://ditto.pub/relay"
],
[
"r",
"https://github.com/cashubtc/nuts/blob/main/05.md"
]
],
"content": "Found it: https://github.com/cashubtc/nuts/blob/main/05.md\n\nYou can \"melt\" a token to pay an LN invoice. To convert to Bitcoin you can plug in an LN invoice from boltz.exchange\n\nThis also makes it possible for \"nutzap\" wallets to do \"regular zaps\", by getting the invoice and then \"melting\" to it.\n\nI think it's actually even possible to receive NIP-57 zaps, with a small glue layer between LNURL and the Cashu mint. The server needs to associate their Cashu mint somehow, then it give them a Lightning address. The LNURL call will make a proxy request to the \"mint\" endpoint internally to generate LN invoices.",
"sig": "bcacd42ebd128ab74f8d7b7e7572a4ac772fdcd9001b7eba3effad439bc6295a279f97b604d2b901953658b789886e93c49be6963a18bcd8b6d70cd4f7f465dd"
}