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

Allow setting a custom RPC in the UI #30

Open
mcintyre94 opened this issue Apr 21, 2023 · 0 comments
Open

Allow setting a custom RPC in the UI #30

mcintyre94 opened this issue Apr 21, 2023 · 0 comments

Comments

@mcintyre94
Copy link
Collaborator

If you want to use transaction detection on mainnet you need to use a custom RPC to avoid being rate limited. Currently you can only select the network and we use the default clusterApiUrl. We should add the ability to set a custom RPC URL in the UI so that developers can test transactions on mainnet easily using this scaffold.

As a workaround an endpoint can be set in the code: https://github.com/solana-labs/solana-pay-scaffold/blob/main/src/contexts/ContextProvider.tsx#L20

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

1 participant