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

depreciate default alchemy key #955

Merged
merged 8 commits into from
Oct 10, 2024
Merged

depreciate default alchemy key #955

merged 8 commits into from
Oct 10, 2024

Conversation

technophile-04
Copy link
Collaborator

Description

Removed the default alchemy key and also added fallback to the transport.

Frontend:

We check if alchemy key is set via process.env if its present then we do [alchemyRpc, public] (this is the fallback order) , if alchemy key is not set we just use generalRpc.

Hardhat:

Updated all the networks with public rpc URLs (got this public URL's comes from viem/chains) . For forking people will still need to add the alchemy api key.

Copy link
Member

@rin-st rin-st left a comment

Choose a reason for hiding this comment

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

Lgtm! Thanks!

Copy link
Member

@carletex carletex left a comment

Choose a reason for hiding this comment

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

Great stuff @technophile-04 Thanks!!

Left a comment (more like a question haha) but feel free to merge if you want.

@technophile-04
Copy link
Collaborator Author

technophile-04 commented Oct 10, 2024

Thanks all! Merging this for now 🙌 but we can update/fix/ make some things better later.

@technophile-04 technophile-04 merged commit d8f6228 into main Oct 10, 2024
1 check passed
@technophile-04 technophile-04 deleted the add-falback-transport branch October 10, 2024 02:08
technophile-04 added a commit to scaffold-eth/create-eth that referenced this pull request Oct 10, 2024
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