Abdulsamad sadiqot41k1.hashnode.dev·Feb 26, 2024Ethernaut(Lvl 2): Tiny Mistakes, Big ProblemsIn the realm of smart contract development, even seemingly minor mistakes made by developers can have profound consequences. This phenomenon is exemplified in several classic cases where small errors in coding semantics led to significant issues with...DiscussSmart Contracts
Abdulsamad sadiqot41k1.hashnode.dev·Feb 25, 2024Ethernaut (Lvl 1): Exploiting the fallback function to claim owership and reduce a smart contract's balance to 0.Ethernaut level 1 requires you to exploit a contract with a poorly constructed fallback function . This would allow you to gain control of the contract and also reduce the balance of the account to zero. Fallback Function A fallback function is a spe...DiscussSolidity
Yield Devyielddev.io·Feb 21, 2024Implementing an UUPSUpgradeable Flash Loan Vault with FoundryMaking An Upgradeable FlashLoan Vault Building off of our last tutorial, Creating a FlashLoan Vault we will now be able to learn how to develop and deploy Upgradeable contracts from foundry using the openzeppelin-upgrades library. In our last version...Discuss·61 readsupgradeable
Yield Devyielddev.io·Feb 20, 2024Implementing a Flash Loan Vault with ERC3156 and ERC4626Flashloan Vault If you've followed our previous article on implementing Vault with ERC4626, then you are already aware of how easy it is to implement a token vault with a profit sharing distribution mechanism. Building on this knowledge we will imple...Discuss·32 readsERC3156
Yield Devyielddev.io·Feb 18, 2024Implement an ERC4626 Token VaultSetting Up a Profit Sharing Vault A common pattern in Defi is to create a vault that holds assets and distributes profits to the vault's token holders. Users will pool their assets in the vault and receive a corresponding token representing their sha...Discuss·48 readsSolidity
Yield Devyielddev.io·Feb 1, 2024Setting Up a Foundry Project and Installing Open-Zeppelin at a Specific VersionInstalling Foundry is an excellent modern framework for developing and testing solidity smart contracts. One of the primary benefits is being able to write tests directly in solidity. First, we need to install the toolchain installer $ curl -L https:...DiscussSolidity
Emre Aslanemreaslan.hashnode.dev·Dec 21, 2023Upgradeable Smart Contracts in Solidity: A Practical Guide with Hardhat and OpenZeppelinBlockchain technology is perhaps one of the most striking inventions of the digital age. Smart contracts, known for their immutability and reliability, are among the foundational building blocks of this technology. However, the inherent nature of con...Discuss·44 readsSolidity
RivanorthProblog.rivanorth.com·Oct 6, 2023OpenZeppelin Contracts 5.0: What You Need to KnowOpenZeppelin Contracts 5.0 emerges, offering a suite of advancements that promise not only heightened security but also an optimised developer journey. A Closer Look at Simplification and Modernisation The OpenZeppelin Contracts 5.0 release signifies...DiscussNewsopenzeppelin
Chikezie3illbaby.hashnode.dev·Jul 29, 2023Breaking Down the Payment Splitter Contract: A Beginners GuideIntroduction Today, we will discuss an essential contract for smart contract developers called the payment splitter contract. But what is it, what is it used for, and why should you care? Let's explore a scenario to understand its significance. imagi...Discuss·83 readsSmart Contracts
Aimen Sahnounaimensh.hashnode.dev·Nov 19, 2022Making an ERC20 Token Bridge using OpenZeppelin DefenderIn the world of Web3, tokens can be used in a variety of ways. But cannot be shared between networks. This is where bridges come in handy, allowing users to "move" tokens from one network to another. Backend Usually bridges are developed by connectin...Discuss·151 readstoken-bridge