Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rococo laminar #3518

Merged
merged 1 commit into from
Aug 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add rococo laminar
  • Loading branch information
ntduan committed Aug 25, 2020
commit 89171a46b4ceab8095a227ac67b5e31f812d8a09
6 changes: 6 additions & 0 deletions packages/apps-config/src/settings/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 147,12 @@ function createTest (t: TFunction): LinkOption[] {
text: t<string>('rpc.rococo.acala', 'Mandala PC1 (Acala Testpara, hosted by Acala)', { ns: 'apps-config' }),
value: 'wss://rococo-1.acala.laminar.one'
},
{
info: 'rococoLaminar',
isChild: true,
text: t<string>('rpc.rococo.laminar', 'Turbulence PC1 (Laminar Testpara, hosted by Laminar)', { ns: 'apps-config' }),
value: 'wss://rococo-1.laminar-chain.laminar.one'
},
{
dnslink: 'westend',
info: 'westend',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps-config/src/ui/general/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 14,7 @@ const chainRoccoTick = '#22bb22';
const chainRoccoTrack = '#bb2222';
const chainRoccoTrick = '#2222bb';
const chainRoccoAcala = '#173DC9';
const laminarRoccoAcala = '#004FFF';
const chainWestend = '#da68a7';

const nodeCentrifuge = '#fcc367';
Expand All @@ -36,6 37,7 @@ const chainColors: Record<string, any> = [
['Track', chainRoccoTrack],
['Trick', chainRoccoTrick],
['acala mandala pc1', chainRoccoAcala],
['laminar turbulence pc1', laminarRoccoAcala],
['Westend', chainWestend]
].reduce((colors, [chain, color]): Record<string, any> => ({
...colors,
Expand Down
1 change: 1 addition & 0 deletions packages/apps-config/src/ui/logos/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 84,7 @@ const namedLogos: Record<string, any> = {
polkadot: nodePolkadot,
rococo: chainRococo,
rococoAcala: nodeAcala,
rococoLaminar: nodeLaminar,
rococoTick: chainRococoTick,
rococoTrack: chainRococoTrack,
rococoTrick: chainRococoTrick,
Expand Down