-
Notifications
You must be signed in to change notification settings - Fork 552
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
added alchemy and provider support #1401
added alchemy and provider support #1401
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is super cool!
docs/network-management.rst
Outdated
Using Alchemy | ||
************* | ||
|
||
To Infura you need to `signup for an account <https://auth.alchemyapi.io/signup>`_. Once you have signed up, login and create a new project. You will be provided with a URL that can be leveraged to access the network. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To infura?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix 😅
dd5d03f
to
c841224
Compare
fc441ca
to
0a8312d
Compare
Updated! |
I'm wonder if it is possible to do via configuration file? Thanks |
What I did
Added support for Alchemy built-in
Related issue: #
#1177
How I did it
I added a
providers-config.yaml
to the.brownie
dir. Now, if you want to switch from Infura to Alchemy, you set yourWEB3_ALCHEMY_PROJECT_ID
and run:How to verify it
Try it out!
provider
flag to your infura network of choice.Then, swap it to alchemy
Checklist
For some reason, a few tests locally keep failing for me... wondering if I can get some help cleaning up the last few.