ethernaut-foundry-solutions

To learn fork testing & on-chain broadcast

Stars
18

ethernaut-foundry-solutions

OpenZeppelin Ethernaut CTF

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