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

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

We completed a transaction in the last part, but the transaction data had yet to be seen. In this part, we will drive the smart contract data to the user interface. The user’s data and the transaction time will be displayed on the user interface. This is part 4 of our four-tutorial series on creating … 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