README
Alpaca Contract
Leveraged yield farming on Binance Smart Chain
Local Development
The following assumes the use of node@>=14.
Install Dependencies
- Copy
.env.examplefile and change its name to.envin the project folder - Run
yarnto install all dependencies
Compile Contracts
yarn compile
Note: There will be a new folder called typechain generated in your project workspace. You will need to navigate to typechain/index.ts and delete duplicated lines inside this file in order to proceed.
Run Tests
yarn test
Licensing
The primary license for Alpaca Protocol is the MIT License, see MIT LICENSE.
Exceptions
- Single Asset LYF:
contracts/6/protocol/workers/CakeMaxiWorker.soland all files incontracts/6/protocol/strategies/pancakeswapV2-restricted-single-assetare licensed under Business Source License 1.1 (BUSL-1.1) (as indicated in their SPDX headers), see BUSL-1.1 - All files in
testsremain unlicensed.