lesson 4 fund me and number conversion #580
-
I really got stuck in lesson 4 "Remix fund me", so confusing the number conversion, 50*10e18 means that the require will fail if you send less than 50ethers so I had to remove three digits from that number to make it work by sending 0.51 ethers, don't understand why Patrick sends 0.02 and it passes thorugh... |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
its not 50 ether, its 50usd |
Beta Was this translation helpful? Give feedback.
-
he did 0.02 because during the time of recording, the value of eth was 3000$, and min value to send is 50usd, so 3000*0.02=50 |
Beta Was this translation helpful? Give feedback.
-
Ok, but why MINIMUM_USD equals 50*10E18?, Thats 50 billions of billion dollars! |
Beta Was this translation helpful? Give feedback.
-
@bonannogiovanni Because |
Beta Was this translation helpful? Give feedback.
its not 50 ether, its 50usd