Project structure
contracts/ton_dca_master.tact- The main contract that manages the deployment of wallet contractscontracts/ton_dca_wallet.tact- A wallet contract that implements DCA logic for any Wallet (V4 or greater)front/*- Files from the frontend repository were used as a beta UI for testing
User flow
- Interact with DCA Master to create a Dca Wallet (
CreateWalletmessage) - Setting the USDT Jeton Address by sending an
InitUsdtJettonAddressmessage - Topping up USDT Wallet (Jetton)
- Handle buying TON via external message "ProcessPay"
Swap provided by STON.fi
