succinctlabs / succinctx

The schelling point for ZK applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add local relaying for hosted proving

ratankaliani opened this issue · comments

Add LOCAL_RELAY_MODE for hosted proving where users are submitting to chains where they've deployed their own gateways.

This would require users to implement some polling logic in their operator scripts that store the request id's of the proofs they've generated so far, and then in every loop where their operator activates, they attempt to submit the hosted proof.

The local relayer will check whether LOCAL_PROVE_MODE is false, and if so, it will poll from the Succinct Platform API for the status of the proof. If the proof is complete, it will relay it.