Solidity Inheritance, Modifiers and Importing of Files
In this Lab you will learn how Solidity Inheritance works, whatās it for and how to use Modifiers.
We will create a long and spaghetti-like Smart Contract. Then we improve it step-by-step by using first a modifier, then separate logic into an external Smart Contract and then finally into an external File.
What You Know At The End Of The Lab
š Modifiers
š§± Inheritance
š Importing of external Files
Prerequisites - You need:
-
Chrome or Firefox browser.
-
An Internet connection
-
About 60 Minutes of your precious time ā
Get Started
šŖ šŖ šŖ Letās get started!
Using Solidity 0.8
These labs were updated to Solidity 0.8 and can differ from the videos slightly. Please pay attention to the callouts where appropriate.
Last updated on