JSPM

  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q71805F
  • License GPL-2.0

๐Ÿ’ฑ Periphery smart contracts of DCA V2 by mean.finance

Package Exports

  • @mean-finance/dca-v2-periphery
  • @mean-finance/dca-v2-periphery/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mean-finance/dca-v2-periphery) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

DCA V2 - Periphery

Lint Tests (unit, integration) npm version

This repository contains the periphery smart contracts for the DCA V2 Protocol.

๐Ÿ’ฐ Bug bounty

This repository is subject to the DCA V2 bug bounty program, per the terms defined here.

๐Ÿ“– Docs

Check our docs at docs.mean.finance

๐Ÿ“ฆ NPM/YARN Package

  • NPM Installation
npm install @mean-finance/dca-v2-periphery
  • Yarn installation
yarn add @mean-finance/dca-v2-periphery

๐Ÿ‘จโ€๐Ÿ’ป Development environment

  • Copy environment file
cp .env.example .env
  • Fill environment file with your information
nano .env

๐Ÿงช Testing

Unit

yarn test:unit

Will run all tests under test/unit

Integration

You will need to set up the development environment first, please refer to the development environment section.

yarn test:integration

Will run all tests under test/integration

๐Ÿšข Deployment

You will need to set up the development environment first, please refer to the development environment section.

yarn deploy --network [network]

The plugin hardhat-deploy is used to deploy contracts.

Licensing

The primary license for DCA V2 Periphery is the GNU General Public License v2.0 (GPL-2.0-or-later), see LICENSE.

Exceptions

  • All files in contracts/mocks remain unlicensed.