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: 8da85ec4f7
ℹ️ 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.
Give testnet a distinct chain ID
The testnet section reuses the same chainId/chainIdHex as mainnet, which causes consumers that key by chain ID to treat both environments as the same network. In practice this can break environment separation (e.g., wallet/network registration collisions and mainnet metadata being used against testnet RPCs), and it also defeats the replay-protection assumption that chain IDs are unique per EVM network.
Useful? React with 👍 / 👎.
Adds
metani-network.config.jsonso token metadata can be synchronized against the same Chain ID, RPC, explorer and token symbol source used by the apps.No token address changes in this PR.