Add Bajun Kusama, Rococo, minor changes Ajuna Network (#7472)

* feat: added rococo bajun and fix ajuna bg color

* style: lint fix

* feat: added bajun for kusama and added some missing informations

* fix: missing bajun mapping
This commit is contained in:
Cedric Decoster 2022-04-28 07:52:33 +02:00 committed by GitHub
parent 57b541a98b
commit 19f6cf3cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 60 additions and 5 deletions

View File

@ -0,0 +1,20 @@
// Copyright 2017-2022 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { OverrideBundleDefinition } from '@polkadot/types/types';
/* eslint-disable sort-keys */
const definitions: OverrideBundleDefinition = {
types: [
{
// on all versions
minmax: [0, undefined],
types: {
Address: 'MultiAddress',
LookupSource: 'MultiAddress'
}
}
]
};
export default definitions;

View File

@ -11,6 +11,7 @@ import aresGladios from './ares-gladios';
import aresParachain from './ares-parachain';
import astar from './astar';
import automata from './automata';
import bajun from './bajun';
import basilisk from './basilisk';
import beresheet from './beresheet';
import bifrost from './bifrost';
@ -147,6 +148,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
asgard: bifrostAsgard,
astar,
automata,
bajun,
basilisk,
beresheet,
bifrost,

View File

@ -68,6 +68,15 @@ export function createKusama (t: TFunction): EndpointOption {
OnFinality: 'wss://altair.api.onfinality.io/public-ws'
}
},
{
info: 'bajun',
homepage: 'https://ajuna.io',
paraId: 2119,
text: t('rpc.kusama.bajun', 'Bajun Network', { ns: 'apps-config' }),
providers: {
AjunaNetwork: 'wss://rpc-parachain.bajun.network'
}
},
{
info: 'basilisk',
homepage: 'https://bsx.fi',

View File

@ -69,6 +69,14 @@ export function createRococo (t: TFunction): EndpointOption {
Arctic: 'wss://arctic-rpc-parachain.icenetwork.io:9944'
}
},
{
info: 'rococoBajun',
paraId: 3026,
text: t('rpc.rococo.bajun', 'Bajun Network', { ns: 'apps-config' }),
providers: {
AjunaNetwork: 'wss://rpc-rococo.bajun.network'
}
},
{
info: 'rococoBasilisk',
paraId: 2090,

View File

@ -16,13 +16,14 @@ const emptyColor = '#99999';
// alphabetical
const chainSherpax = '#6bbee8';
const chainAcala = '#645AFF';
const chainAjuna = 'linear-gradient(135deg, #0e0c14, #12203b, #1f3451)';
const chainAjuna = '#161212';
const chainAleph = '#00CCAB';
const chainAltair = '#ffb700';
const chainApron = 'linear-gradient(45deg, #0099F7 0%, #2E49EB 100%)';
const chainAstar = '#1b6dc1d9';
const chainAutomata = '#EC7032';
const chainAutomataContextFree = '#EC7032';
const chainBajun = '#161212';
const chainBitCountry = '#191a2e';
const chainBitCountryPioneer = '#000000';
const chainBasiliskTestnet = `url(${String(nodeBasiliskRococo)}) #000`;
@ -145,13 +146,14 @@ const chainWeb3games = '#000000';
const chainWestlake = 'linear-gradient(-90deg, #9400D3 0%, #5A5CA9 50%, #00BFFF 100%)';
// based on node name
// alphabetical
const nodeAjuna = 'linear-gradient(135deg, #0e0c14, #12203b, #1f3451)';
const nodeAjuna = '#161212';
const nodeApron = 'linear-gradient(45deg, #0099F7 0%, #2E49EB 100%)';
const nodeAres = '#E56239';
const nodeAstar = '#1b6dc1d9';
const nodeAutomata = '#EC7032';
const nodeAutomataContextFree = '#EC7032';
const nodeBasilisk = '#9eec1b';
const nodeBajun = '#161212';
const nodeBitCountry = '#191a2e';
const nodeBifrost = '#5a25f0';
const nodeCentrifuge = '#fcc367';
@ -245,6 +247,7 @@ export const chainColors: Record<string, string> = Object.entries({
Astar: chainAstar,
Automata: chainAutomata,
'Automata ContextFree': chainAutomataContextFree,
'Bajun Testnet': chainBajun,
'Basilisk testnet': chainBasiliskTestnet,
'Beast Developer': chainBeastEave,
bifrost: chainRoccoBifrost,
@ -446,6 +449,7 @@ export const nodeColors = Object.entries({
Astar: nodeAstar,
'Automata ContextFree Node': nodeAutomataContextFree,
'Automata Node': nodeAutomata,
'Bajun Node': nodeBajun,
Basilisk: nodeBasilisk,
'Bifrost Node': nodeBifrost,
'Bifrost Stage Testnet': nodeBifrost,

View File

@ -77,6 +77,7 @@ import nodeAresGladios from './nodes/ares-gladios.svg';
import nodeAresMars from './nodes/ares-mars.png';
import nodeAstar from './nodes/astar.png';
import nodeAutomata from './nodes/automata.png';
import nodeBajun from './nodes/bajun.png';
import nodeBasilisk from './nodes/basilisk.png';
import nodeBeast from './nodes/beast.svg';
import nodeBifrost from './nodes/bifrost.svg';
@ -209,6 +210,7 @@ export const chainLogos = Object.entries({
Astar: chainAstar,
Automata: nodeAutomata,
'Automata ContextFree': nodeAutomata,
'Bajun Testnet': nodeBajun,
'Beast Developer': nodeBeast,
Bifrost: nodeBifrost,
'Bifrost Asgard CC4': nodeBifrost,
@ -405,6 +407,7 @@ export const nodeLogos = Object.entries({
Astar: nodeAstar,
'Automata ContextFree Node': nodeAutomata,
'Automata Node': nodeAutomata,
'Bajun Node': nodeBajun,
Basilisk: nodeBasilisk,
'Beast Node': nodeBeast,
Bifrost: nodeBifrost,
@ -602,6 +605,7 @@ export const namedLogos: Record<string, unknown> = {
astar: chainAstar,
automata: nodeAutomata,
'automata-contextfree': nodeAutomata,
bajun: nodeBajun,
basilisk: nodeBasilisk,
beast: nodeBeast,
bifrost: nodeBifrost,
@ -717,6 +721,7 @@ export const namedLogos: Record<string, unknown> = {
rococoAcala: chainAcala,
rococoApron: nodeApron,
rococoAres: nodeAres,
rococoBajun: nodeBajun,
rococoBasilisk: nodeBasilisk,
rococoBifrost: nodeBifrost,
rococoBitCountry: nodeBitCountry,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -20,6 +20,7 @@
"rpc.header.westend.relay": "Test Westend & parachains",
"rpc.hosted.via": "via {{host}}",
"rpc.kusama.altair": "Altair",
"rpc.kusama.bajun": "Bajun Network",
"rpc.kusama.basilisk": "Basilisk",
"rpc.kusama.bifrost": "Bifrost (Kusama)",
"rpc.kusama.crab": "Darwinia Crab Parachain",
@ -127,6 +128,7 @@
"rpc.prod.westlake": "Westlake",
"rpc.rococo": "Rococo",
"rpc.rococo.arctic": "Arctic",
"rpc.rococo.bajun": "Bajun",
"rpc.rococo.basilisk": "Basilisk",
"rpc.rococo.bitgreen": "Bitgreen",
"rpc.rococo.canvas": "Canvas",
@ -237,4 +239,4 @@
"testnet.kylin-node.co.uk": "Kylin Testnet",
"westend.kylin-node.co.uk": "Pichiu",
"ws.unique.network": "Unique Network"
}
}

View File

@ -1736,6 +1736,7 @@
"rpc.kulupu": "Kulupu (Kulupu Mainnet, ospitato da Kulupu)",
"rpc.kusama.altair": "",
"rpc.kusama.ava": "Kusama (Polkadot Canary, nodi pubblici gestiti dall'utente; vedi https://status.cloud.ava.do/)",
"rpc.kusama.bajun": "",
"rpc.kusama.basilisk": "",
"rpc.kusama.bifrost": "",
"rpc.kusama.crab-redirect": "",
@ -1800,6 +1801,7 @@
"rpc.rococo.acala": "",
"rpc.rococo.apron": "",
"rpc.rococo.ares": "",
"rpc.rococo.bajun": "",
"rpc.rococo.bifrost": "",
"rpc.rococo.bitcountry": "",
"rpc.rococo.canvas": "",
@ -1843,6 +1845,7 @@
"rpc.rococo.vln": "",
"rpc.rococo.zeitgeist": "",
"rpc.rococo.zenlink": "",
"rpc.test.ajuna": "",
"rpc.test.aleph": "",
"rpc.test.beresheet": "",
"rpc.test.bifrost": "",
@ -2134,4 +2137,4 @@
"{{threshold}}, passing": "{{threshold}}, approvato",
"{{type}} copied": "{{type}} copiato",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}} x moltiplicatore di voto, fondi bloccati per {{lock}}x = {{period}} giorni"
}
}

View File

@ -1762,6 +1762,7 @@
"rpc.kulupu": "Kulupu (Kulupu Mainnet, hosted by Kulupu)",
"rpc.kusama.altair": "Altair",
"rpc.kusama.ava": "Kusama (Polkadot Canary, пользовательские публичные ноды; смотреть https://status.cloud.ava.do/)",
"rpc.kusama.bajun": "Bajun Network",
"rpc.kusama.basilisk": "Basilisk",
"rpc.kusama.bifrost": "Bifrost (Kusama)",
"rpc.kusama.crab": "Darwinia Crab",
@ -1868,6 +1869,7 @@
"rpc.rococo.acala": "",
"rpc.rococo.apron": "",
"rpc.rococo.ares": "",
"rpc.rococo.bajun": "",
"rpc.rococo.bifrost": "",
"rpc.rococo.bitcountry": "",
"rpc.rococo.canvas": "",
@ -2212,4 +2214,4 @@
"{{threshold}}, passing": "{{threshold}}, проходит",
"{{type}} copied": "",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}}x баланс голосования, заблокировано на {{lock}}x ({{period}} дней)"
}
}