8000
Skip to content

Annehuqr0Craft96/Mitosis-Farm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mitosis-Farm

Mitosis Farm — Automation tool for Mitosis programmable liquidity protocol with cross-chain yield farming, Matrix Vault management, EOL strategy execution, miAssets/maAssets operations, multi-chain DeFi integration, and Rich-styled CLI for liquidity protocol participation

          #                           #          
 #:  :#          #                               
 ##  ##          #                               
 ##..## ###    #####   ###   :###:  ###    :###: 
 #:  :#   #      #    #   #  #: .#    #    #: .# 
 # ## #   #      #    #   #  #:.      #    #:.   
 # #  #   #      #    #   #  .###:    #    .###: 
 #    #   #      #.   #   #     :#    #       :# 
 #    #   #      #.   #   #  #. :#    #    #. :# 
 #    # #####    :##   ###   :###:  #####  :###: 

CLI for Mitosis — Programmable Liquidity Protocol

Python License Platform Mitosis

Rich-styled CLI for cross-chain yield farming on Mitosis. Matrix Vaults, EOL strategies, miAssets/maAssets — all from your terminal.

Getting Started · Features · Configuration · Usage · FAQ


🔗 Official Mitosis Links

Step Link Description
1 Mitosis Homepage Official website — explore the Mitosis ecosystem
2 Mitosis App Deposit to Matrix / EOL Vaults, manage Hub Assets
3 Mitosis Docs Technical documentation, SDK references, architecture
4 Mitosis University Guides on cross-chain yield strategies and liquidity

Mitosis is a multi-chain liquidity protocol that transforms DeFi positions into programmable components. Deposit once — earn yield across Ethereum, BSC, Polygon, Arbitrum, Optimism, Avalanche, and Base.


⚡ Features

Vault Management

  • ✅ Matrix Vault — maAssets, curated liquidity campaigns
  • ✅ EOL Vault — miAssets, ecosystem-owned liquidity
  • ✅ Hub Assets — tradeable, collateral, yield decomposition
  • ✅ Cross-chain yield routing
  • ✅ Supported chains overview

CLI & Infrastructure

  • ✅ Rich-styled terminal UI (tables, panels, colors)
  • ✅ Interactive settings menu (RPC, API, proxy, chains)
  • ✅ SOCKS5 proxy support
  • ✅ Create Stream demo (Matrix/EOL connection)
  • ✅ Built-in documentation & code examples

📦 Getting Started

Prerequisites

  • Python 3.8 or higher (download)
  • pip (included with Python)
  • A Mitosis-compatible wallet for app.mitosis.org

Installation

Option A — Windows (one-click):

Double-click run.bat — it installs dependencies and launches the menu.

Option B — Manual (all platforms):

git clone https://github.com/user/Mitosis-Farm.git
cd Mitosis-Farm
pip install -r requirements.txt
python main.py

Dependencies

Package Version Purpose
rich ≥ 13.0 Terminal UI — tables, panels, progress bars
web3 ≥ 6.0 Ethereum/EVM RPC interaction
requests ≥ 2.28 HTTP client for Mitosis API calls

⚙ Configuration

config.json — Main Settings

All settings are saved automatically via the Settings menu (option 2). You can also edit the file directly:

{
  "rpc_endpoint": "https://rpc.mitosis.org",
  "api_key": "your_mitosis_api_key_here",
  "private_key": "",
  "socks5_proxy": "socks5://127.0.0.1:1080",
  "default_chains": ["ethereum", "bsc", "polygon"],
  "default_vaults": ["matrix", "eol"],
  "matrix_enabled": true,
  "eol_enabled": true
}
Setting Description
rpc_endpoint Mitosis RPC URL for chain interaction
api_key Your Mitosis API key (optional)
private_key Wallet private key for on-chain operations
socks5_proxy SOCKS5 proxy address (leave empty for direct)
default_chains Active chains — ethereum, bsc, polygon, arbitrum, optimism, avalanche, base
default_vaults Active vault types — matrix (maAssets) and/or eol (miAssets)
matrix_enabled Enable Matrix Vault campaigns
eol_enabled Enable EOL (Ecosystem-Owned Liquidity) strategies

