Tag: blockchain
-
Compound V3 Rewards explained
Introduction In decentralized finance (DeFi), incentives play a crucial role in driving user participation. Compound, one of the leading DeFi protocols, utilizes COMP token rewards to encourage both lending and borrowing activities. This post delves into how the Compound V3 rewards system works, comparing it with the MasterChef algorithm from yield farming protocols, and providing…
-
Solidity’s try-catch Syntax: Best Practices for Error Handling with Examples
Introduction When making smart contracts on the Ethereum blockchain, handling errors can be a very important part of the process. Especially when there aren’t many tools available! Solidity v0.6.0’s addition of the try/catch syntax was a big step in the right direction for how errors are handled. These new features build on previous ones, like…
-
Solidity Events: Everything You Need to Know
Introduction Hello, Web3 folks! If you’ve worked with Solidity before, you know that it’s a powerful language for building decentralised applications on the Ethereum blockchain. But have you ever thought about how smart contracts can talk to things outside of the blockchain? This is where Solidity events come in! Solidity events are an important part…
-
Everything you need to know about Solidity fallback functions
Introduction Smart contract functions are the building blocks of smart contracts, which are blockchain-based autonomous programmes. A smart contract function might be configured to operate when a given quantity of currency is received or when a specific contract condition is satisfied. Smart contract functionalities must typically be “externally” triggered. In other words, solidity and evm…
-
Account abstraction on Ethereum: An introduction
Why do we need account abstraction on Ethereum? Even if the future of Ethereum and crypto looks great, there is still a real worry about mass adoption. Even though crypto fans may not need help setting up and keeping their self-custodial Ethereum wallets secure, the user experience for new users could be better. This is…
-
What are Uniswap V2 oracles?
What are Oracles? In EVM world, you can interact with other deployed smart contracts fairly easily. However, what if you need access to the data which doesn’t exist on chain? Example: Applications with real-life utilities often depend upon things like live data feeds of real word events like sports, commodity prices etc. That is where…