Lesson

Crypto Zombies ,Ch5 Structs,Learn Solidity Structures

Lesson Summary

In this Crypto Zombie lesson we go over Solidity structures. A struct in solidity allows us to create a more complex data type which can have multiple properties. In this lesson we add to our ZombieFactory contract a Struct by the name Zombie. Our Zombie will contain a name which is a string, and dna which is a uint.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: