8000 GitHub - beeb/damn-vulnerable-defi: My solutions for the Damn Vulnerable DeFi challenges
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

beeb/damn-vulnerable-defi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Damn Vulnerable DeFi

Official Website

Run forge install to get the standard library and dependencies.

To solve a puzzle, copy the relevant contracts from the official repo into the src directory.

Then, create a new test file in the test directory and translate the setup from the official tests.

The test contract should inherit from the test/utils/Fixtures.sol:BaseFixture contract so that the deployer, player and other user addresses are available for the setup.

Finally, run the tests with:

forge test -vvv

About

My solutions for the Damn Vulnerable DeFi challenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0