-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
##TypeError: Cannot read properties of null (reading 'sendTransaction')

Solution
I was able to figure out what was causing this issue. In video 14 Configuring Hardhat within the Mumbai object change account to accounts. The source of the solution can be found here
module.exports = {
solidity: "0.8.2",
networks: {
mumbai: {
url: process.env.MUMBAI_RPC,
account: [process.env.PRIVATE_KEY] // <--- Fix this line: the key should accounts NOT account
}
}
};
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels