Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.02 KB

README.md

File metadata and controls

61 lines (38 loc) · 1.02 KB

DEUS V3 Core Contracts

Our V3 contracts are written using the EIP-2535 "Diamond" Standard, please read the documentation before interacting with them. Our Diamond contract is deployed here.

Usage

Before being able to run any command, you need to create a .env file. You can follow the example in .env.example.

Then, proceed with installing dependencies:

$ yarn install

Compile

Compile the smart contracts with Hardhat:

$ yarn compile

TypeChain

Compile the smart contracts and generate TypeChain bindings:

$ yarn typechain

Test

Run the tests with Hardhat:

$ yarn test

Coverage

Generate the code coverage report:

$ yarn coverage

Clean

Delete the smart contract artifacts, the coverage reports and the Hardhat cache:

$ yarn clean

Deploy

Deploy the contracts to Hardhat Network:

$ yarn deploy