Not able to run FundMe.sol correctly #167
-
Hello, When I deploy the FundMe.sol file, I get the error below. This error occurs everytime when the value is not empty (ie. anything other than 0 wei). It runs fine if the value is set to 0 wei. I have 18 ETH in my account and using the Rinkeby test network. The account is in the Rinkeby network. I am using the original file from Patrick from here https://github.com/PatrickAlphaC/fund_me/blob/main/FundMe.sol and using compiler v0.6.6 on remix web ide. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can't deploy a contract and send wei to it at the same time! Please always have that set to 0 wei when you're deploying a smart contract. |
Beta Was this translation helpful? Give feedback.
You can't deploy a contract and send wei to it at the same time! Please always have that set to 0 wei when you're deploying a smart contract.