Skip to content

Commit

Permalink
Add missing networks (#792)
Browse files Browse the repository at this point in the history
* add coretim westen and rococo

* add westend bridge hub

* add people rococo and westend
  • Loading branch information
EgorPopelyaev authored Aug 16, 2024
1 parent 98b885e commit e9d12ad
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 2 deletions.
35 changes: 35 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,34 @@ rpc_endpoint = "wss://westend-asset-hub-rpc.polkadot.io"
color = "#77bb77"
relay_chain = "westend"

[[chains]]
name = "bridge-hub-westend"
title = "Bridge Hub"
rpc_endpoint = "wss://westend-bridge-hub-rpc.polkadot.io"
color = "#B878B4"
relay_chain = "westend"

[[chains]]
name = "collectives-westend"
title = "Collectives"
rpc_endpoint = "wss://westend-collectives-rpc.polkadot.io"
color = "#e6777a"
relay_chain = "westend"

[[chains]]
name = "coretime-westend"
title = "Coretime"
rpc_endpoint = "wss://westend-coretime-rpc.polkadot.io"
color = "#82B7B7"
relay_chain = "westend"

[[chains]]
name = "people-westend"
title = "People"
rpc_endpoint = "wss://westend-people-rpc.polkadot.io"
color = "#0A672A"
relay_chain = "westend"

[[chains]]
name = "rococo"
rpc_endpoint = "wss://rococo-rpc.polkadot.io"
Expand All @@ -135,9 +156,23 @@ rpc_endpoint = "wss://rococo-contracts-rpc.polkadot.io"
color = "#000000"
relay_chain = "rococo"

[[chains]]
name = "coretime-rococo"
title = "Coretime"
rpc_endpoint = "wss://rococo-coretime-rpc.polkadot.io"
color = "#50FB4B"
relay_chain = "rococo"

[[chains]]
name = "encointer-parachain"
title = "Encointer"
rpc_endpoint = "wss://rococo.api.encointer.org"
color = "#0000cc"
relay_chain = "rococo"

[[chains]]
name = "people-rococo"
title = "People"
rpc_endpoint = "wss://rococo-people-rpc.polkadot.io"
color = "#391BC9"
relay_chain = "rococo"
Binary file not shown.
Binary file added public/qr/rococo-coretime-rococo_specs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added public/qr/rococo-people-rococo_specs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added public/qr/westend-bridge-hub-westend_specs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added public/qr/westend-coretime-westend_specs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added public/qr/westend-people-westend_specs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
9 changes: 7 additions & 2 deletions src/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ 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";
import kusamaCoretimeSrc from "./assets/icons/kusama-coretime.svg";
import coretimeSrc from "./assets/icons/coretime.svg";

const ICONS = {
polkadot: polkadotSrc,
Expand All @@ -20,17 +20,22 @@ const ICONS = {
kusama: kusamaSrc,
"kusama-statemine": assetHubSrc,
"kusama-bridge-hub-kusama": bridgeHubBlackSrc,
"kusama-coretime-kusama": kusamaCoretimeSrc,
"kusama-coretime-kusama": coretimeSrc,
"kusama-encointer-parachain": nodesEncointerBlueSVG,
"kusama-people-kusama": peopleSrc,
westend: westendSrc,
"westend-westmint": assetHubSrc,
"westend-bridge-hub-westend": bridgeHubSrc,
"westend-collectives-westend": collectivesSrc,
"westend-coretime-westend": coretimeSrc,
"westend-people-westend": peopleSrc,
rococo: rococoSrc,
"rococo-statemine": assetHubSrc,
"rococo-bridge-hub-rococo": bridgeHubBlackSrc,
"rococo-contracts-rococo": contractsPNG,
"rococo-coretime-rococo": coretimeSrc,
"rococo-encointer-parachain": nodesEncointerBlueSVG,
"rococo-people-rococo": peopleSrc,
};

export function icon(network: string) {
Expand Down

0 comments on commit e9d12ad

Please sign in to comment.