BuildBearbuildbear.hashnode.dev·Jul 9, 2024How to Secure Your Smart Contracts Using OpenZeppelin DefenderOpenzeppelin Defender for Smart Contract Security Assumption: You are a Smart Contract Developer (or working on becoming one) or a CXO of a Web3 Application. Simply put OpenZeppelin (’OZ’) Defender is a Smart Contracts (EVM, Solidity) DevTool. OZ Def...DiscussWeb3
Yash Jainyashj.hashnode.dev·Jul 5, 2024Implementing Governance and Access Control in Smart Contracts with OpenZeppelin v5Introduction In the world of decentralized applications and smart contracts, governance and access control are crucial components that ensure the security, flexibility, and longevity of your project. This article will dive deep into how to implement ...Discuss·10 likesSmart Contracts
Sean Kimskim.foundation·May 27, 2024[TWIL] Week of May 12, 2024Similar to last week, this week was mainly about deploying and upgrading smart contracts. Here are a couple of things I learned: Usage of unchecked Looking at many Solidity smart contracts deployed on various mainnets, I noticed the use of the unchec...DiscussThis Week I LearnedSolidity
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·107 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·57 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·84 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:...Discuss·34 readsSolidity
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·55 readsSolidity