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: a1edae265e
ℹ️ 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 a unique chain ID for testnet
The testnet entry reuses the same chainId/chainIdHex as mainnet (1229800785 / 0x494d4551), which makes the two environments indistinguishable to consumers that key network identity by chain ID (EIP-155 semantics). In practice, wallet or indexer code reading this config can route testnet traffic as mainnet (or vice versa), and signed transactions lose network separation guarantees. Use a distinct testnet chain ID and matching hex value.
Useful? React with 👍 / 👎.
Adds
metani-network.config.jsonto align asset metadata with canonical iTani Chain ID, RPC, explorer and symbol values.No asset binary changes.