Error while trying to do transaction - Ropsten is not working i am using sepolia #115
salamalsam
started this conversation in
Show and tell
Replies: 1 comment
-
You should check out my other post here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PS D:\Web3.0\Web3.0.1\smart_contract> npx hardhat run scripts/deploy.js --network sepolia
Network Name: sepolia
Network Provider: LazyInitializationProviderAdapter {
_providerFactory: [AsyncFunction (anonymous)],
_emitter: EventEmitter {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
[Symbol(kCapture)]: false
}
}
Error in deployment script: TypeError: Cannot read properties of undefined (reading 'JsonRpcProvider')
at Object. (D:\Web3.0\Web3.0.1\smart_contract\node_modules@nomiclabs\hardhat-ethers\src\internal\ethers-provider-wrapper.ts:4:61)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:121:18)
at Object. (D:\Web3.0\Web3.0.1\smart_contract\node_modules@nomiclabs\hardhat-ethers\src\internal\provider-proxy.ts:7:1)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
PS D:\Web3.0\Web3.0.1\smart_contract>
Beta Was this translation helpful? Give feedback.
All reactions