https://github.com/sunweb3sec/ethernaut-foundry-solutions
To learn fork testing & on-chain broadcast
https://github.com/sunweb3sec/ethernaut-foundry-solutions
Last synced: about 1 year ago
JSON representation
To learn fork testing & on-chain broadcast
- Host: GitHub
- URL: https://github.com/sunweb3sec/ethernaut-foundry-solutions
- Owner: SunWeb3Sec
- Created: 2023-09-05T14:43:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-16T03:43:29.000Z (over 2 years ago)
- Last Synced: 2025-04-19T12:14:11.337Z (about 1 year ago)
- Language: Solidity
- Homepage:
- Size: 2.48 MB
- Stars: 28
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ethernaut-foundry-solutions
[OpenZeppelin Ethernaut CTF](https://ethernaut.openzeppelin.com/)
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