ethernaut-foundry-solutions
ethernaut-foundry-solutions copied to clipboard
To learn fork testing & on-chain broadcast
ethernaut-foundry-solutions
Please remember to change your instance address.
Fork testing (Sepolia)
forge test -vvvv --match-test testExploit1
On-chain exploit (Sepolia)
forge script ./script/levelxx.s.sol:ExploitScript --private-key $PKEY --broadcast --rpc-url $RPC_URL
Reference
https://github.com/minaminao/ctf-blockchain/tree/main/src/Ethernaut
https://github.com/az0mb13/ethernaut-foundry/
https://github.com/zobront/paradigm-ctf