Skip to content

Lesson 7: TypeError: ethers.getContract is not a function #5504

Discussion options

You must be logged in to vote

@CubikRuubik No, just get the ethers from hardhat like this

const { ethers } = require("hardhat");

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@CubikRuubik
Comment options

@alymurtazamemon
Comment options

Answer selected by CubikRuubik
@CubikRuubik
Comment options

@Noveleader
Comment options

@CubikRuubik
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants