Solutions to CaptureTheEther, you can find an in-depth explanation on my website.
Challenges are deployed manually using the CTE interface that will give you your contract addresses. Solutions are in the test/
folder, you can run them using yarn test:ropsten
but it will target my own contracts on ropsten, I hardcoded the addresses for simplicity so make sure to replace them with your own addresses.
We use 3 accounts due to some challenges that requires an accomplice or a specific account like the FuzzyAccount
challenge so make sure to set your 3 private keys and your provider url in the .env
# .env
PROVIDER_URL=
PRIVATE_KEY=
PRIVATE_KEY_ACCOMPLICE=
PRIVATE_KEY_FUZZY_ACCOUNT=