DEV Community

Cover image for Solidity Bits
Calvin
Calvin

Posted on

Solidity Bits

  1. Storage and memory keywords in Solidity language determine how variables are stored in the blockchain. Memory variables are temporary while storage variables are stored permanently on the blockchain.

  2. The internal and external keywords affect visibility of functions. Internal is similar to the private keywords, except a function with the internal keyword can be accessed by contracts that inherit from it. External functions cannot be used for internal calls and are meant to be called by other contracts.

Photo credit: Shubham Dhage on Unsplash

Top comments (0)