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
| Network | Cosmos Chain ID | EVM Chain ID (Dec) | EVM Chain ID (Hex) |
|---|---|---|---|
| Localnet | mono-local-1 | 262145 | 0x40001 |
| Sprintnet | mono-sprint-1 | 262146 | 0x40002 |
| Testnet | mono-test-1 | 262147 | 0x40003 |
| Mainnet | mono-1 | 262148 | 0x40004 |
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
| Field | Sprintnet Value |
|---|---|
| Network Name | Monolythium Sprintnet |
| Chain ID | 262146 |
| Currency Symbol | LYTH |
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":
- Verify you're using the correct chain ID for the network
- Remove and re-add the network in your wallet
- 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.
Related
- Networks - Network overview
- MetaMask Setup - Wallet configuration