Learn web3, solidity and zk
Jul 28 2023
How to deploy contract on EOA address?
The EIP-7377 proposes a new transaction type to achieve this.
Jul 18 2023
Deterministic Address
Contract addresses are generally derived from the deployers address and the nonce. But there an opcode that lets you derive contract address without these constraints.
Jun 08 2023
Transient storage
Transient storage was introduced in EIP-1155. Let’s understand how transient storage will help in reducing gas costs.
May 26 2023
Ownable2Step in Solidity
Another helper contract provided by Openzeppelin, which adds an extra layer of security, it is Ownable2Step.
May 11 2023
Save More Gas While Using Storage
In this article, we will try to understand why it is important to structure our read-and-write storage operations appropriately to save more gas.
Apr 14 2023
PUSH0 Opcode Solidity
Push0 OPCODE was proposed in EIP-3855 and realeased with withdrawls upgrade as part of Shapella in 2023
Mar 18 2023
What are vanity addresses?
Vanity address is a unique address that has been created to contain a specific set of characters
Mar 16 2023
Advantages of BLS Signatures over ECDSA
BLS signatures and ECDSA signatures have their own pros and cons. But BLS can be very useful in blockchains
Mar 15 2023
Why using `!=X` instead of `> X` is cheaper in solidity
Comparison operator requires the EVM to perform a subtraction between the two values
Mar 14 2023
Drawbacks of using approve function
There are a few potential drawbacks to using the approve function in ERC20
Feb 23 2023
Risks in initializing Proxy contracts?
Using an `initialize` function in proxy contracts can introduce risks if its not implemented correctly
Feb 21 2023
What is front running?
Front running has caused losses to several users in DEFI and NFT space, lets understand how it works.
Feb 19 2023
Flashloans in a Nutshell
Flash loans are a type of loan that allows users to borrow funds from a liquidity pool
Jan 08 2023
What is coming up with EIP-4844? Scalability, Data sharding?
Eip 4844 introduces a new tx type for blob-carrying transactions. The blob will not be accessible by EVM but only its commitment will be accessible
Oct 26 2022
Tips to save gas in solidity?
Some known and uncommon techniques to save gas in solidity smart contracts
Oct 18 2022
How to cancel an already sent transaction?
Transaction in a block cannot be reversed or cancelled but only if its not committed yet
Oct 8 2022
Build a Web3 notes app in 4 steps?
In this article we will be creating a notes app using IPFS. IPFS is a decentralized storage.
Oct 01 2022
Why storage is expensive?
Storage contains data that persists on chain. These are stored as part of the storage merkle tree.
Sep 23 2022
Abstract Contract vs Interfaces in Solidity
Abstract contracts and interfaces share some similar characterstics but they are different.
Sep 22 2022
Using Arrays Within Solidity Structs
Abstract contracts and interfaces share some similar characterstics but they are different.
Sep 14 2022
Using Mappings and Structs in solidity
Using mappings and structs in solidity can sometimes become tricky due to the nature of how solidity works.
Sep 11 2022
Libraries in solidity
A library is a piece of code that can be re-used by other smart contracts.
Sep 5 2022
Relation Between Solidity Events, Topics & Logs
Topics are indexed parameters to an event. EVM uses low-level primitives called logs to map them to high-level solidity construct called Event.
Sep 1 2022
Measure Gas Used in Solidity
Gas is one of most important consideration when writing smart contract. Solidity provides some built in helper funciton to measure gas.
Aug 23 2022
Visibility in Solidity
Functions and state variables have to declare whether they are accessible by other contracts or externally.
Aug 20 2022
View and Pure Functions in Solidity
View and pure functions can be confusing sometimes for the newbees in solidity. This post will clarify the major differences.
Aug 14 2022
How to loop through mapping in solidity?
Looping through mapping in solidity can be tricky, considering the way solidity works and is a strictly compiled language.
Aug 11 2022
What is ERC677? When to use it?
Topics are indexed parameters to an event. EVM uses low-level primitives called logs to map them to high-level solidity construct called Event.
Aug 8 2022
Function Selectors in Solidity
Understanding how function selectors work can help prevent unwanted bugs in solidity.
Aug 4 2022
Compare Strings In Solidity
Best way to compare strings in solidity.
Aug 1 2022
How to call private functions in solidity?
Private functions are not callable from outside the contract.