UCS04 - Universal Chain ID
Chain IDs as reported by chains themselves are unfortunately not universally unique. For example, ID 1 is used for both Ethereum and Aptos.
To disambiguate, UCS04 defines universal_chain_id as <chain_family_name>.<chain_id>. <chain_family_name> is hard to formally define. It loosely means “The short lowercase display name of the mainnet of the network”.
These IDs are used across all Union products. In addition to disambiguation, they have the additional advantage that chains are easier to recognize in logs, chats, and config files.
Universal Chain IDs
This is a list of all universal_chain_ids currently recognized by Union. To add yours, open a PR for the universal-chain-ids.json.
aptos
aptos.1aptos.2arbitrum
arbitrum.421614bob
bob.60808bob.808813babylon
babylon.bbn-1babylon.bbn-test-5berachain
berachain.80069berachain.80084berachain.80094corn
corn.21000000corn.21000001ethereum
ethereum.11155111ethereum.17000ethereum.1movement
movement.250osmosis
osmosis.osmo-test-5scroll
scroll.534351stargaze
stargaze.elgafar-1stride
stride.stride-internal-1union
union.union-testnet-8union.union-testnet-9union.union-testnet-10union.union-1xion
xion.xion-testnet-2xion.xion-mainnet-1sei
sei.pacific-1sei.atlantic-2sei.1328sei.1329