From e8c780ba21be8d5ac8651873510403c525d0c461 Mon Sep 17 00:00:00 2001 From: bigboydiamonds <57741810+bigboydiamonds@users.noreply.github.com> Date: Thu, 4 Apr 2024 12:28:31 -0700 Subject: [PATCH 1/4] Add dfk provided fallback rpc --- packages/synapse-interface/constants/chains/master.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/synapse-interface/constants/chains/master.tsx b/packages/synapse-interface/constants/chains/master.tsx index d7995183a7..bef35db978 100644 --- a/packages/synapse-interface/constants/chains/master.tsx +++ b/packages/synapse-interface/constants/chains/master.tsx @@ -188,7 +188,7 @@ export const DFK: Chain = { blockTime: 2000, rpcUrls: { primary: 'https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc', - fallback: 'https://dfkchain.api.onfinality.io/public', + fallback: 'https://dfkchain.rpc.defikingdoms.com/api=654302102', }, nativeCurrency: { name: 'Jewel', symbol: 'JEWEL', decimals: 18 }, explorerUrl: 'https://subnets.avax.network/defi-kingdoms', @@ -208,7 +208,7 @@ export const KLAYTN: Chain = { blockTime: 1000, rpcUrls: { primary: 'https://klaytn.blockpi.network/v1/rpc/public', - fallback: 'https://klaytn.api.onfinality.io/public', + fallback: 'https://klaytn.rpc.defikingdoms.com/api=654302102', }, nativeCurrency: { name: 'Klaytn', symbol: 'KLAY', decimals: 18 }, explorerUrl: 'https://scope.klaytn.com', From 8acfde81370b19d5214cda9ad4f3535a84245171 Mon Sep 17 00:00:00 2001 From: bigboydiamonds <57741810+bigboydiamonds@users.noreply.github.com> Date: Fri, 19 Apr 2024 14:07:12 -0700 Subject: [PATCH 2/4] Update for new klaytn rpc --- packages/synapse-interface/constants/chains/master.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/synapse-interface/constants/chains/master.tsx b/packages/synapse-interface/constants/chains/master.tsx index ae5da9fcbb..4ab0ca8dd0 100644 --- a/packages/synapse-interface/constants/chains/master.tsx +++ b/packages/synapse-interface/constants/chains/master.tsx @@ -253,8 +253,8 @@ export const KLAYTN: Chain = { codeName: 'klaytn', blockTime: 1000, rpcUrls: { - primary: 'https://klaytn.blockpi.network/v1/rpc/public', - fallback: 'https://klaytn.rpc.defikingdoms.com/api=654302102', + primary: 'http://internal.klaytn.rpc.defikingdoms.com/api=654302102', + fallback: 'https://klaytn.blockpi.network/v1/rpc/public', }, nativeCurrency: { name: 'Klaytn', From c575db12c8b2832827f8e52c698e0bed28bde9a5 Mon Sep 17 00:00:00 2001 From: bigboydiamonds <57741810+bigboydiamonds@users.noreply.github.com> Date: Fri, 19 Apr 2024 14:10:12 -0700 Subject: [PATCH 3/4] Move endpoint to fallback --- packages/synapse-interface/constants/chains/master.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/synapse-interface/constants/chains/master.tsx b/packages/synapse-interface/constants/chains/master.tsx index 4ab0ca8dd0..d700c69b02 100644 --- a/packages/synapse-interface/constants/chains/master.tsx +++ b/packages/synapse-interface/constants/chains/master.tsx @@ -253,8 +253,8 @@ export const KLAYTN: Chain = { codeName: 'klaytn', blockTime: 1000, rpcUrls: { - primary: 'http://internal.klaytn.rpc.defikingdoms.com/api=654302102', - fallback: 'https://klaytn.blockpi.network/v1/rpc/public', + primary: 'https://klaytn.blockpi.network/v1/rpc/public', + fallback: 'http://internal.klaytn.rpc.defikingdoms.com/api=654302102', }, nativeCurrency: { name: 'Klaytn', From cc74ef3b0baafceafde856443b0ba75bb5e762e2 Mon Sep 17 00:00:00 2001 From: bigboydiamonds <57741810+bigboydiamonds@users.noreply.github.com> Date: Fri, 19 Apr 2024 15:08:03 -0700 Subject: [PATCH 4/4] Secure http --- packages/synapse-interface/constants/chains/master.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/synapse-interface/constants/chains/master.tsx b/packages/synapse-interface/constants/chains/master.tsx index d700c69b02..b93fd08ffe 100644 --- a/packages/synapse-interface/constants/chains/master.tsx +++ b/packages/synapse-interface/constants/chains/master.tsx @@ -254,7 +254,7 @@ export const KLAYTN: Chain = { blockTime: 1000, rpcUrls: { primary: 'https://klaytn.blockpi.network/v1/rpc/public', - fallback: 'http://internal.klaytn.rpc.defikingdoms.com/api=654302102', + fallback: 'https://internal.klaytn.rpc.defikingdoms.com/api=654302102', }, nativeCurrency: { name: 'Klaytn',