Leito on Nostr: We are using X-Cashu. We just put the ecash on the call for upload when the blossom ...
We are using X-Cashu. We just put the ecash on the call for upload when the blossom returns a 402-Payment Required code (Blossom returns upload prices).
No NIP 60 is needed in this case because we are connecting directly to the server.
This Blossom Server was configed to charge on Download and Upload.
The "Downloader" did not have the file so it paid for the chunks individually.
The nostr file is just for the front end to know how to rebuild the file.
Published at
2025-01-02 21:21:36Event JSON
{
"id": "bb071326574f860c22f193f892161e3506635b805c62cfc7e30c6ce66f3c9651",
"pubkey": "6fb266012c3008303e54ae55140b46957e9978098401dda34f4d921a275bf8bb",
"created_at": 1735852896,
"kind": 1,
"tags": [
[
"e",
"0001a45e5bdef0b26e60087be2e18f586de1cb4b05addb7b5f966df701a34e03",
"",
"root"
],
[
"e",
"edf3c3910128a14225324516cb258df1b0811db2038ea2e9178fe53b7cb827db"
],
[
"e",
"5c9ea533f5877e1baf175081252180c802b6c61f7ef8f09a8dfa3b433cbe4fa0",
"",
"reply"
],
[
"p",
"6fb266012c3008303e54ae55140b46957e9978098401dda34f4d921a275bf8bb"
],
[
"p",
"be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e"
]
],
"content": "We are using X-Cashu. We just put the ecash on the call for upload when the blossom returns a 402-Payment Required code (Blossom returns upload prices). \n\nNo NIP 60 is needed in this case because we are connecting directly to the server. \n\nThis Blossom Server was configed to charge on Download and Upload. \n\nThe \"Downloader\" did not have the file so it paid for the chunks individually. \n\nThe nostr file is just for the front end to know how to rebuild the file. \n\n\n\n",
"sig": "164df7c8bbf1ecfd5bf56b06ee3775ddeec8c03d412572d85cad6391a7e7fcaab569d1540b95268b78c7dd3864694ced456b262cc9cc92eb3dcb22b69bdc2d0c"
}