Why Nostr? What is Njump?
2025-04-19 15:27:26

hzrd149 on Nostr: A rough draft of a BUD-10 for multi-part uploads to blossom servers. not sure if this ...

A rough draft of a BUD-10 for multi-part uploads to blossom servers. not sure if this is a good idea so I'm looking for feedback
https://github.com/hzrd149/blossom/pull/67

The biggest issue comes from the fact that blossom relies on the sha256 hash of the whole blob. so there isn't a way to verify that each uploaded chunk is part of a whole until the all the chunks are uploaded.

I think this issue can be mitigated slightly if the client includes `x` tags in the auth event for each chunk its uploading. so that the server can verify that each chunk was created by the client.
In the case of payments, I think it could be possible for the client to pay for each chunk. although this might require more requests or the server to define an x sats/bytes pricing.

Inspiration taken from https://tus.io/
Thanks to for making me aware of it
Author Public Key
npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr