Getting StartedIntroductionFactory PatternBasic Solidity: Importing Contracts into other ContractsComposibilitySolidity new keywordImporting Code in solidityBasic Solidity: Interacting with other ContractsTo interact, you always need: ABI + AddressABIBasic Solidity: Inheritance & OverridesInheritanceOverride & Virtual Keyword
Getting Started
- Go to Remix
- Paste the code from
SimpleStorage.sol
,StorageFactory.sol
, andExtraStorage.sol
into a new file in Remix
- Hit
Compile
- Hit
Deploy
for whatever contract you want.
SimpleStorage.sol
StorageFactory.sol
ExtraStorage.sol
Introduction
Factory Pattern
Basic Solidity: Importing Contracts into other Contracts
Composibility
The ability for contracts to seamlessly interact with each other is what s known as composability.
Solidity new keyword
Importing Code in solidity
Basic Solidity: Interacting with other Contracts
To interact, you always need: ABI + Address
ABI

Basic Solidity: Inheritance & Overrides
Inheritance
Override & Virtual Keyword
add virtual keyword to the store function that to be override in SimpleStorage.sol
add override to store function that override