This is a Hardhat project containing the contracts and solutions to the Ethernaut DAO CTF.
Challenges are released weekly and deployed to the Goerli testnet. You can reproduce the solution by forking the network at a proper block height and running the solution script against your local chain.
# npx hardhat node --fork GOERLI_RPC_URL --fork-block-number BLOCK_NUMBER
# npx hardhat run --network localhost scripts/SOLUTION_SCRIPT.js
Contracts:
Solution: private-data.js
Contracts:
Solution: wallet.js
Contracts:
Solution: car-market.js
Contracts:
Solution: vending-machine.js
Contracts:
Solution: ethernaut-dao-token.js
Contracts:
Solution: hackable.js
Contracts:
Solution: switch.js
Contracts:
Solution: vnft.js
Contracts:
Solution: ether-wallet.js
Contracts:
Solution: vault.js
Contracts:
Solution: staking.js