Skip to content

The modular liquidity hub. Trade spot assets, mint options, earn hedged yield.

Notifications You must be signed in to change notification settings


Repository files navigation

DeFund Finance

DeFund Finance is a sovereign rollup built on Celestia using Rollkit, designed to create a rich DeFi ecosystem that serves as a hub for all modular liquidity. By leveraging the Celestia DA (Data Availability) layer, DeFund Finance aims to provide a comprehensive suite of DeFi products and services tailored to the modular blockchain ecosystem.

Key Features

  • Spot Exchange: DeFund Finance offers a state-of-the-art decentralized exchange that combines the best features of an orderbook and an automated market maker (AMM) model, providing deep liquidity, efficient price discovery, and minimal slippage for traders.

  • Hedged Liquidity Pools: DeFund Finance's Hedged Liquidity Pools are an innovative solution to the problem of impermanent loss faced by liquidity providers in traditional AMMs. These pools work in conjunction with the Spot Exchange, serving as the main source of liquidity for the exchange while minimizing impermanent loss through an automated hedging mechanism.

  • Option Vaults: Option Vaults bring the power of customizable risk management to the DeFi space. Users can mint customized options using a unique Dutch auction mechanism, providing a novel approach to hedging, yield generation, and market speculation.

  • Asset Abstraction: DeFund Finance takes asset interoperability and accessibility to the next level through the integration of Calypso and the Cosmos extension for Metamask. These integrations enable users to perform any action with any asset using the most widely adopted wallet, MetaMask.


DeFund Finance is built on a robust and scalable architecture that leverages the power of Rollkit and Celestia to create a high-performance, secure, and flexible platform for decentralized finance.

  • Rollkit + Celestia: The combination of Rollkit and Celestia enables DeFund Finance to create a sovereign rollup that benefits from the security and scalability of Celestia's DA layer while maintaining the flexibility and customization offered by Rollkit.

  • Asset Abstraction: DeFund Finance integrates Calypso and the Cosmos Metamask Snap to enable seamless interoperability between different blockchain networks and assets. Users can perform any action with any token, regardless of its native blockchain, using the familiar Metamask wallet.

Getting Started



You will need Golang, Rust, the Hermes IBC relayer, and the DeFund Golang relayer ( installed to run in dev.

git clone

cd defund

make install

Getting Started in Dev/Local Mode

make init

make create-conn

# Wait for the connection to be acknowledged then edit ./network/relayer/config.yaml by changing the connection and client ids to match what your relayer returned
make init-rly

# start the relayer for interchain querying
make start-rly

# start hermes for ICA tx's
make start-hermes

Bash Testing Framework

# test all main commands
make test-all

# test the create fund command
make test-create-fund

# test the create shares command
make test-create-shares

# test the redeem shares command
make test-redeem-shares


The following can be run to get started in dev on the frontend.

cd $HOME/defund/vue
npm i
npm run dev


  • Structured Products
  • Options + Option Vaults
  • Hybrid DEX
  • Revamped tokenomics (distribution + utility/function)
  • Non-standard/Alternative Asset options
  • Hedged Liquidity Pools
  • Auto-trade/super-trade functionality
  • Cross-VM outposts
  • Support for more chains and tokens

CLI Documentation (Deprecated)