Page cover

Cross-Chain Hub (CLI)

The Cross-Chain Hub in JuliaOS provides comprehensive bridge integration for cross-chain token transfers, transaction status tracking, and bridge settings management.

Using the Cross-Chain Hub via CLI

Start the interactive CLI:

node scripts/interactive.cjs

Navigate the menu:

  • Select "🌉 Bridge Operations" from the main menu

  • Choose from the following options:

    • Bridge Tokens

    • View Bridge Status

    • View Transaction History

    • Configure Bridge Settings

Supported Bridge Protocols

  • Wormhole

  • LayerZero

  • Axelar

  • Synapse

  • Across

  • Hop Protocol

  • Stargate Protocol

Supported Networks

  • Ethereum, Solana, Polygon, BSC, Avalanche, Arbitrum, Optimism, Fantom, and more

Example: Bridging Tokens

node scripts/interactive.cjs
# Select "🌉 Bridge Operations" -> "Bridge Tokens"
# Follow the prompts to specify source chain, target chain, token, amount, and recipient

Features

  • Route finding, fee estimation, transaction execution, status tracking, and transaction history

  • Asset discovery, balance aggregation, wrapped asset info, and price tracking

  • Bridge settings configuration (default bridge, gas, slippage, timeout)

For more details and advanced usage, see the Cross-Chain Hub documentation.