Skip to content

support dedicated prover endpoint configuration (separate from node URL) #936

@HDauven

Description

@HDauven

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions