project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

DCA.Monster

DCA.Monster is a novel AMM leveraging ERC20 streams for granular, efficient on-chain DCA. Combining Uniswap V2's power with Token Streaming, we're enabling "Infinite Granularity DCA" and a more dynamic DCA experience. Making advanced on-chain DCA

DCA.Monster

Created At

ETHGlobal Paris

Winner of

🥇 Cartesi — Best Use

Project Description

Project Description

Introduction

While on-chain DCA solutions do exist, they are uncommon and frequently accompanied by an array of difficulties. DCA.Monster was created to address these issues by developing a new AMM based on Uniswap V2 that seamlessly combines with Streamable tokens and runs a Cartesi rollup.

Problem Statement

Current on-chain DCA solutions suffer from:

  • Dependence on third-party bots or keepers to execute transactions
  • Capital inefficiency as it remains locked in smart contracts between transactions
  • Inability to integrate with DEXs
  • Gas inefficiency
  • Lack of granularity in price range
  • Lack of flexibility in time range

Our Solution: DCA.Monster

DCA.Monster AMM merges with ERC20 streams to efficiently and with infinite granularity implement DCA on-chain. It optimizes capital and gas usage, integrates with DEXs, and provides both granular pricing and flexible timing.

Without Cartesi's rollups technology, such an implementation would be computationally expensive due to the complex calculations required for AMM streams recalculations. However, Cartesi's rollups enable us to perform these computations off-chain on any device, with the results verified on-chain.

How it's Made

Implementation Details

Our implementation consists of both a frontend and a dApp/backend:

  • Dapp/backend:

    • AMM based on Uniswap V2 written in python combined with Streamable tokens also written in python that combine seamlessly with the AMM to create a DCA experience.
    • Built upon the Cartesi dapp rollups-examples custom dapp starter
    • Uses RISC-V base Docker images to install Python dependencies
    • Ready for "prod" mode operation
  • Frontend:

    • Utilizes the template-web3-app] from TurboETH that incorporates:
      • Rainbow kit for wallet connection: Metamask, WalletConnect, Portis, Torus, Authereum, Fortmatic, and Squarelink
      • Next JS for frontend framework
      • Tailwind CSS for styling
      • Web3 React for Ethereum JavaScript API
      • Wagmi and RainbowKit for additional functionality
background image mobile

Join the mailing list

Get the latest news and updates