Skip to content

Lesson 5 : Cannot read properties of undefined (reading 'JsonRpcProvider') #6400

Closed Answered by Codensity30
alternatif-omg asked this question in Q&A
Discussion options

You must be logged in to vote

Can you specify the ethers version you're using, cause if you ethers version is above 6 then in that case you've to access JsonRpcProvider like this ethers.JsonRpcProvider(http://127.0.0.1:7545).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@alternatif-omg
Comment options

@alternatif-omg
Comment options

Answer selected by alternatif-omg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants