Concurrency, Mutex, and Arc in Rust: A Comprehensive GuideDive into Rust's concurrency model with this comprehensive guide. Learn how to use Arc and Mutex to create safe, efficient programs7 min read·aagbotemi.hashnode.devOct 21, 2024
Solidity Attack Vectors #8 - HoneypotA honeypot is a smart contract that purports to leak cash to an arbitrary user due to a clear vulnerability in its code in exchange for extra payments from that user. A honeypot is a trap to catch hackers. Combining two exploits, reentrancy and hidin...2 min read·aagbotemi.hashnode.devJan 14, 2023
Solidity Attack Vectors #7 - Front RunningBefore transactions are added to the block, they are first sent to the transaction pool (mempool). In the mempool, the miners mine the transaction with the highest gas fee and add it to the block before going to the transaction with the lower gas fee...2 min read·aagbotemi.hashnode.devJan 12, 2023
Solidity Attack Vectors #6 - Denial Of ServiceDenial of Service by rejecting to accept Ether. There are many ways to attack a smart contract to make it unusable. One exploit is a denial of service by making the function to send Ether fail. The solidity fallback function is executed if none of th...3 min read·aagbotemi.hashnode.devJan 11, 2023
Solidity Attack Vectors #5 - Block Timestamp Manipulation AttackA miner can manipulate the block.timestamp which can be used to their advantage to attack a smart contract. block.timestamp can be manipulated by miners with the following constraints: it cannot be stamped at an earlier time than its parent it cann...2 min read·aagbotemi.hashnode.devJan 10, 2023