Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Connect to Canmo

RPC endpoints, chain IDs, and how to add Canmo to your wallet or dApp.

Network Reference

Canmo Mainnet

FieldValue
Network NameCanmo Mainnet
Chain ID167000
Chain ID (Hex)0x28C58
RPC URLhttps://rpc.mainnet.canmo.xyz
Explorerhttps://canmoscan.io
Explorer APIhttps://api.etherscan.io/v2/api?chainid=167000
Bridgehttps://bridge.canmo.xyz
Native CurrencyETH

Canmo Hoodi Testnet

FieldValue
Network NameCanmo Hoodi
Chain ID167013
Chain ID (Hex)0x28C65
RPC URLhttps://rpc.hoodi.canmo.xyz
Explorerhttps://hoodi.canmoscan.io
Explorer APIhttps://api.etherscan.io/v2/api?chainid=167013
Bridgehttps://bridge.hoodi.canmo.xyz
Native CurrencyETH

L1 Reference Chains

Canmo settles to Ethereum L1. Use these chain IDs when configuring L1 connections.

NetworkChain ID
Ethereum Mainnet1
Ethereum Hoodi560048

Summary

NetworkChain IDRPCExplorer
Canmo Mainnet167000https://rpc.mainnet.canmo.xyzhttps://canmoscan.io
Canmo Hoodi Testnet167013https://rpc.hoodi.canmo.xyzhttps://hoodi.canmoscan.io
Ethereum Mainnet1Use your preferred Ethereum RPChttps://etherscan.io
Ethereum Hoodi560048Use your preferred Hoodi RPChttps://hoodi.etherscan.io/

Prompt mode

Paste this into your coding agent to configure Canmo in one prompt:

Reference http://localhost:5173/SKILL.md
 
Add Canmo mainnet and Hoodi testnet to my wagmi config.
Use chain ID 167000 for mainnet and 167013 for testnet.

Manual mode

Add Canmo to MetaMask

Open MetaMask → Settings → Networks → Add Network and enter:

FieldValue
Network NameCanmo Mainnet
RPC URLhttps://rpc.mainnet.canmo.xyz
Chain ID167000
CurrencyETH
Explorerhttps://canmoscan.io

Configure wagmi / viem

Use defineChain to add Canmo mainnet and testnet to your app config.

import { defineChain } from 'viem'
 
export const canmoMainnet = defineChain({
  id: 167_000,
  name: 'Canmo Mainnet',
  nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
  rpcUrls: {
    default: { http: ['https://rpc.mainnet.canmo.xyz'] },
  },
  blockExplorers: {
    default: { name: 'Canmoscan', url: 'https://canmoscan.io' },
  },
})
 
export const canmoHoodi = defineChain({
  id: 167_013,
  name: 'Canmo Hoodi',
  nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
  rpcUrls: {
    default: { http: ['https://rpc.hoodi.canmo.xyz'] },
  },
  blockExplorers: {
    default: { name: 'Canmoscan', url: 'https://hoodi.canmoscan.io' },
  },
})

EIP-3085: wallet_addEthereumChain

Use these JSON params to programmatically prompt users to add Canmo.

Mainnet
{
  "chainId": "0x28C58",
  "chainName": "Canmo Mainnet",
  "nativeCurrency": {
    "name": "Ether",
    "symbol": "ETH",
    "decimals": 18
  },
  "rpcUrls": ["https://rpc.mainnet.canmo.xyz"],
  "blockExplorerUrls": ["https://canmoscan.io"]
}

Bootnodes

Find the bootnodes for the respective chains in the simple-canmo-node repo sample .env files: