ethers.js icon indicating copy to clipboard operation
ethers.js copied to clipboard

Support sepolia for AlchemyProvider?

Open xinbenlv opened this issue 2 years ago • 9 comments

Describe the Feature

Hi ethers community and Ric,

My teammate @samishal1998 noticed that the ether (v5) 's AlchemyProvider doesn't support sepolia testnet.

Since goerli is going away later this year, is there any interest in supporting the sepolia anytime soon?

Code Example

(TO ADD SOON)

xinbenlv avatar Sep 18 '23 18:09 xinbenlv

There is a plan to release patch release of v5 with a few minor changes, including adding sepolia to all the supporting providers.

It is not as high priority as v6 updates and features though. We are also here to assist anyone that wishes to migrate too, reach out to us on discord. :)

ricmoo avatar Sep 18 '23 18:09 ricmoo

Thank you @ricmoo for a prompt feedback, that was fast!

It's said that many testing infra were not supported. Maybe we shall start discussion within the dApp building community to start a long term testnet

xinbenlv avatar Sep 18 '23 18:09 xinbenlv

I think Sepolia is meant to be a long-term testnet. I haven’t heard orherwise, at least. :)

ricmoo avatar Sep 18 '23 19:09 ricmoo

There is a plan to release patch release of v5 with a few minor changes, including adding sepolia to all the supporting providers.

It is not as high priority as v6 updates and features though. We are also here to assist anyone that wishes to migrate too, reach out to us on discord. :)

Looking forward to this! Any chance there's an ETA on when this will be slotted? I would have migrated to v6 if there weren't any peer dependency conflicts.

MadroneXBT avatar Sep 20 '23 17:09 MadroneXBT

I think Sepolia is meant to be a long-term testnet. I haven’t heard orherwise, at least. :)

Its EOL is planned for the end of 2026 (see Predictable Ethereum Testnet Lifecycle Proposal).

michalinacienciala avatar Sep 21 '23 13:09 michalinacienciala

There is a plan to release patch release of v5 with a few minor changes, including adding sepolia to all the supporting providers.

It is not as high priority as v6 updates and features though. We are also here to assist anyone that wishes to migrate too, reach out to us on discord. :)

Hey @ricmoo,

Any news on an update of v5 that suuports sepolia for AlchemyProvider?

OT-kraftchain avatar Jan 19 '24 10:01 OT-kraftchain

Is it still not available?

edit I had an old version 5 instaled. The new one works ⚡

TudorEsan avatar Apr 03 '24 17:04 TudorEsan

Is it still not available?

edit I had an old version 5 instaled. The new one works ⚡

v5.7.2 doesn't seems to work for me.

try { provider = new ethers.providers.AlchemyProvider(11155111,alchemy); } catch (error) { console.error("Failed to create provider:", error); return; }

gives me Failed to create provider: Error: unsupported network (argument="network", value={"name":"sepolia","chainId":11155111,"ensAddress":null}, code=INVALID_ARGUMENT, version=providers/5.7.2)

Wich version do you use ?

0xhuntaa avatar Apr 28 '24 04:04 0xhuntaa

v6

TudorEsan avatar Apr 28 '24 07:04 TudorEsan