Aapsi Khairaaapsi.hashnode.dev·Apr 20, 2024Understanding the Difference: Solidity's Strict Pragma versus Floating PragmaGetting Started In the world of Solidity, where smart contracts reign supreme, the first line of defence against chaos is often the pragma directive. But what’s the fuss between strict and floating pragmas? Let’s dive into the nitty-gritty and uncove...DiscussSolidity
Zealynx Securityzealynx.hashnode.dev·Apr 17, 2024Invariant Tests with Echidna for AMM Smart ContractsIn this article, we are going to review Invariant tests for AMM contracts with Echidna, with a short comparison with Foundry invariant testing and a deep dive into property-based invariant tests for an Automated Market Maker smart contract. Introduc...Discuss·10 likesSmart Contracts
Zealynx Securityzealynx.hashnode.dev·Apr 17, 2024The Critical Role of Fuzzing in Blockchain SecurityIn this article, we will dive into the fascinating realm of fuzzing. To understand it and before setting up our tests in Foundry we will learn what is the core concept of fuzzing. What is fuzzing? Fuzzing, or fuzz testing, is a technique where invali...DiscussSmart Contracts
John Fáwọléjohnfawole.hashnode.dev·Apr 12, 2024How To Build A Ride-Hailing Smart Contract With SolidityRide-hailing businesses such as Uber and InDrive are fast becoming interwoven into modern society. They are a million-dollar industry. In this tutorial, I built a smart contract for a ride-hailing service company with Solidity and tested it locally w...DiscussSolidity
Pierre E.blog.pedrojok.com·Apr 10, 2024The Ethernaut CTF Solutions | 29 - SwitchGoals The Contract This one is a really fun one to finish this series with a super simple goal: Turn the switch on. Unlike the previous Gate Keeper Three, the Switch challenge is far from easy, especially if you are not familiar with calldata and me...DiscussThe Ethernautethereum smart contracts
ϏforDeveloper DAO Blog | Web3 Tutorialsblog.developerdao.com·Apr 10, 2024Comparing Solidity With ClarityWriting smart contracts for Bitcoin was limited in the past, but with Stacks, this changed. Its Clarity programming language allows you to build Bitcoin smart contacts similar to those on the Ethereum network while being more secure than Solidity at ...Discuss·65 readsBitcoin
Pierre E.blog.pedrojok.com·Apr 9, 2024The Ethernaut CTF Solutions | 28 - Gate Keeper ThreeGoals The Contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract SimpleTrick { GatekeeperThree public target; address public trick; uint private password = block.timestamp; constructor(address payable _target) { ...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Apr 8, 2024The Ethernaut CTF Solutions | 27 - Good SamaritanGoals The Contract A really fun challenge, with a simple goal and a pretty recent vulnerability introduced that we will need to be aware of from now on! // SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import {Address} from "../helpe...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Apr 7, 2024The Ethernaut CTF Solutions | 26 - Double Entry PointGoals The Contract A pretty long code base this time, which is a good exercise to divide the task into smaller parts so we don't get overwhelmed. This is closer to a proper security review with multiple contracts and interactions between them. It al...DiscussThe Ethernautethereum smart contracts
Pierre E.blog.pedrojok.com·Apr 6, 2024The Ethernaut CTF Solutions | 25 - MotorbikeGoals The Contract // SPDX-License-Identifier: MIT pragma solidity <0.7.0; // import "openzeppelin-contracts-06/utils/Address.sol"; // import "openzeppelin-contracts-06/proxy/Initializable.sol"; import {Address} from "../helpers/Address.sol"; impo...DiscussThe Ethernautethereum smart contracts