Lesson

Crypto Zombies Lesson 1 ,Ch9 Private Public Functions

Lesson Summary

In Crypto Zombies chapter 9 we look at the difference between private and public functions in Solidity. As a solidity developer it is important to know that by default when we declare a function in Solidity, it will be public. This means that the function is exposed to the world and anyone can call and even execute that code. It is recommended to declare all functions as private until one is sure whether or not to expose the power of that code to others.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: