Replies: 1 comment 5 replies
-
|
Your above error indicates you are using v5.7.2 of ethers. Sepolia is supported in v6 though; make sure when you install ethers you don’t have the wrong version indicated in your package.json or package-lock.json. You can always use |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I am a novice in smart contracts and Ethereum, so I have started with the Hello World application here. They recommend using
sepoliainstead ofgoerlitest net, and I followed this suggestion.Unfortunately, it led me to a problem, when I tried to request the smart contract, as described there (similar, but different link).
I have found that the
AlchemyProvider.getUrlfunction does not know anything aboutsepoliatest net although other code contains many references to this name.Searching in the issues list, I've found this yet open ticket where the
sepoliasupport is planned to v6. I am using[email protected]and the problem still exists.Investigating the stack, I've found that small change in the
alchemy-provider.tsfile makes things work. It's only necessary to add something liketo the switch in the
AlchemyProvider.getUrlmethod. Unfortunately, it's hard to find where is this code file from.Please fix this problem, or just explain how to workaround it.
Beta Was this translation helpful? Give feedback.
All reactions