From f95ec812afe38faf18dbe138afd477604c291a58 Mon Sep 17 00:00:00 2001 From: ivan grachev Date: Mon, 2 Dec 2024 21:22:51 +0300 Subject: [PATCH] add world --- Tools/Bundled/BundledNodes.swift | 1 + Tools/Bundled/bundled-networks.json | 5 +++++ Tools/Helpers/nodes-to-bundle.json | 1 + Tools/main.swift | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Tools/Bundled/BundledNodes.swift b/Tools/Bundled/BundledNodes.swift index dea45e4e..9eda3350 100644 --- a/Tools/Bundled/BundledNodes.swift +++ b/Tools/Bundled/BundledNodes.swift @@ -30,6 +30,7 @@ struct BundledNodes { 338: "evm-t3.cronos.org", 420: "goerli.optimism.io", 424: "rpc.publicgoods.network", + 480: "worldchain-mainnet.g.alchemy.com/public", 690: "rpc.redstonechain.com", 1001: "api.baobab.klaytn.net:8651", 1088: "andromeda.metis.io/?owner=1088", diff --git a/Tools/Bundled/bundled-networks.json b/Tools/Bundled/bundled-networks.json index d2afc0b1..2b651453 100644 --- a/Tools/Bundled/bundled-networks.json +++ b/Tools/Bundled/bundled-networks.json @@ -150,6 +150,11 @@ "o" : true, "s" : "ETH" }, + "480" : { + "b" : "https://worldscan.org", + "n" : "World Chain", + "s" : "ETH", + }, "690" : { "b" : "https://explorer.redstone.xyz", "n" : "Redstone", diff --git a/Tools/Helpers/nodes-to-bundle.json b/Tools/Helpers/nodes-to-bundle.json index b2952db3..06c0d19a 100644 --- a/Tools/Helpers/nodes-to-bundle.json +++ b/Tools/Helpers/nodes-to-bundle.json @@ -26,6 +26,7 @@ "338" : "evm-t3.cronos.org", "420" : "goerli.optimism.io", "424" : "rpc.publicgoods.network", + "480" : "worldchain-mainnet.g.alchemy.com/public", "690" : "rpc.redstonechain.com", "1001" : "api.baobab.klaytn.net:8651", "1088" : "andromeda.metis.io/?owner=1088", diff --git a/Tools/main.swift b/Tools/main.swift index 942643f7..48436dda 100644 --- a/Tools/main.swift +++ b/Tools/main.swift @@ -30,7 +30,7 @@ fetchChains { chains in let currentNodes = try! JSONDecoder().decode([String: String].self, from: currentNodesData) let currentIds = Set(currentNetworks.keys) - let newChainsIds = Set([810180]) + let newChainsIds = Set([480]) let newChains = chains.filter { chain in let isEIP3091 = chain.explorers?.contains(where: { $0.standard == "EIP3091" }) == true