From f34e74cb3a622ee1a815a52497c93b58efa67936 Mon Sep 17 00:00:00 2001 From: Egor_P Date: Tue, 6 Aug 2024 10:04:41 +0200 Subject: [PATCH] Add people chains to frontend (#790) * Add Polkadot People chain * signed metadata for people-polkadot chain * Add people-kusama chain * Add people networks to the frontend and fix collectives westend --- config.toml | 15 +++++++++++++++ src/assets/icons/people.svg | 29 +++++++++++++++++++++++++++++ src/icons.ts | 5 ++++- 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 src/assets/icons/people.svg diff --git a/config.toml b/config.toml index 15ed886a8..675da4fc6 100644 --- a/config.toml +++ b/config.toml @@ -36,6 +36,13 @@ rpc_endpoint = "wss://polkadot-collectives-rpc.polkadot.io" color = "#e6777a" relay_chain = "polkadot" +[[chains]] +name = "people-polkadot" +title = "People" +rpc_endpoint = "wss://polkadot-people-rpc.polkadot.io" +color = "#000000" +relay_chain = "polkadot" + [[chains]] name = "kusama" rpc_endpoint = "wss://kusama-rpc.polkadot.io" @@ -66,6 +73,13 @@ rpc_endpoint = "wss://kusama.api.encointer.org" color = "#0000cc" relay_chain = "kusama" +[[chains]] +name = "people-kusama" +title = "People" +rpc_endpoint = "wss://kusama-people-rpc.polkadot.io" +color = "#000000" +relay_chain = "kusama" + [[chains]] name = "westend" rpc_endpoint = "wss://westend-rpc.polkadot.io" @@ -85,6 +99,7 @@ relay_chain = "westend" [[chains]] name = "collectives-westend" +title = "Collectives" rpc_endpoint = "wss://westend-collectives-rpc.polkadot.io" color = "#e6777a" relay_chain = "westend" diff --git a/src/assets/icons/people.svg b/src/assets/icons/people.svg new file mode 100644 index 000000000..e38849e6c --- /dev/null +++ b/src/assets/icons/people.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/icons.ts b/src/icons.ts index 7b3dd75df..8f3fb0819 100644 --- a/src/icons.ts +++ b/src/icons.ts @@ -8,19 +8,22 @@ import westendSrc from "./assets/icons/westend.svg"; import rococoSrc from "./assets/icons/rococo.svg"; import { nodesEncointerBlueSVG } from "./assets/icons/encointer-SVG"; import { contractsPNG } from "./assets/icons/contracts-PNG"; +import peopleSrc from "./assets/icons/people.svg"; const ICONS = { polkadot: polkadotSrc, "polkadot-statemint": assetHubSrc, "polkadot-bridge-hub-polkadot": bridgeHubSrc, "polkadot-collectives": collectivesSrc, + "polkadot-people-polkadot": peopleSrc, kusama: kusamaSrc, "kusama-statemine": assetHubSrc, "kusama-bridge-hub-kusama": bridgeHubBlackSrc, "kusama-encointer-parachain": nodesEncointerBlueSVG, + "kusama-people-kusama": peopleSrc, westend: westendSrc, "westend-westmint": assetHubSrc, - "westend-collectives": collectivesSrc, + "westend-collectives-westend": collectivesSrc, rococo: rococoSrc, "rococo-statemine": assetHubSrc, "rococo-bridge-hub-rococo": bridgeHubBlackSrc,