Published in


Lesson 2: Value Types in Solidity

Introduction to value types

Photo by Michael Dziedzic on Unsplash

In Solidity, like in many other languages, data types can be broadly classified into two groups: reference types and value types. In this article, we will examine the various value types that are present in the language.

Let’s begin by defining what a value type is. A value type is a type that holds the data directly in the memory owned by it…




A publication for Solidity programming tutorials. Solidity is a statically-typed programming language for writing smart contracts that run on Ethereum. The publication progresses from elementary lessons towards advanced topics.

Recommended from Medium

TheGraph: Stake or Delegate?

KYVE is a decentralized data archiving protocol.

Programming With shell

Stop Audio in Unity with a C# Script

Weekly Pulse by William Meller | Week 03, 2022

What Is a Moving Average (MA)?

How to Copy a File to Windows Share from Linux

Dockerizing Python-Flask Application and Deploying on Kubernetes

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
Lajos Deme

Lajos Deme

Software engineer. Blockchain and smart contracts.

More from Medium

Lesson 3: Reference Types in Solidity

Learning Solidity with Ease — Introduction

A Complete Guide to Building Ethereum dApps: Front-end and Back-end

Testing a Smart Contract with HardHat 👷‍♂️