Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use RPC URL rather than Infura project ID #38

Open
Kyrrui opened this issue Feb 19, 2022 · 1 comment
Open

Use RPC URL rather than Infura project ID #38

Kyrrui opened this issue Feb 19, 2022 · 1 comment

Comments

@Kyrrui
Copy link

Kyrrui commented Feb 19, 2022

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

@willpote
Copy link
Contributor

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:

const projectId = process.env.PROJECT_ID
const url = `https://${chainName}.infura.io/v3/${projectId}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants