Summary
Web Wallet should support a dedicated prover base URL, independent from the node URL, for /on/prover/prove calls.
Prover routing can be fragile when node and prover traffic are coupled through the same endpoint/proxy path. If proxy mapping is wrong on the nodes.* endpoint, every Phoenix transaction breaks even when nodes are healthy.
Proposed change
Add and use a dedicated prover URL config:
VITE_PROVER_URL for prover calls
- keep
VITE_NODE_URL for node/graphql/ws calls
- in browser hosted mode, derive prover host similarly to node host mapping
- keep fallback behavior for local/dev setups
- Web wallet runtime network layer uses dedicated prover URL for
prove(...)
- README docs for
VITE_PROVER_URL
Summary
Web Wallet should support a dedicated prover base URL, independent from the node URL, for
/on/prover/provecalls.Prover routing can be fragile when node and prover traffic are coupled through the same endpoint/proxy path. If proxy mapping is wrong on the
nodes.*endpoint, every Phoenix transaction breaks even when nodes are healthy.Proposed change
Add and use a dedicated prover URL config:
VITE_PROVER_URLfor prover callsVITE_NODE_URLfor node/graphql/ws callsprove(...)VITE_PROVER_URL