lucash.dev on Nostr: If signature checks are indeed too expensive for mobile — then I think the next ...
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.
Published at
2023-03-09 18:52:32Event JSON
{
"id": "73daa465078f2e473b4903075ff00f80720498caf9dbe0b27dac93cbbcd03039",
"pubkey": "82d70f9685eabec271201bacd1fc1941e9686a9bf2b686c381a5b662f60002b1",
"created_at": 1678387952,
"kind": 1,
"tags": [],
"content": "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.\n\nThis would also save more battery as you don’t need multiple expensive Websocket connections.\n\nYou could either use a default server provided by the app developer, or run your own proxy server.\n\nA bit like you can have your wallet app connect to your own full node.",
"sig": "707cd939dc9dab1b9329971d93a60548cb9708c85e59ebe932ebbd39e09bcc6aaf1f7265b7e5f88bee1f14ad4bb924726eb6e56a2cff8830a06938b950a5bc87"
}