When you’re running tests and scripts in Hardhat, by default, all functions are called using the first address provided. But what if you want to… Read More »Hardhat Enhancing Test Coverage: Using Different Addresses in Scripts
How to Resolve the “Warning: SPDX license identifier not provided in source file” Warning in Solidity?
Before identifying the solution for Warning: SPDX license identifier not provided in source file warning, let’s explore what is the role of SPDX license identifier in Solidity.… Read More »How to Resolve the “Warning: SPDX license identifier not provided in source file” Warning in Solidity?
What is the Solidity payable function? A Solidity payable function is a type of function that allows you to receive ether (ETH – Ethereum token) as an input… Read More »How to Send ETH to a Solidity Payable Function Using Ether.js?
Overview Concatenating the strings means combining two strings to make one string. In Solidity, concatenating a string is a complex step. Like in some programming… Read More »How to Concatenate the Strings in Solidity?
Null in Solidity overview We don’t have the concept of undefined or null in Solidity. Instead, we have a default or zero concept. By default,… Read More »Is There a Null in Solidity Programming Language?
Let’s explore the easiest way to convert the Solidity uint to string. Convert uint to string using OpenZeppelin library The easiest way to convert the uint to… Read More »How To Convert uint To string in Solidity?
Smart contracts are the backbone of decentralized apps. They handle the storage and manipulation of data. Solidity is the language of Ethereum. It lets you… Read More »What Is the Solidity memory Keyword in Ethereum?
In Solidity, “msg.sender” is something that is used frequently and it is important to get familiar with it, know what exactly it does, and what is it… Read More »What Does “msg.sender” Stand for in Solidity?
Overview The ERC20 approve and ERC20 allowance methods allow you to give a specific smart contract permission to use a certain amount of their tokens,… Read More »What are ERC20 Approve and ERC20 Allowance Methods?