From 19bcec9592c4ab11b9fe5731c4ee4950ae521e19 Mon Sep 17 00:00:00 2001 From: Vivian Plasencia Date: Wed, 18 Dec 2024 00:23:26 +0100 Subject: [PATCH] feat: support more networks in the blockchain credential fix #640 --- apps/api/.env.example | 10 +++++++ libs/utils/src/getSupportedNetworks.ts | 40 ++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/apps/api/.env.example b/apps/api/.env.example index 66edfa55..84944d37 100644 --- a/apps/api/.env.example +++ b/apps/api/.env.example @@ -31,3 +31,13 @@ POLYGON_AMOY_RPC_URL= OPTIMISM_SEPOLIA_RPC_URL= ARBITRUM_SEPOLIA_RPC_URL= AVALANCHE_C_CHAIN_FUJI_RPC_URL= +BASE_SEPOLIA_RPC_URL= +LINEA_SEPOLIA_RPC_URL= +SCROLL_SEPOLIA_RPC_URL= +ETHEREUM_RPC_URL= +POLYGON_RPC_URL= +OPTIMISM_RPC_URL= +ARBITRUM_RPC_URL= +BASE_RPC_URL= +LINEA_RPC_URL= +SCROLL_RPC_URL= diff --git a/libs/utils/src/getSupportedNetworks.ts b/libs/utils/src/getSupportedNetworks.ts index 93244476..85e98c42 100644 --- a/libs/utils/src/getSupportedNetworks.ts +++ b/libs/utils/src/getSupportedNetworks.ts @@ -20,6 +20,46 @@ export const blockchainCredentialSupportedNetworks: BlockchainNetwork[] = [ { id: "avalanche_c_chain_fuji", name: "Avalanche C-Chain Fuji" + }, + { + id: "base_sepolia", + name: "Base Sepolia" + }, + { + id: "linea_sepolia", + name: "Linea Sepolia" + }, + { + id: "scroll_sepolia", + name: "Scroll Sepolia" + }, + { + id: "ethereum", + name: "Ethereum" + }, + { + id: "polygon", + name: "Polygon" + }, + { + id: "optimism", + name: "Optimism" + }, + { + id: "arbitrum", + name: "Arbitrum" + }, + { + id: "base", + name: "Base" + }, + { + id: "linea", + name: "Linea" + }, + { + id: "scroll", + name: "Scroll" } ]