dtr0x / damn-vulnerable-defi-brownie

Solutions to Damn Vulnerable DeFi challenges using the Brownie framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

damn-vulnerable-defi-brownie

Solutions to Damn Vulnerable DeFi challenges using the Brownie framework.

Setup

brownie pm install OpenZeppelin/openzeppelin-contracts@4.2.0
brownie pm install OpenZeppelin/openzeppelin-contracts-upgradeable@4.5.0
brownie pm install safe-global/safe-contracts@1.3.0

Usage

The original setup/deployment scripts for each challenge (found here) have been ported to Python in order to be used with the Brownie command line interface. See the scripts folder to find the script for each challenge. To run the solution for a particular challenge, run the following command from the top-level directory:

brownie run <ChallengeName>

where <ChallengeName> is any of

Unstoppable, NaiveReceiver, Truster, SideEntrance, TheRewarder, Selfie, 
Compromised, Puppet, PuppetV2, FreeRider, Backdoor, Climber

About

Solutions to Damn Vulnerable DeFi challenges using the Brownie framework.


Languages

Language:Solidity 83.9%Language:Python 16.1%