Skip to content

Commit 63a6af2

Browse files
committed
Add Alchemy info to BSC chains
1 parent 576b4e7 commit 63a6af2

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

environment.ts

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,26 @@ const getEnvironment = async (): Promise<Environment> => {
241241
CHAINS: [
242242
ethereumMainnet,
243243
ethereumSepolia,
244-
bscTestnet,
245-
bsc,
244+
{
245+
...bsc,
246+
rpcUrls: {
247+
...bsc.rpcUrls,
248+
alchemy: {
249+
http: ['https://bnb-mainnet.g.alchemy.com/v2'],
250+
webSocket: ['wss://bnb-mainnet.g.alchemy.com/v2'],
251+
},
252+
},
253+
},
254+
{
255+
...bscTestnet,
256+
rpcUrls: {
257+
...bscTestnet.rpcUrls,
258+
alchemy: {
259+
http: ['https://bnb-testnet.g.alchemy.com/v2'],
260+
webSocket: ['wss://bnb-testnet.g.alchemy.com/v2'],
261+
},
262+
},
263+
},
246264
polygon,
247265
{
248266
id: 80_002,

0 commit comments

Comments
 (0)