How proofs are made
A private action's proof shows that the Starknet OS ran the action correctly against a recent block. The prover reads the state it needs over RPC, runs the OS, and proves the run with StarkWare's Stwo prover. The proof goes into the transaction, and the pool checks it.
Where
- On the device. The wallet proves in the browser or in the Android app. The prover asks the node only for the state the action reads, and the viewing key stays with the wallet. A site's preview of a private action, before it is approved, is different. It runs on the node, and the node is then sent the key. See Who sees what.
- The Starknet Foundation's prover, on mainnet. It proves an action when the user chooses it, when the device can't prove it, and in releases that don't prove on the device. It always proves a deposit, because a deposit needs the pool's screening signature and only this prover gets one. Outis reaches it through Starkscan, from Outis's own server, which holds the key to Starkscan, so the wallet sends the request to that server. Only a set number of actions a day are proven this way. Past that number, an action is refused until the next day (UTC), and the wallet says so.
- On Sepolia only the device proves. An action the device can't prove can't be made there.
Whoever proves an action is sent its viewing key. See Who sees what.
Choosing where
In a release that proves on the device, Settings → Proving chooses, for each network:
- This device. Private, and slower than the server. A proof needs a few gigabytes of free memory. A device without that much has the server prove the action instead (on mainnet), and says so.
- Starkscan's server (mainnet only). Quicker, but it sees the action and its viewing key, and so does Outis's server on the way.
- Use the GPU. With This device, the device's graphics processor makes part of the proof (its commitments), which is faster on most devices. The proof is the same either way, and if the GPU fails, the processor makes it again. In a browser it needs WebGPU. In the phone apps any phone will do.
While an action is under way, a badge on its progress ring shows where its proof is made: this device's processor, its GPU, or the server. Hover over it, or tap it, for what it means.