If signature checks are indeed too expensive for mobile — then I think the next best thing would be to connect to exactly one proxy server that would connect to the relays you ask it and then fetch events and do all validations.

This would also save more battery as you don’t need multiple expensive Websocket connections.

You could either use a default server provided by the app developer, or run your own proxy server.

A bit like you can have your wallet app connect to your own full node.

Reply to this note

Please Login to reply.

Discussion

The proxy server doesn’t need to be an actual Nostr relay, and could have even a different API, devised to be optimal for mobile apps.

However, that might make adoption harder.

I know there’s some work going on about proxy relays, but I’m not sure it’s the same thing.

Also note that you need to trust the proxy, or run a proxy yourself (and only have to trust that the set of relays you’re connecting to isn’t censoring or manipulating your feed).