From 54188f4d0591241f27fae9fb3ee2227f1e047c53 Mon Sep 17 00:00:00 2001 From: Satoshi Otomakan Date: Wed, 18 Dec 2024 09:22:03 +0100 Subject: [PATCH 1/4] [Misc]: Update block explorers for Algorand and Eth Boba chains --- registry.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/registry.json b/registry.json index 87180cf17b8..994999420dd 100644 --- a/registry.json +++ b/registry.json @@ -1786,8 +1786,8 @@ "curve": "ed25519", "publicKeyType": "ed25519", "explorer": { - "url": "https://app.dappflow.org/explorer", - "txPath": "/transaction/", + "url": "https://allo.info", + "txPath": "/tx/", "accountPath": "/account/", "sampleTx": "CR7POXFTYDLC7TV3IXHA7AZKWABUJC52BACLHJQNXAKZJGRPQY3A", "sampleAccount": "J4AEINCSSLDA7LNBNWM4ZXFCTLTOZT5LG3F5BLMFPJYGFWVCMU37EZI2AM" @@ -3872,7 +3872,7 @@ "chainId": "288", "addressHasher": "keccak256", "explorer": { - "url": "https://blockexplorer.boba.network", + "url": "https://eth.bobascan.com", "txPath": "/tx/", "accountPath": "/address/", "sampleTx": "0x31533707c3feb3b10f7deeea387ff8893f229253e65ca6b14d2400bf95b5d103", From cdb20649336bedf0ea90c439f5dede4c9a3635f6 Mon Sep 17 00:00:00 2001 From: Satoshi Otomakan Date: Wed, 18 Dec 2024 10:18:50 +0100 Subject: [PATCH 2/4] [Misc]: Update block explorer for Nano chain * Fix C++ tests --- registry.json | 2 +- tests/chains/Algorand/SignerTests.cpp | 2 +- tests/chains/Algorand/TWAnySignerTests.cpp | 2 +- tests/chains/Algorand/TWCoinTypeTests.cpp | 4 ++-- tests/chains/Boba/TWCoinTypeTests.cpp | 4 ++-- tests/chains/Nano/TWCoinTypeTests.cpp | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/registry.json b/registry.json index 994999420dd..baa503bdfe9 100644 --- a/registry.json +++ b/registry.json @@ -1565,7 +1565,7 @@ "publicKeyType": "ed25519Blake2b", "url": "https://nano.org", "explorer": { - "url": "https://www.nanolooker.com", + "url": "https://nanexplorer.com/nano", "txPath": "/block/", "accountPath": "/account/", "sampleTx": "C264DB7BF40738F0CEFF19B606746CB925B713E4B8699A055699E0DC8ABBC70F", diff --git a/tests/chains/Algorand/SignerTests.cpp b/tests/chains/Algorand/SignerTests.cpp index 1eef1ada080..cc3736ccd2a 100644 --- a/tests/chains/Algorand/SignerTests.cpp +++ b/tests/chains/Algorand/SignerTests.cpp @@ -84,7 +84,7 @@ TEST(AlgorandSigner, Sign) { } TEST(AlgorandSigner, SignAssetNFTTransfer) { - // Successfully broadcasted: https://app.dappflow.org/explorer/transaction/FFLUH4QKZHG744RIQ2AZNWZUSIIH262KZ4MEWSY4RXMWN5NMOOJA + // Successfully broadcasted: https://allo.info/tx/FFLUH4QKZHG744RIQ2AZNWZUSIIH262KZ4MEWSY4RXMWN5NMOOJA auto key = PrivateKey(parse_hex("dc6051ffc7b3ec601bde432f6dea34d40fe3855e4181afa0f0524c42194a6da7")); auto publicKey = key.getPublicKey(TWPublicKeyTypeED25519); auto from = Address(publicKey); diff --git a/tests/chains/Algorand/TWAnySignerTests.cpp b/tests/chains/Algorand/TWAnySignerTests.cpp index 7d82693add4..b60685fc277 100644 --- a/tests/chains/Algorand/TWAnySignerTests.cpp +++ b/tests/chains/Algorand/TWAnySignerTests.cpp @@ -15,7 +15,7 @@ using namespace TW; namespace TW::Algorand::tests { TEST(TWAnySignerAlgorand, SignAssetNFTTransfer) { - // Successfully broadcasted: https://app.dappflow.org/explorer/transaction/FFLUH4QKZHG744RIQ2AZNWZUSIIH262KZ4MEWSY4RXMWN5NMOOJA + // Successfully broadcasted: https://allo.info/tx/FFLUH4QKZHG744RIQ2AZNWZUSIIH262KZ4MEWSY4RXMWN5NMOOJA auto privateKey = parse_hex("dc6051ffc7b3ec601bde432f6dea34d40fe3855e4181afa0f0524c42194a6da7"); Data note = Base64::decode("VFdUIFRPIFRIRSBNT09O"); auto genesisHash = Base64::decode("wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8="); diff --git a/tests/chains/Algorand/TWCoinTypeTests.cpp b/tests/chains/Algorand/TWCoinTypeTests.cpp index 0f7caba2bb3..3e74467a395 100644 --- a/tests/chains/Algorand/TWCoinTypeTests.cpp +++ b/tests/chains/Algorand/TWCoinTypeTests.cpp @@ -25,8 +25,8 @@ TEST(TWAlgorandCoinType, TWCoinType) { ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeAlgorand)); ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeAlgorand)); assertStringsEqual(symbol, "ALGO"); - assertStringsEqual(txUrl, "https://app.dappflow.org/explorer/transaction/CR7POXFTYDLC7TV3IXHA7AZKWABUJC52BACLHJQNXAKZJGRPQY3A"); - assertStringsEqual(accUrl, "https://app.dappflow.org/explorer/account/J4AEINCSSLDA7LNBNWM4ZXFCTLTOZT5LG3F5BLMFPJYGFWVCMU37EZI2AM"); + assertStringsEqual(txUrl, "https://allo.info/tx/CR7POXFTYDLC7TV3IXHA7AZKWABUJC52BACLHJQNXAKZJGRPQY3A"); + assertStringsEqual(accUrl, "https://allo.info/account/J4AEINCSSLDA7LNBNWM4ZXFCTLTOZT5LG3F5BLMFPJYGFWVCMU37EZI2AM"); assertStringsEqual(id, "algorand"); assertStringsEqual(name, "Algorand"); } diff --git a/tests/chains/Boba/TWCoinTypeTests.cpp b/tests/chains/Boba/TWCoinTypeTests.cpp index a5e5201bf27..43b4a62856e 100644 --- a/tests/chains/Boba/TWCoinTypeTests.cpp +++ b/tests/chains/Boba/TWCoinTypeTests.cpp @@ -25,8 +25,8 @@ TEST(TWBobaCoinType, TWCoinType) { ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeBoba)); ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeBoba)); assertStringsEqual(symbol, "BOBAETH"); - assertStringsEqual(txUrl, "https://blockexplorer.boba.network/tx/0x31533707c3feb3b10f7deeea387ff8893f229253e65ca6b14d2400bf95b5d103"); - assertStringsEqual(accUrl, "https://blockexplorer.boba.network/address/0x4F96F50eDB37a19216d87693E5dB241e31bD3735"); + assertStringsEqual(txUrl, "https://eth.bobascan.com/tx/0x31533707c3feb3b10f7deeea387ff8893f229253e65ca6b14d2400bf95b5d103"); + assertStringsEqual(accUrl, "https://eth.bobascan.com/address/0x4F96F50eDB37a19216d87693E5dB241e31bD3735"); assertStringsEqual(id, "boba"); assertStringsEqual(name, "Boba"); } diff --git a/tests/chains/Nano/TWCoinTypeTests.cpp b/tests/chains/Nano/TWCoinTypeTests.cpp index a0b033eeade..236020317fd 100644 --- a/tests/chains/Nano/TWCoinTypeTests.cpp +++ b/tests/chains/Nano/TWCoinTypeTests.cpp @@ -25,8 +25,8 @@ TEST(TWNanoCoinType, TWCoinType) { ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeNano)); ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeNano)); assertStringsEqual(symbol, "XNO"); - assertStringsEqual(txUrl, "https://www.nanolooker.com/block/C264DB7BF40738F0CEFF19B606746CB925B713E4B8699A055699E0DC8ABBC70F"); - assertStringsEqual(accUrl, "https://www.nanolooker.com/account/nano_1wpj616kwhe1y38y1mspd8aub8i334cwybqco511iyuxm55zx8d67ptf1tsf"); + assertStringsEqual(txUrl, "https://nanexplorer.com/nano/block/C264DB7BF40738F0CEFF19B606746CB925B713E4B8699A055699E0DC8ABBC70F"); + assertStringsEqual(accUrl, "https://nanexplorer.com/nano/account/nano_1wpj616kwhe1y38y1mspd8aub8i334cwybqco511iyuxm55zx8d67ptf1tsf"); assertStringsEqual(id, "nano"); assertStringsEqual(name, "Nano"); } From 9f42ff6a2a948fbfc9796173dc45ca3da96c0fb7 Mon Sep 17 00:00:00 2001 From: Satoshi Otomakan Date: Wed, 18 Dec 2024 10:29:10 +0100 Subject: [PATCH 3/4] [Misc]: Update block explorer for Callisto chain --- registry.json | 4 ++-- tests/chains/Callisto/TWCoinTypeTests.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/registry.json b/registry.json index baa503bdfe9..70b98c90709 100644 --- a/registry.json +++ b/registry.json @@ -2541,9 +2541,9 @@ "chainId": "820", "addressHasher": "keccak256", "explorer": { - "url": "https://explorer.callisto.network", + "url": "https://explorer.callistodao.org", "txPath": "/tx/", - "accountPath": "/addr/" + "accountPath": "/address/" }, "info": { "url": "https://callisto.network", diff --git a/tests/chains/Callisto/TWCoinTypeTests.cpp b/tests/chains/Callisto/TWCoinTypeTests.cpp index 752e2349656..ba8ed18e998 100644 --- a/tests/chains/Callisto/TWCoinTypeTests.cpp +++ b/tests/chains/Callisto/TWCoinTypeTests.cpp @@ -25,8 +25,8 @@ TEST(TWCallistoCoinType, TWCoinType) { ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeCallisto)); ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeCallisto)); assertStringsEqual(symbol, "CLO"); - assertStringsEqual(txUrl, "https://explorer.callisto.network/tx/t123"); - assertStringsEqual(accUrl, "https://explorer.callisto.network/addr/a12"); + assertStringsEqual(txUrl, "https://explorer.callistodao.org/tx/t123"); + assertStringsEqual(accUrl, "https://explorer.callistodao.org/address/a12"); assertStringsEqual(id, "callisto"); assertStringsEqual(name, "Callisto"); } From 855d9d467b16087dcd3b7a467308ef1aebc739f0 Mon Sep 17 00:00:00 2001 From: Satoshi Otomakan Date: Wed, 18 Dec 2024 10:31:53 +0100 Subject: [PATCH 4/4] [Misc]: Update block explorer for Smart Bitcoin Cash chain --- registry.json | 2 +- tests/chains/SmartBitcoinCash/TWCoinTypeTests.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/registry.json b/registry.json index 70b98c90709..c5edff27ed7 100644 --- a/registry.json +++ b/registry.json @@ -3810,7 +3810,7 @@ "chainId": "10000", "addressHasher": "keccak256", "explorer": { - "url": "https://www.smartscan.cash", + "url": "https://www.smartscout.cash", "txPath": "/tx/", "accountPath": "/address/", "sampleTx": "0x6413466b455b17d03c7a8ce2d7f99fec34bcd338628bdd2d0580a21e3197a4d9", diff --git a/tests/chains/SmartBitcoinCash/TWCoinTypeTests.cpp b/tests/chains/SmartBitcoinCash/TWCoinTypeTests.cpp index 30c048093bc..f40629fd167 100644 --- a/tests/chains/SmartBitcoinCash/TWCoinTypeTests.cpp +++ b/tests/chains/SmartBitcoinCash/TWCoinTypeTests.cpp @@ -25,8 +25,8 @@ TEST(TWSmartBitcoinCashCoinType, TWCoinType) { ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeSmartBitcoinCash)); ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeSmartBitcoinCash)); assertStringsEqual(symbol, "BCH"); - assertStringsEqual(txUrl, "https://www.smartscan.cash/tx/0x6413466b455b17d03c7a8ce2d7f99fec34bcd338628bdd2d0580a21e3197a4d9"); - assertStringsEqual(accUrl, "https://www.smartscan.cash/address/0xFeEc227410E1DF9f3b4e6e2E284DC83051ae468F"); + assertStringsEqual(txUrl, "https://www.smartscout.cash/tx/0x6413466b455b17d03c7a8ce2d7f99fec34bcd338628bdd2d0580a21e3197a4d9"); + assertStringsEqual(accUrl, "https://www.smartscout.cash/address/0xFeEc227410E1DF9f3b4e6e2E284DC83051ae468F"); assertStringsEqual(id, "smartbch"); assertStringsEqual(name, "Smart Bitcoin Cash"); }