From fca230d9924fef7d75aeca65b77f0622e5b6297e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=B6=E6=9D=96?= Date: Tue, 20 Jul 2021 16:05:53 +0800 Subject: [PATCH] add trustbase network (#5854) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 1. * 移除 providers * Update packages/apps-config/src/endpoints/productionRelayKusama.ts Co-authored-by: Jaco Co-authored-by: Jaco --- .../apps-config/src/endpoints/productionRelayKusama.ts | 8 ++++++++ packages/apps-config/src/ui/logos/index.ts | 2 ++ packages/apps/public/locales/en/apps-config.json | 1 + 3 files changed, 11 insertions(+) diff --git a/packages/apps-config/src/endpoints/productionRelayKusama.ts b/packages/apps-config/src/endpoints/productionRelayKusama.ts index 0b2ab129a3..1c0a0a4182 100644 --- a/packages/apps-config/src/endpoints/productionRelayKusama.ts +++ b/packages/apps-config/src/endpoints/productionRelayKusama.ts @@ -210,6 +210,14 @@ export function createKusama (t: TFunction): EndpointOption { Airalab: 'wss://kusama.rpc.robonomics.network/' } }, + { + info: 'trustbase', + isUnreachable: true, // no providers (yet) + homepage: 'https://trustbase.network/', + paraId: 2078, + text: t('rpc.kusama.trustbase', 'TrustBase', { ns: 'apps-config' }), + providers: {} + }, { info: 'sakura', homepage: 'https://clover.finance/', diff --git a/packages/apps-config/src/ui/logos/index.ts b/packages/apps-config/src/ui/logos/index.ts index adf6d389f1..c8a757256d 100644 --- a/packages/apps-config/src/ui/logos/index.ts +++ b/packages/apps-config/src/ui/logos/index.ts @@ -224,6 +224,7 @@ export const chainLogos = Object.entries({ Tick: chainRococoTick, Track: chainRococoTrack, Trick: chainRococoTrick, + trustbase: nodeTrustBase, 'TrustBase PC1': nodeTrustBase, 'uni arts staging network': nodeUniarts, 'UniArts Mainnet': nodeUniarts, @@ -543,6 +544,7 @@ export const namedLogos: Record = { subsocial: nodeSubsocial, substrate: nodeSubstrate, 'ternoa-chaos': nodeTernoa, + trustbase: nodeTrustBase, uniarts: nodeUniarts, unique: nodeUnique, unitv: nodeUnitv, diff --git a/packages/apps/public/locales/en/apps-config.json b/packages/apps/public/locales/en/apps-config.json index 901a486d30..62122ab922 100644 --- a/packages/apps/public/locales/en/apps-config.json +++ b/packages/apps/public/locales/en/apps-config.json @@ -31,6 +31,7 @@ "rpc.kusama.parity": "Kusama", "rpc.kusama.polkasmith": "PolkaSmith by PolkaFoundry", "rpc.kusama.robonomics": "Robonomics", + "rpc.kusama.trustbase": "TrustBase", "rpc.kusama.sakura": "Sakura", "rpc.kusama.shadow": "Crust Shadow", "rpc.kusama.sherpax": "SherpaX",