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

Enh/add fallback rpc provider #1001

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from

Conversation

Flocqst
Copy link
Contributor

@Flocqst Flocqst commented Apr 18, 2023

Description

Adding a fallback mechanism to quickly switch to Ankr RPC provider in the event that Alchemy experiences downtime.

The new environment variable NEXT_PUBLIC_RPC_PROVIDER must be set to ankr in order to use the fallbackRpcUrl.
Ankr keys env. variables have also been added.

Related issue

#993

How Has This Been Tested?

Tested on dev environment, with and without the setting NEXT_PUBLIC_RPC_PROVIDER set to ankr.
Everything works as expected.

@vercel
Copy link

vercel bot commented Apr 18, 2023

@Flocqst is attempting to deploy a commit to the Aelin Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@0xDmitry 0xDmitry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thx for the contribution!

@vercel
Copy link

vercel bot commented Apr 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aelin-ui-v2 ❌ Failed (Inspect) Apr 18, 2023 5:57pm

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

Successfully merging this pull request may close these issues.

3 participants