Welcome to FlexDCA, where seamless crypto swaps meet the well-known Dollar Cost Averaging (DCA) strategy. Diversify and enhance your portfolio effortlessly with our user-friendly platform. Simplify crypto investing with precision and strategy, using the tried-and-true DCA approach for optimal results.
Before you begin, you need to install the following tools:
- Node (v18 LTS)
- Yarn (v1 or v2+)
- Git
To get started with Scaffold-ETH 2, follow the steps below:
- Clone this repo & install dependencies
git clone https://github.com/scaffold-eth/scaffold-eth-2.git
cd scaffold-eth-2
yarn install
- Run a local network in the first terminal:
yarn chain
This command starts a local Ethereum network using Hardhat. The network runs on your local machine and can be used for testing and
development. You can
customize the network configuration in hardhat.config.ts
.
- On a second terminal, deploy the test contract:
yarn deploy
This command deploys a test smart contract to the local network. The contract is located in packages/hardhat/contracts
and can be modified
to suit your needs.
The yarn deploy
command uses the deploy script located in packages/hardhat/deploy
to deploy the contract to the network. You can also
customize the deploy
script.
- On a third terminal, start your NextJS app:
yarn start
yarn deploy --network sepolia --reset
yarn verify --network sepolia
yarn deploy --network polygonMumbai --reset
yarn verify --network polygonMumbai
You can get test USDC on Uniswap (USDC in the list when you switched to Mumbai network).
yarn deploy --network polygonZkEvm --reset
yarn verify --network polygonZkEvm
yarn deploy --network polygon --reset
yarn verify --network polygon
yarn deploy --network avalanche --reset
yarn verify --network avalanche
0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064
0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006500000000000000000000000000000000000000000000000000000000000000c8
0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c9000000000000000000000000000000000000000000000000000000000000012c
0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000012d0000000000000000000000000000000000000000000000000000000000000190
0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000019100000000000000000000000000000000000000000000000000000000000001f4
Note: Register upkeeps for each strategy!