Solidity Function Constructors – A Helpful Simplified Guide with Video

In this article, we’ll learn about function constructors, a Solidity language feature enabling us to execute a function during smart contract creation. 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. We’ll base this article on the original Solidity programming language … Read more

Solidity Function Overloading

In this article, we’ll learn about function overloading πŸŽ›οΈπŸ”πŸ‘·β€β™‚οΈπŸ’»πŸš€, a useful and interesting feature in the Solidity programming language. 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. We’ll base this article on the original Solidity programming language content. Overview Function … Read more

Solidity’s Fallback Function – A Simple Guide

In this article, we will focus on the second topic of the interesting pair, the fallback function, as a follow-up on the receive ether function discussed in the previous article. 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. Overview The … Read more

Solidity Receive Ether Function

In this article, we will focus on an important topic, the receive Ether function in Solidity. This function allows us to receive the currency and is the first of the two possible approaches for receiving currency. The other approach is the fallback function, and we’ll briefly introduce it here to become aware of the wider … Read more

Solidity Function Visibility Made Easy

Solidity has many useful features that enable us, smart contract developers, to make safe, secure, and functional smart contracts. We have discussed other interesting Solidity features, and this time, we’ll focus on one very important feature of Solidity called function visibility. It determines who can call a function and who can access its variables. In … Read more

Solidity Error Handling with Assert, Require, and Revert Functions

In this article, we’ll get a closer look at four main mechanisms for error handling in Solidity: functions assert, require, revert, and another approach based on exceptions. These mechanisms will help us tremendously in achieving stable and secure smart contracts, so this is the right moment to introduce them and lay the ground for a … Read more

Solidity Checked and Unchecked Expressions

In this article, we’ll learn about checked and unchecked expressions and when to use each of them. 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 for this article’s topic. We should consider whether an expression should be checked or unchecked … Read more

Solidity Scoping – A Helpful Guide with Video

As promised in the previous article, we’ll get more closely familiar with the concept of scoping next. We’ll explain what scoping is, why it exists, and how it helps us in programming. 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

$821,000 Ethereum Value per Solidity Developer

Ethereum’s Total Value Locked (TVL) is $28,000,000,000 USD and Ethereum’s market cap is $193,000,000,000 USD. Based on my estimations below, there are at most 269,000 monthly active Solidity developers. Therefore, the Ethereum TVL per Solidity developer is more than $104,000, and the Ethereum market cap per Solidity developer is more than $717,000. So for all … Read more

I Created a React Decentralized App to Sell eBooks – Here’s How (3/4)

This is part 3 of our four-tutorial series on creating a decentralized web app to sell ebooks: πŸ‘‡ We will connect the front end with the smart contract in this part of the series. The interaction with the smart contract will be done using ether.js. Move to the app.js file inside the source folder. We … Read more

I Created a React Decentralized App to Sell eBooks – Here’s How (2/4)

This is part 2 of our four-tutorial series on creating a decentralized web app to sell ebooks: πŸ‘‡ In the previous part, we built the smart contract and deployed it on the hardhat node for testing. Now it’s time to deploy the contract on the testnet. But before that, let’s install the react app first. … Read more