Skip to content

Core smart contract of OptyFi's Earn protocol

License

Notifications You must be signed in to change notification settings

dhruvinparikh/earn-protocol

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Earn protocol Install, lint and test pipeline

Earn protocol

Core smart contract of OptyFi's Earn protocol

Prerequisite

To run the project :

Installation

Clone earn-protocol

git clone https://github.com/Opty-Fi/earn-protocol.git

Run yarn install to install necessary dependencies.

Run yarn run to view all available tasks.

Compile and Test

Compile all contracts

yarn compile

Test all contracts

yarn test

Setup and Deployments

For setting up all essential actions (deploying contracts, executing functions).

# hardhat
    yarn setup
# localhost
    yarn setup:local
# staging
    yarn setup:staging

For deploying infrastructure contracts in Optyfi protocol.

# hardhat
    yarn deploy-infra
# localhost
    yarn deploy-infra:local
# staging
    yarn deploy-infra:staging

View more tasks

About

Core smart contract of OptyFi's Earn protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.2%
  • Solidity 6.8%