diff --git a/docs/registry.md b/docs/registry.md index d8596339af9..2ebf73898d2 100644 --- a/docs/registry.md +++ b/docs/registry.md @@ -93,9 +93,9 @@ This list is generated from [./registry.json](../registry.json) | 10000330 | Terra | LUNA | | | | 10000553 | Huobi ECO Chain | HT | | | | 10001088 | Metis | METIS | | | +| 10001101 | Polygon zkEVM | ETH | | | | 10001284 | Moonbeam | GLMR | | | | 10001285 | Moonriver | MOVR | | | -| 10001422 | Polygon zkEVM | ETH | | | | 10002020 | Ronin | RON | | | | 10002222 | KavaEvm | KAVA | | | | 10008217 | Klaytn | KLAY | | | diff --git a/registry.json b/registry.json index 5c0321f7720..50b668a94fc 100644 --- a/registry.json +++ b/registry.json @@ -2127,7 +2127,7 @@ "id": "polygonzkevm", "name": "Polygon zkEVM", "displayName": "Polygon zkEVM", - "coinId": 10001422, + "coinId": 10001101, "slip44": 60, "symbol": "ETH", "decimals": 18, @@ -2139,17 +2139,17 @@ ], "curve": "secp256k1", "publicKeyType": "secp256k1Extended", - "chainId": "1422", + "chainId": "1101", "addressHasher": "keccak256", "explorer": { - "url": "https://explorer.public.zkevm-test.net", + "url": "https://zkevm.polygonscan.com", "txPath": "/tx/", "accountPath": "/address/" }, "info": { "url": "https://www.polygon.technology/", "source": "https://github.com/0xpolygonhermez", - "rpc": "https://rpc.public.zkevm-test.net", + "rpc": "https://zkevm-rpc.com", "documentation": "https://wiki.polygon.technology/docs/zkEVM/introduction/" } }, diff --git a/tests/chains/PolygonZkEvm/TWCoinTypeTests.cpp b/tests/chains/PolygonZkEvm/TWCoinTypeTests.cpp index 2dcd8d80d08..27f131816e8 100644 --- a/tests/chains/PolygonZkEvm/TWCoinTypeTests.cpp +++ b/tests/chains/PolygonZkEvm/TWCoinTypeTests.cpp @@ -16,9 +16,9 @@ TEST(TWPolygonZkEVMCoinType, TWCoinType) { const auto id = WRAPS(TWCoinTypeConfigurationGetID(coin)); const auto name = WRAPS(TWCoinTypeConfigurationGetName(coin)); const auto chainId = WRAPS(TWCoinTypeChainId(coin)); - const auto txId = WRAPS(TWStringCreateWithUTF8Bytes("0xfbe568183495ad2ec95f0232501e86018bff3e4ca52aaa804983b380dc39d523")); + const auto txId = WRAPS(TWStringCreateWithUTF8Bytes("0xc70fd1a45b3130f5515a27d96f01a7f508099fb0b8af52ef432d5e4b2373dccd")); const auto txUrl = WRAPS(TWCoinTypeConfigurationGetTransactionURL(coin, txId.get())); - const auto accId = WRAPS(TWStringCreateWithUTF8Bytes("0xC5C39Ec2a271d84d67c0e66a68238102A2ec4b98")); + const auto accId = WRAPS(TWStringCreateWithUTF8Bytes("0x81d98c8fda0410ee3e9d7586cb949cd19fa4cf38")); const auto accUrl = WRAPS(TWCoinTypeConfigurationGetAccountURL(coin, accId.get())); assertStringsEqual(id, "polygonzkevm"); @@ -28,9 +28,9 @@ TEST(TWPolygonZkEVMCoinType, TWCoinType) { ASSERT_EQ(TWCoinTypeBlockchain(coin), TWBlockchainEthereum); ASSERT_EQ(TWCoinTypeP2shPrefix(coin), 0x0); ASSERT_EQ(TWCoinTypeStaticPrefix(coin), 0x0); - assertStringsEqual(chainId, "1422"); - assertStringsEqual(txUrl, "https://explorer.public.zkevm-test.net/tx/0xfbe568183495ad2ec95f0232501e86018bff3e4ca52aaa804983b380dc39d523"); - assertStringsEqual(accUrl, "https://explorer.public.zkevm-test.net/address/0xC5C39Ec2a271d84d67c0e66a68238102A2ec4b98"); + assertStringsEqual(chainId, "1101"); + assertStringsEqual(txUrl, "https://zkevm.polygonscan.com/tx/0xc70fd1a45b3130f5515a27d96f01a7f508099fb0b8af52ef432d5e4b2373dccd"); + assertStringsEqual(accUrl, "https://zkevm.polygonscan.com/address/0x81d98c8fda0410ee3e9d7586cb949cd19fa4cf38"); } } // namespace TW::TWZksync::tests