Can you make a relay that charges per byte per month and stores events indefinitely and stores them on disk or S3 or somewhere cheap with very limited querying capabilities?
Discussion
I think you can query S3 by filename, so just save each event as a separate file with name = pubkey:created_at and done?
Or save each event with an id and keep local disk indexes.
Hmm - I don’t see why not. I think the main challenge is just UX.
Probably easiest to let users deposit a balance by pubkey and deduct from it as we receive/store events? Maybe just charge a fixed amount per note/per year of storage.
Then you get a recurring invoice for keeping your notes beyond the initial retention period (I’m thinking annually as opposed to monthly). Something like this?
> somewhere cheap
Check Backblaze: S3 compatible, solid and really cheap.
i plan to do that with a.nos.lol. it will be cheap old server with hard drives