From 91069ece5abc2504189b4ea74107bb141b008cc4 Mon Sep 17 00:00:00 2001 From: Martin Kainzbauer Date: Thu, 2 Nov 2023 21:05:23 +0100 Subject: [PATCH] chore: explorer update tweak --- .github/workflows/deploy-to-pages.yml | 1 + config/chainIds.json | 3 ++ config/chains.json | 75 ++++++++++++++++++++++++++- config/explorers.json | 27 +++++++++- config/rpcs.json | 3 ++ scripts/getExplorerInfo.js | 6 +-- 6 files changed, 110 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-to-pages.yml b/.github/workflows/deploy-to-pages.yml index ca1faa3c5..51c576ba8 100644 --- a/.github/workflows/deploy-to-pages.yml +++ b/.github/workflows/deploy-to-pages.yml @@ -13,6 +13,7 @@ on: - "COPYING" - "docs/**" - ".vscode/**" + - "scripts/**" jobs: build-push: diff --git a/config/chainIds.json b/config/chainIds.json index 204edb9a7..bf6c8717d 100644 --- a/config/chainIds.json +++ b/config/chainIds.json @@ -634,6 +634,9 @@ 70001, 70103, 70002, + 60001, + 60103, + 60002, 108, 18, 404040, diff --git a/config/chains.json b/config/chains.json index 161f21498..2530742aa 100644 --- a/config/chains.json +++ b/config/chains.json @@ -10610,7 +10610,8 @@ { "name": "Oasis Emerald Testnet Explorer", "url": "https://testnet.explorer.emerald.oasis.dev", - "standard": "EIP3091" + "standard": "EIP3091", + "iframe": true } ], "shortName": "emerald-testnet" @@ -15335,6 +15336,78 @@ ], "shortName": "TKM2" }, + { + "name": "Thinkium Testnet Chain 1", + "rpc": [ + "https://test1.thinkiumrpc.net/" + ], + "faucets": [ + "https://www.thinkiumdev.net/faucet" + ], + "nativeCurrency": { + "name": "TKM", + "symbol": "TKM", + "decimals": 18 + }, + "chainId": 60001, + "explorers": [ + { + "name": "thinkiumscan", + "url": "https://test1.thinkiumscan.net", + "standard": "EIP3091", + "iframe": true + } + ], + "shortName": "TKM-test1" + }, + { + "name": "Thinkium Testnet Chain 103", + "rpc": [ + "https://test103.thinkiumrpc.net/" + ], + "faucets": [ + "https://www.thinkiumdev.net/faucet" + ], + "nativeCurrency": { + "name": "TKM", + "symbol": "TKM", + "decimals": 18 + }, + "chainId": 60103, + "explorers": [ + { + "name": "thinkiumscan", + "url": "https://test103.thinkiumscan.net", + "standard": "EIP3091", + "iframe": true + } + ], + "shortName": "TKM-test103" + }, + { + "name": "Thinkium Testnet Chain 2", + "rpc": [ + "https://test2.thinkiumrpc.net/" + ], + "faucets": [ + "https://www.thinkiumdev.net/faucet" + ], + "nativeCurrency": { + "name": "TKM", + "symbol": "TKM", + "decimals": 18 + }, + "chainId": 60002, + "explorers": [ + { + "name": "thinkiumscan", + "url": "https://test2.thinkiumscan.net", + "standard": "EIP3091", + "iframe": true + } + ], + "shortName": "TKM-test2" + }, { "name": "ThunderCore Mainnet", "rpc": [ diff --git a/config/explorers.json b/config/explorers.json index 531bfebaa..b2aedeb41 100644 --- a/config/explorers.json +++ b/config/explorers.json @@ -4413,7 +4413,8 @@ { "name": "Oasis Emerald Testnet Explorer", "url": "https://testnet.explorer.emerald.oasis.dev", - "standard": "EIP3091" + "standard": "EIP3091", + "iframe": true } ], "42262": [ @@ -4641,6 +4642,30 @@ "iframe": true } ], + "60001": [ + { + "name": "thinkiumscan", + "url": "https://test1.thinkiumscan.net", + "standard": "EIP3091", + "iframe": true + } + ], + "60002": [ + { + "name": "thinkiumscan", + "url": "https://test2.thinkiumscan.net", + "standard": "EIP3091", + "iframe": true + } + ], + "60103": [ + { + "name": "thinkiumscan", + "url": "https://test103.thinkiumscan.net", + "standard": "EIP3091", + "iframe": true + } + ], "61803": [ { "name": "eticascan", diff --git a/config/rpcs.json b/config/rpcs.json index 1e90d6e28..245c41ed9 100644 --- a/config/rpcs.json +++ b/config/rpcs.json @@ -534,6 +534,9 @@ "58008": "https://sepolia.publicgoods.network", "59140": "https://rpc.goerli.linea.build", "59144": "https://rpc.linea.build", + "60001": "https://test1.thinkiumrpc.net/", + "60002": "https://test2.thinkiumrpc.net/", + "60103": "https://test103.thinkiumrpc.net/", "61803": "https://eticamainnet.eticascan.org", "62621": "https://rpc.mtv.ac", "63000": "https://rpc.ecredits.com", diff --git a/scripts/getExplorerInfo.js b/scripts/getExplorerInfo.js index 6f822ef58..99e8b1117 100644 --- a/scripts/getExplorerInfo.js +++ b/scripts/getExplorerInfo.js @@ -3,9 +3,9 @@ const path = require("path"); const config = require("../config/app"); const fetch = require("node-fetch"); -const BATCH_SIZE = 25; -const BATCH_TIMEOUT = 10; -const CALL_TIMEOUT = 15; +const BATCH_SIZE = 35; +const BATCH_TIMEOUT = 8; +const CALL_TIMEOUT = 16; const main = async () => { const startTime = Date.now();