Crypto Zombies ,Ch3 State Variables & Integers, Declare & Initialize Solidity Variable

Lesson Summary

In this Crypto Zombie lesson we go over declaring and initializing a state variable that is an integer. Solidity allows us to store state variables permanently on the blockchain within our created contract. In this specific lesson we create an unsigned integege (unsigned means that it cannot be negative) by the name of dnaDigits which we use to store the number of digits in our zombies DNA (in this case 16).

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required