Code Monkey home page Code Monkey logo

damnvulnerabledefi-solutions's Introduction

DamnVulnerableDeFi-Solutions

This is a collection of source files representing work on Damn Vulnerable DeFi. Most of the challenges were completed using Web3.fs as the RPC library, because I didn't know Hardhat when I started on them.

Deploy* files are used to set up the scenario for a given level.
Level*-Attack.sol represent Solidity contracts used by the attacker, if required.
Level*-script.fsx represent the "code your exploit" section from the hardhat test files, implemented in Web3.fs.
Level*-Contracts.sol are usually just copies of the target contract(s) from a given level. They may contain modifications from testing/understanding the exploit for my own notes, but don't represent the contract as-deployed during exploitation.
Level*-script.js is a level completed with the Hardhat testing rig. It will contain only the modifications to the test script, not the whole script. Typically it's imports for putting at the top of the file, and then the section that represents the exploitation.

damnvulnerabledefi-solutions's People

Contributors

jmhickman avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.