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

AlchemyProvider does not yet support Polygon Amoy Testnet #4645

Closed
tazous opened this issue Mar 13, 2024 · 14 comments
Closed

AlchemyProvider does not yet support Polygon Amoy Testnet #4645

tazous opened this issue Mar 13, 2024 · 14 comments
Labels
enhancement New feature or improvement. fixed/complete This Bug is fixed or Enhancement is complete and published. v6 Issues regarding v6

Comments

@tazous
Copy link

tazous commented Mar 13, 2024

Describe the Feature

Following Georli deprecation and replacement by Sepolia, Polygon Mumbai testnet will follow the same path and be replaced by Polygon Amoy test.

As announced by Alchemy, they released last week their Amoy provider and will stop support for Mumbai before the 17th of April.

As seen here https://docs.ethers.org/v6/api/providers/thirdparty/#AlchemyProvider, ethers AlchemyProvider does not yet support Amoy network. Is there a plan to upgrade the library in order to migrate smoothly? That would be perfect and a great help from you.

Code Example

No response

@tazous tazous added the enhancement New feature or improvement. label Mar 13, 2024
@bearsworth
Copy link

Please support this ethers. It is direly needed for some of us who are testing.

@link271
Copy link

link271 commented Apr 4, 2024

I'm using StaticJsonRpcProvider with Alchemy url and it's working but it would be great if ethers adds support for amoy to AlchemyProvider and InfuraProvider.

@aboveStars
Copy link

Temporarily, "HTTPS URL" can be used with JsonRpcProvider in v6 like this:

const provider = new ethers.JsonRpcProvider("https://polygon-amoy.g.alchemy.com/v2/********");

ricmoo added a commit that referenced this issue Apr 10, 2024
@Sufiyan-dev
Copy link

amoy is still not supported it says

hardhat-verify found one or more errors during the verification process:

Etherscan:
Must be authenticated!

@Sufiyan-dev
Copy link

when using infura key it does work

@bearsworth
Copy link

bearsworth commented Apr 15, 2024

Temporarily, "HTTPS URL" can be used with JsonRpcProvider in v6 like this:

const provider = new ethers.JsonRpcProvider("https://polygon-amoy.g.alchemy.com/v2/********");

Yeah this works, the reason is that for a specific use case, we have multiple endpoints. The URL one is easier for future proofing, but then it means every time there is a change we have to go back and change all the endpoints again to the URL scheme. I did upvote this though because this is the right answer for getting something working.

@ricmoo
Copy link
Member

ricmoo commented Apr 15, 2024

I’ve added it to the ethers default key last week for Infura and the network is available in the latest GitHub version.

It is possible that Etherscan doesn’t permit access to it without getting your own key?

I’ll be publishing to npm tomorrow.

@bearsworth
Copy link

I’ve added it to the ethers default key last week for Infura and the network is available in the latest GitHub version.

It is possible that Etherscan doesn’t permit access to it without getting your own key?

I’ll be publishing to npm tomorrow.

Thank you ricmoo! Appreciate all the work.

@ricmoo
Copy link
Member

ricmoo commented Apr 17, 2024

Added in v6.12.0. Let me know if there are any more issues or once additional providers have added the network.

Thanks! :)

@ricmoo ricmoo closed this as completed Apr 17, 2024
@ricmoo ricmoo added fixed/complete This Bug is fixed or Enhancement is complete and published. v6 Issues regarding v6 labels Apr 17, 2024
@nativenolde
Copy link

Hi @ricmoo,

thanks a lot for introducing support of the amoy testnet!

would you please also support it with the EtherScan/PolygonScan provider?

Thanks a lot for your effort!

@nativenolde
Copy link

nativenolde commented Apr 29, 2024

Added Polygon Amoy Testnet Support for EtherScan #4711

@ricmoo
Copy link
Member

ricmoo commented Apr 29, 2024

Last time I looked there wasn’t an Etherscan Amoy endpoint, but if there is now, I can certainly add it. :)

@nativenolde
Copy link

nativenolde commented Apr 29, 2024

@ricmoo In the meantime, they have documented the support for the Amoy testnet... i've added the url to the EtherScan provider with #4711... however, i am not sure if this is sufficent.

@namhihi237
Copy link

Do we support this? I checked on the document, and it's still updated yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement. fixed/complete This Bug is fixed or Enhancement is complete and published. v6 Issues regarding v6
Projects
None yet
Development

No branches or pull requests

8 participants