CONTRACT INTERACTIONS 1: IMPORT & INHERITANCE
Import & Inheritance is the simplest way to build interaction between two contracts. Here are some important about import&inheritance:
1- Contract A deployment does not matter.
1 - Contract B must be deployed.
2 - State of Contract A does not change.
2 - State of Contract B changes.
3- We can use functions and variables of Contract A (internal, external and public ones).
We will create our Solidity smart contract by using Remix.
Github:
Contract A: https://github.com/abdulhakim-altunka...
Contract B: https://github.com/abdulhakim-altunka...
NOTE: All videos on this channel are for exercise purposes. For tutorial purposes I kindly advise you to watch great teachers below:
Solidity:
1) Smart Contract Programmer:
/ @smartcontractprogrammer
2) Eat the Blocks:
/ @eattheblocks
3) Dapp University:
/ @dappuniversity
Node-React-Javascript:
1) The Net Ninja:
/ @netninja
2) Dave Gray :
/ @davegrayteachescode
For Comments & Questions:
[email protected]
Buy me a Coffee:
buymeacoff.ee/softtomato