Tag: smart contracts
-
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…
-
Things You Need to Know About Solidity Libraries
Introduction Are you a Solidity developer looking to make your smart contract development process smoother and more efficient? Then boy, do we have the perfect solution for you! Libraries in Solidity are like the awesome sidekick you never knew you needed – they provide powerful tools to simplify and turbocharge your development process. This article…
-
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…
-
Overview of ve-Tokenomics model
Curve.fi is the prominent example of a protocol that has seen sustained success, prompting others to adopt a tokenomics model based on vote escrowed tokens. By tying CRV to veCRV, Curve was the first to implement these mechanisms, giving token holders access to three essential functions: The following diagram illustrates how this model can be…
-
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…