Skip to content

Commit

Permalink
Add people chains to frontend (#790)
Browse files Browse the repository at this point in the history
* Add Polkadot People chain

* signed metadata for people-polkadot chain

* Add people-kusama chain

* Add people networks to the frontend and fix collectives westend
  • Loading branch information
EgorPopelyaev authored Aug 6, 2024
1 parent 2ec7809 commit f34e74c
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
15 changes: 15 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down
29 changes: 29 additions & 0 deletions src/assets/icons/people.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f34e74c

Please sign in to comment.