
Hanane Bendisari
@Jeux_Code
Smart contract engineer. Solidity, Foundry, gas optimizer. Remote-ready.
require() isn’t defensive. It’s declarative. It’s how your contract defines what is not allowed. Write it like a threat model. #Solidity #SecurityMindset #SmartContracts #Web3Build #Foundry
Logic that "should never happen" is exactly what an attacker will trigger. If your contract can't handle absurd input, it's already vulnerable. #Solidity #SmartContractSecurity #Foundry #Web3Tips #BuildInPublic
Your first audit is writing tests that make you sweat. If everything passes too fast, you’re not ready. #Solidity #AuditMindset #Foundry #SmartContractTesting
Don’t try to be clever. Try to be readable. Auditors hate clever. #Solidity #CleanCode #SmartContractAudits #Web3Build
Don’t forget onlyOwner is not access control. It’s a placeholder. Build real permission layers. #SmartContracts #AccessControl #Solidity #Web3Dev
Reentrancy isn’t just about ETH. It’s about calling back anything at the wrong time. #Reentrancy #SoliditySecurity #SmartContracts #Web3Tips
No matter how clean your logic is, if your contract isn't testable — it's not trustworthy. Your tests are the real audit. Your assertions are your insurance. #Solidity #SmartContractTesting #Foundry #AuditReady #Web3Dev
Your fallback function should never do more than it has to. It’s not a feature. It’s a liability. #Solidity #Fallback #SmartContractSecurity #Web3Dev
Never trust msg.sender blindly. Proxies, relayers, and weird context will mess with you. #Solidity #SecurityTips #SmartContracts #Web3Build
The fallback function is a trap. Keep it tight, or keep it out. It’s the foot in the door for every edge case you forgot. Most contracts don’t need one. #Solidity #FallbackFunction #Web3Security #SmartContracts #BuildInPublic
Avoid magic numbers. Use constants. Use enums. Use your brain. #Solidity #CodeReadability #BestPractices #Web3Dev
Storage layout matters. Especially when you upgrade contracts. One mistake = corrupted state. #Solidity #UpgradeableContracts #Web3Security #SmartContractTips
A contract with no reverts is a contract that hides its bugs. Make your contract scream when something’s wrong. Silence is where the exploits live. #Solidity #SmartContractSecurity #Foundry #Web3Dev #BuildInPublic
“It works” ≠ “it’s safe”. Web3 is not about running code — it’s about defending logic. #Solidity #SecurityMindset #SmartContracts #Web3Dev
Gas optimization is cool. But clarity > gas. And security > both.#Solidity #GasTips #SmartContractDesign #Web3Security
If your tests only follow the happy path, they’re not tests. They’re a warm bath. #Solidity #SmartContracts #Web3Build #Foundry
Write comments for the attacker. Explain what you think is secure. Then try to break it. #SmartContractSecurity #SolidityTips #AuditMindset
Always test what happens if the same function is called twice. Some bugs only appear on the second run. #Solidity #TestingTips #Foundry #Web3Dev
Don’t rely on timestamps unless you control the clock. Miners don’t care about your deadlines.#Solidity #Web3Security #SmartContracts #Chainlink
Test with weird inputs. Zero. Max uint. Out-of-order steps. Real users (or bots) won’t play nice. #Solidity #FuzzTesting #Foundry #Web3Security
United States Tendenze
- 1. Carson Beck 12.5K posts
- 2. Miami 90.2K posts
- 3. Louisville 18.9K posts
- 4. Ohtani 63.9K posts
- 5. #SmackDown 46.5K posts
- 6. #BostonBlue 5,114 posts
- 7. Malachi Toney 2,316 posts
- 8. Jeff Brohm 1,527 posts
- 9. George Santos 62.2K posts
- 10. Mario Cristobal N/A
- 11. Chris Bell 1,910 posts
- 12. #OPLive 2,110 posts
- 13. Geno 9,158 posts
- 14. Ilja 18.8K posts
- 15. 4 INTs N/A
- 16. The U 564K posts
- 17. Suarez 28.9K posts
- 18. Nebraska 12.4K posts
- 19. Raiola 2,158 posts
- 20. #SeizeTheMoment 9,418 posts
Something went wrong.
Something went wrong.