routing-api
routing-api copied to clipboard
Use RPC URL rather than Infura project ID
Hello, we are using the routing API and would like to spin up multiple routing API nodes with connections to different rpc URLS. It seems currently this project depends on an infura project ID. Is there a workaround or is roadmapped?
Cheers thanks for the project, Kyle
RPC URL would be better but I have to change a few things in our deployment setup before I can make that change.
In the meantime you can workaround it by forking and change these lines of code: https://github.com/Uniswap/routing-api/blob/c99677a5dfc89f5c036c196384983c0099539c4a/lib/handlers/injector-sor.ts#L111-L112