Skip to main content

Chain IDs

Complete reference for Monolythium chain identifiers.

!!! info "Canonical Source" The canonical source of truth for all network configuration values is the monolythium/networks repository. All tools (monoctl, monod) fetch configuration from this repository to prevent configuration drift.

Chain ID Summary

NetworkCosmos Chain IDEVM Chain ID (Dec)EVM Chain ID (Hex)
Localnetmono-local-12621450x40001
Sprintnetmono-sprint-12621460x40002
Testnetmono-test-12621470x40003
Mainnetmono-12621480x40004

Cosmos Chain IDs

Used for:

  • Cosmos SDK transactions
  • CLI commands
  • Keplr/Leap wallet configuration
  • CometBFT connections

Format: mono-<environment>-<version>

Verifying Chain ID

# Via RPC
curl -s localhost:26657/status | jq '.result.node_info.network'

# Via CLI
monod status | jq '.NodeInfo.network'

EVM Chain IDs

Used for:

  • MetaMask network configuration
  • EIP-155 transaction signing
  • Smart contract deployment
  • ethers.js/web3.js configuration

Verifying EVM Chain ID

curl -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}' \
localhost:8545

Response:

{"jsonrpc":"2.0","id":1,"result":"0x40002"}

Configuration Examples

MetaMask

FieldSprintnet Value
Network NameMonolythium Sprintnet
Chain ID262146
Currency SymbolLYTH

Hardhat

module.exports = {
networks: {
sprintnet: {
chainId: 262146,
url: "https://rpc.sprintnet.monolythium.com:8545"
},
testnet: {
chainId: 262147,
url: "https://rpc.testnet.monolythium.com:8545"
},
mainnet: {
chainId: 262148,
url: "https://rpc.monolythium.com:8545"
}
}
};

Keplr

{
chainId: "mono-sprint-1",
chainName: "Monolythium Sprintnet",
// ...
}

Common Issues

Wrong Chain ID

If transactions fail with "Chain ID mismatch":

  1. Verify you're using the correct chain ID for the network
  2. Remove and re-add the network in your wallet
  3. Reset the wallet connection

EVM vs Cosmos Confusion

Remember:

  • Cosmos operations use string chain IDs (mono-sprint-1)
  • EVM operations use numeric chain IDs (262146)

Both represent the same network.