DCA: It is an investment strategy in which the user divides up the total amount to be invested across periodic purchases of a target asset in an effort to reduce the impact of volatility on the overall purchase.
This bot allows the user to automatically purchase 100 USDC worth of ETH repeatedly at a 7 days interval.
-
Install required dependencies
yarn install
-
Create
.env
file. Fill up the variables from.env.sample
to it.
PRIVATE_KEY=
USER_ADDRESS=
POKT_KEY=
! Make sure that the PRIVATE_KEY
corresponds to the USER_ADDRESS
.
! To get POKT_KEY
, head over to Pocket Portal
- Fill up the
USER_ADDRESS
address withUSDC
and someETH
to pay for the gas.
- Simply run
yarn start