-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
InfuraProvider does not support Infura v3 endpoints #286
Comments
Thanks for the heads up! Absolutely I intend to continue supporting INFURA, so I’ll look more into this soon. Thanks! :) |
I've reached out to INFURA. I've also updated my local version to support the v3. Remaining questions before I commit the changes:
|
It is January 23rd, so I'm committing the changes, and I'll keep bugging INFURA for more information on the above issues, but in the mean time the Project ID will be supported once the new version is posted later today. |
This has been added to In v5 (still a private repo), the apiAccessToken has been removed and only the ProjectID is supported. Thanks! :) |
Might worth writing about |
Excellent point! I've added it to my TODO. :) |
Can I confirm that support for Infura v3 API is only in Ethers.js 4.x and not 3.x. Anyone wanting to continue to use Infura past 27 March with Ethers.js needs to upgrade to Ethers.js 4.x, correct? |
That is correct. And in ethers v5, only INFURA v3 is supported. I will be marking v2 deprecated in npm soon too, with a notice to upgrade to v4 or v5. If there is enough demand, I could back-port INFURA v3 to ethers v3 too, but it is a bit of a headache, so only if people really need it, preferably. :) |
I've found a workaround. Just use the |
Ah yes... Perfect work around for v3 users. I won't bother back-porting. :) |
Infura is currently transitioning its users from their previous API to their new v3 API, and are warning that the old API will be taken offline.
https://blog.infura.io/introducing-the-infura-dashboard-8969b7ab94e7
The endpoints for the v3 API are different than the previous version (and those supported in the current InfuraProvider). They have also stated plans to update how authentication is handled in the future on their v3 platform.
For the time being, one can use the Infura v3 platform through the use of the JsonRpcProvider. Any plans to support Infura v3 in the short-term? I'm willing to contribute an update myself, I am just uncertain if it would be preferable to create an separate InfuraV3Provider, or to add a parameter to the existing InfuraProvider to indicate 'use v3'. Thoughts?
The text was updated successfully, but these errors were encountered: