Skip to content

mixbytes/hardhat-farm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hardhat-farm

Educational repo for demonstration of some DeFi security-related mehcanics, used in MixBytes Farm educational Course

Installation

Solve installation problems by yourself using hardhat documentation. Here is the easiest way

Install Node.JS 12+

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

Clone test hardhat-farm repo with examples

git clone https://github.com/mixbytes/hardhat-farm.git
cd hardhat-farm
npm install hardhat
npm install

Make tests run

npx harhdat test

Make one separate test run example

npx hardhat test test/Metamorph.js