An open API service indexing awesome lists of open source software.

https://github.com/vdaubry/minidca

Minimalistic DCA smart contract
https://github.com/vdaubry/minidca

Last synced: 5 months ago
JSON representation

Minimalistic DCA smart contract

Awesome Lists containing this project

README

          

# MiniDCA

This project demonstrates a basic DCA protocol. Similar to mean.finance

## start a local blockchain and deploy smart contract

```shell
hh node --network hardhat
```

## Mint USDC locally :

```shell
hh run ./scripts/mintUsdc.js --network localhost
```

## Tests :

```shell
hh test
```

## Gas report :

```shell
hh test
```

=> Results in gas-report.txt

## Deploy to testnet

```shell
hh deploy --network goerli
```