Comments - Solidity Part 1.4

Comments in code are essential for improving readability, maintainability, and collaboration. They provide context and explanations that help others (or yourself) understand the logic and purpose behind the code. In Solidity, the language used for writing smart contracts on the Ethereum blockchain, comments come in three main forms: single-line comments, multi-line comments, and NatSpec comments....
spacer

Importing other Source Files - Solidity Part 1.3

As you delve deeper into Solidity development, you’ll find yourself writing more complex smart contracts. To manage this complexity and promote code reusability, importing code from other files becomes a necessity. In this blog post, we’ll explore the various syntaxes for importing source files in Solidity.Source Code: https://github.com/scaihai/enkwadore-blog-blockchain-demos/tree/main/solidity/contracts/1.3Why...
spacer

Version Pragma - Solidity Part 1.2

When diving into Solidity for smart contract development, one of the first lines of code you encounter is the version pragma. This simple yet crucial directive specifies the compiler version that should be used to compile your code. Understanding its importance and usage is fundamental for writing robust and future-proof smart contracts. Let’s explore the Solidity version pragma in detail.What is...
spacer

SPDX License Identifiers - Solidity Part 1.1

When developing smart contracts, it’s essential to understand the importance of licensing. Licensing not only protects the developer’s intellectual property but also ensures that the code can be reused under specific conditions. In the world of Solidity, SPDX License Identifiers play a crucial role in this process. In this blog post, we will explore what SPDX License Identifiers are, why they are...
spacer

Exploring Solidity: A Learning Journey

Welcome to my blog series where we’ll dive deep into the world of Solidity, the programming language powering smart contracts on the Ethereum blockchain and EVM compatible blockchains. Together, we’ll navigate the intricacies of Solidity, breaking down complex concepts into digestible pieces.What to ExpectThroughout this series, we will explore the fundamentals of Solidity, gradually moving towards...
spacer