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?

Reply to this note

Please Login to reply.

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?

What's the current age limit for nostr.wine subscribers?

Asking before I blast in some retro 2008 content 😂

We currently use the default (3 years). I’m open to changing that though if there is demand.

Yes.

I’m on it…

Yes you can query s3 by filename

> 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