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
https://twitter.com/EthernautDAO/status/1543957806532833282
Contracts:
Solution: private-data.js
https://twitter.com/EthernautDAO/status/1546101932040790016
Contracts:
Solution: wallet.js
https://twitter.com/EthernautDAO/status/1548638648974749696
Contracts:
Solution: car-market.js
https://twitter.com/EthernautDAO/status/1551211568926425089
Contracts:
Solution: vending-machine.js
https://twitter.com/EthernautDAO/status/1553742280967835648
Contracts:
Solution: ethernaut-dao-token.js
https://twitter.com/EthernautDAO/status/1556278995909427202
Contracts:
Solution: hackable.js
https://twitter.com/EthernautDAO/status/1558814930920431617
Contracts:
Solution: switch.js
https://twitter.com/EthernautDAO/status/1561352425394515968
Contracts:
Solution: vnft.js
https://twitter.com/EthernautDAO/status/1563889138205528066
Contracts:
Solution: ether-wallet.js
https://twitter.com/EthernautDAO/status/1566425852858040323
Contracts:
Solution: vault.js
https://twitter.com/EthernautDAO/status/1571136905021952001
Contracts:
Solution: staking.js