🚀 Usage

python main.py

The interactive menu:

╔══════════════════════════════════════════════════════╗
║                    Mitosis Farm                       ║
║              Programmable Liquidity CLI                ║
╚══════════════════════════════════════════════════════╝

  ╭──────────────────────────────────────────────────╮
  │  1   Install Dependencies                        │
  │  2   Settings — RPC, API, proxy, chains, vaults  │
  │  3   Create Stream — Matrix/EOL Vault demo       │
  │  4   Documentation — Mitosis docs links          │
  │  5   Examples — deposit, yield, miAssets          │
  │  6   Supported Chains — networks table           │
  │  7   About — project info and disclaimer         │
  │  0   Exit                                        │
  ╰──────────────────────────────────────────────────╯

  Select option (0-7):
Option What it does
1 Installs rich, web3, requests from requirements.txt via pip
2 Opens settings — edit RPC endpoint, API key, proxy, chains, vaults
3 Runs a 5-second demo connecting to Matrix/EOL Vault with progress spinner
4 Displays links to Mitosis docs, university guides, and app
5 Shows code samples for deposit, yield farming, miAssets/maAssets
6 Displays a table of supported networks with vault types
7 Shows project info, Mitosis features, hashtags, and disclaimer
0 Exit the application

📁 Project Structure

Mitosis-Farm/
├── main.py                Entry point — Rich CLI menu and all features
├── config.json            Settings (RPC, API key, proxy, chains, vaults)
├── requirements.txt       Python dependencies (rich, web3, requests)
├── about/
│   ├── mitosis_about.txt  Mitosis protocol description and disclaimer
│   ├── hashtags.txt       Project hashtags for social sharing
│   ├── hashtags_project.txt   Project-specific tags
│   └── hashtags_farming.txt   Farming/yield-specific tags
└── README.md              This file

❓ FAQ

ModuleNotFoundError: No module named 'rich'

Run option 1 from the menu or manually:

pip install -r requirements.txt
What are miAssets and maAssets?

miAssets are governance tokens issued through the EOL (Ecosystem-Owned Liquidity) framework. They maintain 1:1 pegs to underlying assets and grant holders voting power over liquidity allocation.

maAssets represent multi-asset positions deployed through Matrix campaigns. They let you participate in curated liquidity campaigns with predetermined lock-up periods and yield targets.

What is the difference between Matrix and EOL Vaults?

Matrix Vaults offer curated campaigns — you deposit into specific strategies with known durations (e.g., 60 days) and yield targets. Think "managed yield."

EOL (Ecosystem-Owned Liquidity) gives governance control — miAsset holders vote on how pooled liquidity is deployed across protocols. Think "community-directed yield."

Which chains are supported?

Mitosis currently supports: Ethereum, BNB Chain (BSC), Polygon, Arbitrum, Optimism, Avalanche, Base, and the native Mitosis Chain (settlement layer for Hub Assets). Use option 6 in the menu to view the full table.

Can I use a proxy?

Yes. Set the socks5_proxy field in config.json or configure it through the Settings menu (option 2). Format: socks5://ip:port or socks5://user:pass@ip:port.

Is this the official Mitosis client?

No. This is an independent console tool for interacting with the Mitosis protocol. For official operations, use app.mitosis.org. This tool is for educational and research purposes.


⚠️ Disclaimer

This tool is for educational and informational purposes only. The authors are not affiliated with Mitosis. Not investment, tax, or legal advice. Use real funds at your own risk — review the Mitosis documentation before interacting with any vaults. The authors are not responsible for any financial losses.


If this tool helped you explore Mitosis, consider leaving a ⭐

About

Mitosis Farm — Automation tool for Mitosis programmable liquidity protocol with cross-chain yield farming, Matrix Vault management, EOL strategy execution, miAssets/maAssets operations, multi-chain DeFi integration, and Rich-styled CLI for liquidity protocol participation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

0