solidity-basics / getting-started

A Simple Smart Contract

All Solidity files should start with a version pragma. This specific file is made for Solidity version .04.16 to version .0.9.0. This is to ensure that your code is not compilable with other versions of Solidity that may break your code.

The compiler is consistently being updated and changed, it is very important that we use the correct compiler version when writing our code.

The pragma only affects the compiler - telling it the minimum required version to use when compiling, or what compiler versions are compatible with this contract

solidity-basics / getting-started

A Simple Smart Contract

All Solidity files should start with a version pragma. This specific file is made for Solidity version .04.16 to version .0.9.0. This is to ensure that your code is not compilable with other versions of Solidity that may break your code.

The compiler is consistently being updated and changed, it is very important that we use the correct compiler version when writing our code.

The pragma only affects the compiler - telling it the minimum required version to use when compiling, or what compiler versions are compatible with this contract

Loading...