config: add canonical Metani network metadata - #1
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3cf0584321
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -0,0 +1 @@ | |||
| {"version":1,"updatedAt":"2026-05-04","mainnet":{"chainId":1229800785,"chainIdHex":"0x494d4551","chainName":"iTani Network Chain","nativeCurrency":{"name":"ITANI","symbol":"ITANI","legacySymbols":["ITN"],"decimals":18},"rpcUrls":["https://relay.itaninetworkchain.com/jsonrpc","https://node.itaninetworkchain.com/jsonrpc"],"restUrls":["https://relay.itaninetworkchain.com","https://node.itaninetworkchain.com"],"blockExplorerUrls":["https://explorer.itaninetworkchain.com","https://node.itaninetworkchain.com/explorer"],"status":"production-candidate"},"testnet":{"chainId":1229800785,"chainIdHex":"0x494d4551","chainName":"iTani Network Chain Testnet","nativeCurrency":{"name":"ITANI","symbol":"ITANI","legacySymbols":["ITN"],"decimals":18},"rpcUrls":["https://testnet.itaninetworkchain.com/jsonrpc"],"restUrls":["https://testnet.itaninetworkchain.com"],"blockExplorerUrls":["https://testnet.itaninetworkchain.com/explorer"],"status":"testnet"},"deprecatedEndpoints":["https://itani-network-chain-kirdnwz4rq-uc.a.run.app/jsonrpc","https://itani-network-chain-1009642477948.us-central1.run.app"]} | |||
There was a problem hiding this comment.
Use a distinct chain ID for testnet metadata
mainnet.chainId and testnet.chainId are both set to 1229800785 (and both hex IDs match), which makes the two networks indistinguishable to any client keyed by chain ID (common for EVM wallets/config loaders). In that scenario, testnet/mainnet entries collide, so users can be connected to the wrong RPC/explorer or have one environment silently overwrite the other.
Useful? React with 👍 / 👎.
Adds
metani-network.config.jsonto align icon metadata with canonical iTani Chain ID, RPC, explorer and symbol values.No icon binary changes.