Skip to content

Category Archives: Solidity

Mapping in Solidity acts like a hash table or dictionary in any other language. These are used to store the data in the form of… Read More
Assembly or Assembler language indicates a low-level programming language that can be converted to machine code by using assembler. Assembly language is tied to either… Read More
Solidity has many functions for error handling. Errors can occur at compile time or runtime. Solidity is compiled to byte code and there a syntax… Read More
Problem: Create a smart contract named MyContract having a state variable as owner. Create a constructor to fetch the address of the owner from msg… Read More
A Variable is basically a placeholder for the data which can be manipulated at runtime. Variables allow users to retrieve and change the stored information. … Read More
Abstract contracts are contracts that have at least one function without its implementation or in the case when you don’t provide arguments for all of… Read More
A constructor is a special method in any object-oriented programming language which gets called whenever an object of a class is initialized. It is totally… Read More
Solidity is a statically typed language, which implies that the type of each of the variables should be specified. Data types allow the compiler to… Read More
Libraries in solidity are similar to contracts that contain reusable codes. A library has functions that can be called by other contracts. Deploying a common… Read More
Interfaces are the same as abstract contracts created by using an interface keyword, also known as a pure abstract contract. Interfaces do not have any… Read More
Solidity Contracts are like a class in any other object-oriented programming language. They firmly contain data as state variables and functions which can modify these… Read More
Solidity’s code is encapsulated in contracts which means a contract in Solidity is a collection of code (its functions) and data (its state) that resides… Read More
Enums are the way of creating user-defined data types, it is usually used to provide names for integral constants which makes the contract better for… Read More
Encapsulation is fundamental and one of the most important concepts of object-oriented programming languages. It refers to the mechanism of manipulation of the scope of… Read More
The view functions are read-only function, which ensures that state variables cannot be modified after calling them. If the statements which modify state variables, emitting… Read More

Start Your Coding Journey Now!