From 63a6af2c7f85c35ea0eab517a3aa6b1f0575a992 Mon Sep 17 00:00:00 2001 From: Nicolas Mahe Date: Wed, 19 Mar 2025 17:20:40 +0700 Subject: [PATCH] Add Alchemy info to BSC chains --- environment.ts | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/environment.ts b/environment.ts index 6f86d457..628497f9 100644 --- a/environment.ts +++ b/environment.ts @@ -241,8 +241,26 @@ const getEnvironment = async (): Promise => { CHAINS: [ ethereumMainnet, ethereumSepolia, - bscTestnet, - bsc, + { + ...bsc, + rpcUrls: { + ...bsc.rpcUrls, + alchemy: { + http: ['https://bnb-mainnet.g.alchemy.com/v2'], + webSocket: ['wss://bnb-mainnet.g.alchemy.com/v2'], + }, + }, + }, + { + ...bscTestnet, + rpcUrls: { + ...bscTestnet.rpcUrls, + alchemy: { + http: ['https://bnb-testnet.g.alchemy.com/v2'], + webSocket: ['wss://bnb-testnet.g.alchemy.com/v2'], + }, + }, + }, polygon, { id: 80_002,