Error: could not coalesce error (error={ "code": -32000, "data": { "hash": #5828
-
I got this error while running deploy.js
This is my full deploy.js code:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
First of all make sure you're using this packages {
"dependencies": {
"ethers": "^6.6.2",
"solc": "^0.8.7-fixed"
}
} then run this command for compiling after that, you can deploy your contract. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
First of all
you must not share your private key, from now and on don't use this account for real money.
make sure you're using this packages
then run this command for compiling
npx solcjs --bin --abi --include-path node_modules/ --base-path . -o . SimpleStorage.sol
after that, you can deploy your contract.