Skip to content

CruzMolina/perp-vault-templates

Repository files navigation

@stakedao/opyn-perp-vault

StakeDaoPerpVault Solidity smart contracts

Prerequisites

Installation

To install all necessary dependencies, from project root run:

npm ci

add a .secret file containing your testing mnemonic at the project root folder.

Compiling contracts

To compile the contracts, from project root run:

npm run compile

Testing contracts

To test the contracts, from project root run the following:

Running unit tests

npm run test

Mainnet fork test

npm run test:fork

Coverage

Generate test coverage report

npm run test:coverage