Maybe we need a PoW provider market
Discussion
User drafts message -> pressed add PoW -> user client sends message to PoWaaS -> PoWaaS sends back an LN invoice -> user’s client pays invoice -> PoWaaS sends back nonce
Be interesting to see how that could work without revealing your nsec, since that’s needed to perform the PoW.
I’m sure this can be done fairly safely self hosted though.
Why is nsec needed? Cant one just add PoW to the signed message?
The PoW is the number of leading zeros in the ID, so maybe not. Pow could be done, then signing could be done on device. Yeah, I guess that tracks.
Yeah, PoW can be built into the binary version of the npub (no nonce), or into a hash of any values. To prove we aren’t just reusing an old PoW i guess it should be a hash of the contents of the signed message. The PoW verification would work nicely into the signature verification flow.