Skip to main content

Posts

ERC20 Smart Contract Functions 2023 - Solidity Smart Contracts

  Hey! I am here to explain about ERC20 Token. When a person entered in Blockchain world, he frequently heard the term ERC20 Token, so what is this ERC20? ERC20 is a standard, which has a set of functions that are implemented by all ERC20 Tokens. Those set of functions are following. function totalSupply() public view returns (uint256); function balanceOf(address tokenOwner) public view returns (uint); function allowance(address tokenOwner, address spender)public view returns (uint); function transfer(address to, uint tokens) public returns (bool); function approve(address spender, uint tokens) public returns (bool); function transferFrom(address from, address to, uint tokens) public returns (bool); There is also a variable named  Decimal,  it is fixed to 18 by default for this standard. We have to set the standard because we know that we need standards when it is a matter of trading, and transactions at the global level. ERC20 Token’s Functions- Total supply is count of ...

How To Crack React Interview 2023 - Interview Question

  React Interview Question 2023: In this blog, we are going to discuss the best  React Interview Question 2023  which are often asked in interviews.  So why wait, Let's start- 1. What is React Js?   React js is a javascript library used for developing front end with good speed. Developers are choosing React js instead of other frameworks because frameworks come with a fixed package whether you need them or not,  But in React js we only install the packages we just need.  Due to this reason react is much lightweight than other frameworks and it has good speed also.  2. What are the Components in React Js?  Components are pieces of code that can be reused like functions but components are more powerful than functions.  It has two types- Class components Functional components 3. What is a class component?  A component that has ES6 class.  Class components are more powerful and complex than functional components because of their li...