← Back to home

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

Screenshots

DCA.Monster screenshot 1
DCA.Monster screenshot 2
DCA.Monster screenshot 3
DCA.Monster screenshot 4
DCA.Monster screenshot 5
DCA.Monster screenshot 6

Problem Statement

Project DescriptionIntroductionWhile 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 StatementCurrent on-chain DCA solutions suffer from:Dependence on third-party bots or keepers to execute transactionsCapital inefficiency as it remains locked in smart contracts between transactionsInability to integrate with DEXsGas inefficiencyLack of granularity in price rangeLack of flexibility in time rangeOur Solution: DCA.MonsterDCA.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.

Solution

Implementation DetailsOur 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 starterUses RISC-V base Docker images to install Python dependenciesReady for "prod" mode operationFrontend:Utilizes the template-web3-app] from TurboETH that incorporates:Rainbow kit for wallet connection: Metamask, WalletConnect, Portis, Torus, Authereum, Fortmatic, and SquarelinkNext JS for frontend frameworkTailwind CSS for stylingWeb3 React for Ethereum JavaScript APIWagmi and RainbowKit for additional functionality

Hackathon

ETHGlobal Paris

2024

Prizes

  • 🏆

    🥇 Cartesi — Best Use

Contributors

  • md0x
    md0x

    30 contributions