OpenMM provides a command-line interface for interacting with multiple cryptocurrency exchanges using a unified set of commands.
Installation & Setup
Recommended: Global Installation
# Build the project firstnpminstallnpmrunbuild# Install globally to use 'openmm' command anywherenpminstall-g.# Now use openmm from anywhereopenmm [command] [options]
Alternative: Development Mode
# Run commands during development (without global install)npmruncli-- [command] [options]
Alternative: Using npx
Supported Exchanges
Currently supported exchanges:
mexc - MEXC Exchange (fully implemented)
gateio - Gate.io (fully implemented)
bitget - Bitget (fully implemented)
kraken - Kraken (fully implemented with WebSocket support)
Cardano Integration
OpenMM includes comprehensive Cardano DEX integration through Iris Protocol:
Pool Discovery - Find optimal liquidity pools for Cardano native tokens
Price Aggregation - Get liquidity-weighted prices from multiple DEXes
Token Management - Easy addition and configuration of new Cardano tokens
# MEXC - All Open Orders
openmm orders list --exchange mexc
# Gate.io - All Open Orders
openmm orders list --exchange gateio
# Bitget - Open Orders for SNEK/USDT
openmm orders list --exchange bitget --symbol SNEK/USDT
# Kraken - Open Orders for ADA/EUR
openmm orders list --exchange kraken --symbol ADA/EUR
# Discover pools for NIGHT token
openmm pool-discovery discover NIGHT
# Discover top 5 pools for SNEK token
openmm pool-discovery discover SNEK --limit 5
# Find pools with minimum $50K liquidity for INDY
openmm pool-discovery discover INDY --min-liquidity 50000
# Show all available pools for a token
openmm pool-discovery discover INDY --show-all
# See all supported Cardano tokens
openmm pool-discovery supported
openmm pool-discovery prices NIGHT
# Compare SNEK across DEX and CEX
openmm price-comparison --symbol SNEK
# Compare INDY prices
openmm price-comparison --symbol INDY
openmm --help # Main help
openmm balance --help # Balance command help
openmm orders --help # Orders command help
openmm orders create --help # Order creation help
openmm ticker --help # Ticker command help
openmm orderbook --help # Order book command help
openmm trades --help # Trades command help
openmm pool-discovery --help # Pool discovery help
openmm price-comparison --help # Price comparison help