Storage, Memory and Stack in Solidity Ethereum Smart Contracts

In Solidity or particularly ethereum smart contracts data are stored in 3 ways:-

  1. Storage

Storage

  • It stores data in blockchain form

Memory

  • Its short term memory, it’s stored data during code/function execute

Stack

  • It store data in personal database of Ethereum, not in Ethereum blockchain

To understand there words properly, and get actual costs, make DApps, because best way to learn swimming is “Jump into the water”

Useful links

--

--

I'm a developer and my work is development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store