Skip to main content

DCA.Monster

DCA.Monster

A novel AMM leveraging ERC20 streams for granular, efficient on-chain DCA.
Hackathon ProjectDeFi

Team

Salvador Pablo Maldonado Turci
mangolassi#0

Languages, Libraries & Stacks

Share project

About DCA Monster

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.

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

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 Rollups, such an implementation would be computationally expensive due to the complex calculations required for AMM streams recalculations. However, Cartesi Rollups enables us to perform these computations off-chain on any device, with the results verified on-chain.

How it's Made

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

Gallery

Anyone is free to submit information about their project. Do your own research and use your best judgment when using or interacting with any of the projects listed in this directory. Being listed in this directory is not an endorsement from the Cartesi Foundation or any other related entity.

Explore similar projects

Bidsquad
Hackathon Project

Bidsquad

BidSquad is a groundbreaking carbon credit auction platform that leverages the power of blockchain technology and AI to conduct reverse auctions for carbon credit certification.

Bima Coin
Hackathon Project

Bima Coin

Bima for the people, Bima by the people

p2pix
Hackathon Project

p2pix

A trustless p2p solution for exchanging FIAT to ERC20 layer 2 tokens