Damn Vulnerable Defi — Challenge #1 — Unstoppable

This introductory challenge introduces you to the Damn Vulnerable Defi platform. Let’s get into it!

  1. Go to the main website here and follow the How to Play instructions.

await this.token.connect(attacker).transfer(this.pool.address, INITIAL_ATTACKER_TOKEN_BALANCE);

6. That’s it, we are sending the contract some tokens with this command and breaking the flashLoans contract; now open the terminal and type in npm run unstoppable. Congrats on taking the first step to hacking solidity smart contracts.

Look out for more content explaining other Damn Vulnerable Defi challenges. Now, you are UNSTOPPABLE :) Happy hacking!

--

--

I am a student in a university in India, I talk about web3 tech and blockchain because I am a web3 enthusiast!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rahul Pujari

I am a student in a university in India, I talk about web3 tech and blockchain because I am a web3 enthusiast!