From 0e062aa600c1b86d1a09e13dd185c765991d8cd4 Mon Sep 17 00:00:00 2001 From: Cameron Chisholm Date: Thu, 21 Dec 2023 11:07:46 +0000 Subject: [PATCH 1/2] chore: add RPCs --- src/services/config.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/services/config.ts b/src/services/config.ts index 171fa2a4a..d6245aa1b 100644 --- a/src/services/config.ts +++ b/src/services/config.ts @@ -8,18 +8,18 @@ export function getExtendConfig(env: string = process.env.REACT_APP_NEAR_ENV) { url: 'https://rpc.mainnet.near.org', simpleName: 'official rpc', }, - // publicRpc: { - // url: 'https://public-rpc.blockpi.io/http/near', - // simpleName: 'blockpi rpc', - // }, - // infuraRpc: { - // url: 'https://near-mainnet.infura.io/v3/391d915322284599936f0ee962399dc1', - // simpleName: 'infura rpc', - // }, ankrRpc: { url: 'https://rpc.ankr.com/near', simpleName: 'ankr rpc', }, + oneRpc: { + url: 'https://1rpc.io/near', + simpleName: '1rpc', + }, + fastNearRpc: { + url: 'https://rpc.web4.near.page', + simpleName: 'fast-near', + }, }, pool_protocol: 'indexer', }; From db8b6e4c0d90e99f782c0a482186207428375228 Mon Sep 17 00:00:00 2001 From: Cameron Chisholm Date: Thu, 21 Dec 2023 11:12:45 +0000 Subject: [PATCH 2/2] chore: add new RPCs to orderly --- src/pages/Orderly/config.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/pages/Orderly/config.ts b/src/pages/Orderly/config.ts index 482006469..2406e88f1 100644 --- a/src/pages/Orderly/config.ts +++ b/src/pages/Orderly/config.ts @@ -10,18 +10,18 @@ export function getExtendConfig(env: string = process.env.REACT_APP_NEAR_ENV) { url: 'https://rpc.mainnet.near.org', simpleName: 'official rpc', }, - // publicRpc: { - // url: 'https://public-rpc.blockpi.io/http/near', - // simpleName: 'blockpi rpc', - // }, - // infuraRpc: { - // url: 'https://near-mainnet.infura.io/v3/391d915322284599936f0ee962399dc1', - // simpleName: 'infura rpc', - // }, ankrRpc: { url: 'https://rpc.ankr.com/near', simpleName: 'ankr rpc', }, + oneRpc: { + url: 'https://1rpc.io/near', + simpleName: '1rpc', + }, + fastNearRpc: { + url: 'https://rpc.web4.near.page', + simpleName: 'fast-near', + }, }, pool_protocol: 'indexer', };