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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay