-
Hi, beginner here. I got stuck on this error when typing:
I got the error :
I believe I copied word for word, but noticed that the contract is not highlighted blue. Perhaps that is a clue? |
Beta Was this translation helpful? Give feedback.
Answered by
fojutoro
Jun 2, 2022
Replies: 1 comment 2 replies
-
You cannot do Contract with capital "c". The compiler thinks you are trying to create a "Contract" struct called "SimpleStorage". |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
PatrickAlphaC
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You cannot do Contract with capital "c". The compiler thinks you are trying to create a "Contract" struct called "SimpleStorage".
Just do lowercase "c".
contract SimpleStorage