diff --git a/system/netlify/functions/keep-mint.mjs b/system/netlify/functions/keep-mint.mjs index 26002a174..df92f1d8e 100644 --- a/system/netlify/functions/keep-mint.mjs +++ b/system/netlify/functions/keep-mint.mjs @@ -39,7 +39,7 @@ const NETWORK = process.env.TEZOS_NETWORK || "mainnet"; const OVEN_URL = process.env.OVEN_URL || "https://oven.aesthetic.computer"; const OVEN_FALLBACK_URL = "https://oven.aesthetic.computer"; // Always available fallback const RPC_URL = NETWORK === "mainnet" - ? "https://rpc.tzbeta.net" + ? "https://rpc.tzkt.io/mainnet" : "https://rpc.ghostnet.teztnets.com"; // IPFS Gateway configuration diff --git a/system/netlify/functions/keep-prepare-background.mjs b/system/netlify/functions/keep-prepare-background.mjs index 31dc2575d..431ca9cd1 100644 --- a/system/netlify/functions/keep-prepare-background.mjs +++ b/system/netlify/functions/keep-prepare-background.mjs @@ -36,7 +36,7 @@ const NETWORK = process.env.TEZOS_NETWORK || "mainnet"; const OVEN_URL = process.env.OVEN_URL || "https://oven.aesthetic.computer"; const OVEN_FALLBACK_URL = "https://oven.aesthetic.computer"; const RPC_URL = NETWORK === "mainnet" - ? "https://rpc.tzbeta.net" + ? "https://rpc.tzkt.io/mainnet" : "https://rpc.ghostnet.teztnets.com"; const VERSION_BY_PROFILE = { diff --git a/system/netlify/functions/keep-update.mjs b/system/netlify/functions/keep-update.mjs index 32197b01f..c6f3d614b 100644 --- a/system/netlify/functions/keep-update.mjs +++ b/system/netlify/functions/keep-update.mjs @@ -24,7 +24,7 @@ if (dev) { const NETWORK = process.env.TEZOS_NETWORK || "mainnet"; const TZKT_API = NETWORK === "mainnet" ? "https://api.tzkt.io/v1" : `https://api.${NETWORK}.tzkt.io/v1`; const RPC_URL = NETWORK === "mainnet" - ? "https://rpc.tzbeta.net" + ? "https://rpc.tzkt.io/mainnet" : "https://rpc.ghostnet.teztnets.com"; // Helper to convert string to bytes (for Tezos metadata) diff --git a/system/netlify/functions/keeps-config.mjs b/system/netlify/functions/keeps-config.mjs index 046260fe5..903dbf71e 100644 --- a/system/netlify/functions/keeps-config.mjs +++ b/system/netlify/functions/keeps-config.mjs @@ -66,7 +66,7 @@ function resolveVersion(secretDoc, profile, network) { } function rpcForNetwork(network) { - return network === "mainnet" ? "https://rpc.tzbeta.net" : "https://rpc.ghostnet.teztnets.com"; + return network === "mainnet" ? "https://rpc.tzkt.io/mainnet" : "https://rpc.ghostnet.teztnets.com"; } function tzktForNetwork(network) {