DeFi Project: Generating Unit Tests using LLMs

Installation

  1. Clone this repository
  2. Create and activate a virtual environment
  3. Install dependencies pip install -r requirements.txt
  4. Install the npm package manager using nvm
  5. Install Ganache (deprecated, but a dependency of the Brownie framework): https://github.com/trufflesuite/ganache
  6. In the cloned repository folder, clone the dataset repository from huggingface. This will also require installing Git LFS. https://huggingface.co/datasets/mwritescode/slither-audited-smart-contracts