Solidity Array Members and Manipulation Techniques

In this article, we’ll cover an important topic on array members and array manipulation techniques. This knowledge will prove extremely useful as we progress with our journey through Solidity and gain experience. It’s part of our long-standing tradition to make this (and other) articles a faithful companion, or a supplement to the official Solidity documentation, … Read more

Dangling References to Storage Array Elements – Solidity Reference Types

In this article, while being unable to keep the focus on anything else with all this dangling around, we’ll entertain ourselves with dangling references to storage array elements. It’s part of our long-standing tradition to make this (and other) articles a faithful companion, or a supplement to the official Solidity documentation, starting with this part … Read more

Solidity Bytes and String Arrays, Concat, Allocating Memory, and Array Literals

💡 With this article, we’ll discover a new and fascinating world of bytes and strings, as well as ways to manipulate them, allocate memory arrays, and use array literals. It’s part of our long-standing tradition to make this (and other) articles a faithful companion, or a supplement to the official Solidity documentation, starting with these … Read more

Introduction to Solidity Reference Types and Arrays

Through this article, we’ll learn about reference types, in particular structs, arrays, and mappings, continued by a story on data locations, memory areas, and assignment behaviors. Finally, we’ll conclude with a section introducing arrays. It’s part of our long-standing tradition to make this (and other) articles a faithful companion, or a supplement to the official … Read more

Solidity Deep Dive — Syllabus + Video Tutorial Resources

Do you want to learn Solidity and create your own dApps and smart contracts? This free online course gives you a comprehensive overview that is aimed to be more accessible than the Solidity documentation but still complete and descriptive. ▶️ Multimodal Learning: Each tutorial comes with a tutorial video that helps you grasp the concepts … Read more

User-Defined Value Types in Solidity

In this article, we’ll learn about user-defined types in Solidity. It’s a somewhat shorter and simple article, but it’ll provide us with insight into how we can utilize user-defined value types as means of simple abstractions. It’s part of our long-standing tradition to make this (and other) articles a faithful companion, or a supplement to … Read more

State Variables in Solidity

In this article, I’ll be going over the different types of state variables in Solidity and how to use them. State variables are one of the most important parts of any smart contract, as they allow us to store data that can change over time. This article is mainly focused on value types of state … Read more

How to Install the Solidity Compiler via Source Code Compilation?

In this article, we’ll produce, i.e., compile a Solidity compiler from its source code. Platform compilation is not an operation regular computer users explicitly do very often, if ever. However, in some unusual situations, we need specific software in terms of its (previous) version, or it should run in our exotic environment, etc. Regardless of … Read more

DelegateCall or Storage Collision Attack on Smart Contracts

The post is part 6 and continues our Smart Contract Security Series: Ownership Exploit Private Variable Exploit Reentrancy Attack tx.origin Phishing Attack Denial of Service Attack Storage Collision Attack Randomness Attack Replay Attack The DelegateCall attack or storage collision is expounded in this post. Before you can grasp this exploit, you must first understand how … Read more