Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 701 Bytes

README.md

File metadata and controls

51 lines (31 loc) · 701 Bytes

@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