Category Solidity

Re-entrancy Attack in Solidity


In a Solidity smart contract, a reentrancy attack is a popular exploit. These assaults can fully deplete the cash in your smart contract. When a function makes an external call to another untrusted contract then, in an attempt to drain…

How to Create an NFT?

How to Create NFT

NFT stands for Non-Fungible Token. Don’t worry, if this full form does not make any sense, right now. You will have a clear understanding of NFTs once you are done reading this post. Before, we start talking about Non-Fungible let’s…

Solidity Library

Library Libraries in Solidity smart contracts are blocks of reusable code. Libraries also help you to save gas by using the existing code that is already available on the Blockchain instead of writing the code again.  For example, I want…

Interface in Solidity

Interface in Solidity

Interface Interfaces are basically used to interact with the contracts that are already deployed on the Blockchain. We need a way to call the functions from those contracts and that’s where interfaces are helpful. Let’s see this with an example.…

Listen to Solidity events in python

Listen Solidity Events in Python

Events are used to inform a calling application about the current state of a smart contract. You can read more about the event by clicking on this link how to use events in solidity. In this post, we will talk…

Events in Solidity

Events in Solidity

Solidity events are used to inform the outside world about the current state of a smart contract. The smart contract address is the link to the logs and the blockchain includes the logs. Logs are part of the transaction receipts. …


Enums in Solidity
Enums are one way to create a user-defined data type in Solidity. Enums increase the code readability.

Storage vs Memory vs Calldata

Memory vs Calldata Solidity

Solidity storage types are a bit confusing for beginners. If you’re reading this post, I can bet you’re confused between Memory and Calldata. Don’t worry, I was in that situation, and in this post, you will understand the difference b/w…

Solidity Data Types

Solidity Data Types

Solidity Data Types Solidity is a statically typed language, which means that the type of each variable (state and local) needs to be specified. Solidity provides several elementary types which can be combined to form complex types. There are two…


We connect you to a world of houseplants and urban gardening tailored to your home


Login to your account