Skip to main content

bridge/variables/GALACHAIN_CHANNELS.md

const GALACHAIN_CHANNELS: object

Internal GalaChain Channel IDs (for wrap/unwrap operations)

Different from external CHAIN_IDS used for Ethereum/Solana bridges. These represent internal GalaChain channels for cross-channel token transfers.

Type Declaration​

NameTypeDescription
ASSET1Asset channel - where wrapped tokens (GMUSIC, GWETH, GALA, etc.) live
MUSIC3Music channel - where native MUSIC token lives (legacy)

Example​

// Wrap: MUSIC (music channel) → GMUSIC (asset channel)
destinationChainId: GALACHAIN_CHANNELS.ASSET

// Unwrap: GMUSIC (asset channel) → MUSIC (music channel)
destinationChainId: GALACHAIN_CHANNELS.MUSIC