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: 39bfa9e926
ℹ️ 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.
Assign unique chainId for testnet metadata
The testnet block reuses the exact same chainId/chainIdHex as mainnet (1229800785 / 0x494d4551), which makes the two environments indistinguishable for any consumer keyed by chain ID. In practice, sync/import logic or wallet network management will either overwrite one entry with the other or be unable to add both networks, so testnet routing can silently point to mainnet settings (or vice versa).
Useful? React with 👍 / 👎.
Adds
metani-network.config.jsonso chainlist metadata can be synchronized against the same RPC, explorer, token symbol and Chain ID source used by the apps.No deployment or chain ID change.