Video thumbnail

Mocha

A dynamic vault creation and strategy creation system -- the no-code, full-custody solution for on-chain automated trading algorithms that interact with top defi protocols

Mocha

Created At

ETHSanFrancisco 2022

Project Description

Mocha enables the creation of tokenized vaults (ERC-4626) that can automatically create complex atomic transactions depending on market conditions.

The vault creation process gives users the ability to design no-code algorithmic trading strategies.

There is also a future social feature where the top-performing vaults are displayed and users can buy into top vaults and strategies.

How it's Made

In order for a strategy to execute certain price conditions needed to be triggered. This is done through Price.sol. We track prices through the Chainlink Feed Registry. We use off-chain searchers (OpenZeppelin Defender) to call these triggers.

Actions are the basic building blocks of strategies. In its current implementation we have two basic actions:

  1. Integration with Compound
  2. Integration with UniSwapV3

Front end built with Rainbowkit, React, and wagmi hooks.

background image mobile

Join the mailing list

Get the latest news and updates