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
- Host: GitHub
- URL: https://github.com/vdaubry/minidca
- Owner: vdaubry
- Created: 2022-11-21T10:40:47.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T19:26:54.000Z (almost 3 years ago)
- Last Synced: 2025-01-13T22:35:27.902Z (12 months ago)
- Language: JavaScript
- Size: 1.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```