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
sepolia
instead ofgoerli
test 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.getUrl
function does not know anything aboutsepolia
test net although other code contains many references to this name.Searching in the issues list, I've found this yet open ticket where the
sepolia
support is planned to v6. I am usingethers@6.8.1
and the problem still exists.Investigating the stack, I've found that small change in the
alchemy-provider.ts
file makes things work. It's only necessary to add something liketo the switch in the
AlchemyProvider.getUrl
method. 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