Vault inflation attack example in Solidity and Foundry
00:00 Intro
0:32 What is inflation attack
5:00 Foundry test
10:05 Protections
Code
https://solidity-by-example.org/hacks/vault-inflation
Take a course
https://www.smartcontract.engineer/
#Solidity #SmartContract #Ethereum #スマートコントラクト
Remix
https://remix.ethereum.org
Follow
https://odysee.com/@SmartContractProgrammer:8
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=QYes65VHDLk
Honeypot is a way to catch hackers trying to break into your contract. In this video we will code a contract that looks vulnerable to reentrancy attack but actually isn't.
#Solidity #Honeypot #hack
Code: https://solidity-by-example.org/hacks/honeypot/
References
https://github.com/ethereumbook/ethereumbook/blob/develop/09smart-contracts-security.asciidoc
https://solidity-05.ethernaut.openzeppelin.com/
Remix IDE: http://remix.ethereum.org
Solidity: https://solidity.readthedocs.io
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Website: https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=d0q5zVnNLWs
This video explains how to write a basic function in Solidity. Many more topics and keywords related to function are going to be explained in upcoming videos.
#Solidity #SmartContract #Ethereum #スマートコントラクト
Remix
https://remix.ethereum.org
Code
https://solidity-by-example.org/function/
Take a course
https://www.smartcontract.engineer/
Follow
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=Mm6834AAY00