Add Ares testnet (#6322)
* update ares testnet * update ares parachain mars * update order * update order * update order
This commit is contained in:
parent
020669e953
commit
1cf51360a5
36
packages/apps-config/src/api/spec/ares-gladios.ts
Normal file
36
packages/apps-config/src/api/spec/ares-gladios.ts
Normal file
@ -0,0 +1,36 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress',
|
||||
FractionLength: 'u32',
|
||||
RequestInterval: 'u8',
|
||||
JsonNumberValue: {
|
||||
integer: 'u64',
|
||||
fraction: 'u64',
|
||||
fraction_length: 'u32',
|
||||
exponent: 'u32'
|
||||
},
|
||||
PricePayloadSubPrice: '(Bytes, u64, FractionLength, JsonNumberValue)',
|
||||
PricePayload: {
|
||||
block_number: 'BlockNumber',
|
||||
price: 'Vec<PricePayloadSubPrice>',
|
||||
public: 'AccountId'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -5,6 +5,7 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
import acala from './acala';
|
||||
import apron from './apron';
|
||||
import aresGladios from './ares-gladios';
|
||||
import aresParachain from './ares-parachain';
|
||||
import basilisk from './basilisk';
|
||||
import beresheet from './beresheet';
|
||||
@ -121,6 +122,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'VLN-PC': vlnrococo,
|
||||
...acala,
|
||||
apron,
|
||||
'ares-gladios': aresGladios,
|
||||
'ares-parachain': aresParachain,
|
||||
asgard: bifrostAsgard,
|
||||
basilisk,
|
||||
|
||||
@ -194,7 +194,7 @@ export function createKusama (t: TFunction): EndpointOption {
|
||||
},
|
||||
{
|
||||
info: 'mars',
|
||||
homepage: 'https://www.aresprotocol.io/',
|
||||
homepage: 'https://www.aresprotocol.io/mars',
|
||||
paraId: 2008,
|
||||
text: t('rpc.kusama.mars', 'Mars', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
|
||||
@ -38,6 +38,13 @@ export function createTesting (t: TFunction, firstOnly: boolean, withSort: boole
|
||||
Nodle: 'wss://arcadia1.nodleprotocol.io'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'Ares Gladios',
|
||||
text: t('rpc.test.ares.network', 'Ares Gladios', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Ares Protocol': 'wss://gladios.aresprotocol.io'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'edgeware',
|
||||
text: t('rpc.test.beresheet', 'Beresheet', { ns: 'apps-config' }),
|
||||
|
||||
@ -8,6 +8,7 @@ import { externalLogos } from '../ui/logos';
|
||||
export default {
|
||||
chains: {
|
||||
'Acala Mandala TC5': 'acala-testnet',
|
||||
'Ares Gladios': 'ares-testnet',
|
||||
Bifrost: 'bifrost',
|
||||
Calamari: 'calamari',
|
||||
'Centrifuge Mainnet': 'centrifuge',
|
||||
|
||||
@ -66,6 +66,7 @@ const chainMybank = '#282736';
|
||||
const chainRocco = '#6f36dc';
|
||||
const chainRoccoAcala = '#173DC9';
|
||||
const chainRoccoAres = '#70FF8B';
|
||||
const chainAresGladios = '#1295F0';
|
||||
const chainRoccoBifrost = '#5a25f0';
|
||||
const chainRoccoDarwinia = 'linear-gradient(-45deg, #FE3876 0%, #7C30DD 71%, #3A30DD 100%)';
|
||||
const chainRoccoDataHighway = 'linear-gradient(-90deg, #9400D3 0%, #5A5CA9 50%, #00BFFF 100%)';
|
||||
@ -102,7 +103,7 @@ const chainWestlake = 'linear-gradient(-90deg, #9400D3 0%, #5A5CA9 50%, #00BFFF
|
||||
// based on node name
|
||||
// alphabetical
|
||||
const nodeApron = 'linear-gradient(45deg, #0099F7 0%, #2E49EB 100%)';
|
||||
const nodeAres = '#70FF8B';
|
||||
const nodeAres = '#E56239';
|
||||
const nodeBasilisk = '#9eec1b';
|
||||
const nodeBitCountry = '#191a2e';
|
||||
const nodeBifrost = '#5a25f0';
|
||||
@ -177,6 +178,7 @@ export const chainColors: Record<string, string> = Object.entries({
|
||||
'acala mandala pc2': chainRoccoAcala,
|
||||
'Aleph Zero Testnet': chainAleph,
|
||||
'Apron PC1': chainApron,
|
||||
'Ares Gladios': chainAresGladios,
|
||||
'Ares PC1': chainRoccoAres,
|
||||
'Beast Developer': chainBeastEave,
|
||||
bifrost: chainRoccoBifrost,
|
||||
|
||||
@ -46,6 +46,8 @@ import externalSubscan from './external/subscan.svg';
|
||||
import nodeAcala from './nodes/acala-circle.svg';
|
||||
import nodeApron from './nodes/apron.png';
|
||||
import nodeAres from './nodes/ares.svg';
|
||||
import nodeAresGladios from './nodes/ares-gladios.svg';
|
||||
import nodeAresMars from './nodes/ares-mars.png';
|
||||
import nodeBasilisk from './nodes/basilisk.png';
|
||||
import nodeBeast from './nodes/beast.svg';
|
||||
import nodeBifrost from './nodes/bifrost.svg';
|
||||
@ -154,6 +156,7 @@ export const chainLogos = Object.entries({
|
||||
'Aleph Zero Testnet': chainAleph,
|
||||
Altair: chainAltair,
|
||||
'Apron PC1': nodeApron,
|
||||
'Ares Gladios': nodeAresGladios,
|
||||
'Ares PC1': nodeAres,
|
||||
'Beast Developer': nodeBeast,
|
||||
Bifrost: nodeBifrost,
|
||||
@ -206,7 +209,7 @@ export const chainLogos = Object.entries({
|
||||
'Loom Network Local': nodeLoomNetwork,
|
||||
LoomNetwork: nodeLoomNetwork,
|
||||
'Manta Testnet': nodeManta,
|
||||
Mars: nodeAres,
|
||||
Mars: nodeAresMars,
|
||||
MathChain: nodeMath,
|
||||
'MathChain PC1': nodeMath,
|
||||
'mathchain-galois': nodeMath,
|
||||
@ -287,6 +290,7 @@ export const nodeLogos = Object.entries({
|
||||
'Acala Node': nodeAcala,
|
||||
'Apron Node': nodeApron,
|
||||
'Apron Parachain Collator': nodeApron,
|
||||
'Ares Gladios': nodeAresGladios,
|
||||
'Ares Node': nodeAres,
|
||||
'Ares Parachain Collator': nodeAres,
|
||||
Basilisk: nodeBasilisk,
|
||||
@ -452,6 +456,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
aleph: chainAleph,
|
||||
alexander: nodePolkadot,
|
||||
altair: chainAltair,
|
||||
'Ares Gladios': nodeAresGladios,
|
||||
basilisk: nodeBasilisk,
|
||||
beast: nodeBeast,
|
||||
bifrost: nodeBifrost,
|
||||
@ -506,7 +511,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
litentry: nodeLitentry,
|
||||
loomNetwork: nodeLoomNetwork,
|
||||
manta: nodeManta,
|
||||
mars: nodeAres,
|
||||
mars: nodeAresMars,
|
||||
mathchain: nodeMath,
|
||||
moonbaseAlpha: moonbeam,
|
||||
moonriver: moonriver,
|
||||
|
||||
1191
packages/apps-config/src/ui/logos/nodes/ares-gladios.svg
Normal file
1191
packages/apps-config/src/ui/logos/nodes/ares-gladios.svg
Normal file
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 90 KiB |
BIN
packages/apps-config/src/ui/logos/nodes/ares-mars.png
Normal file
BIN
packages/apps-config/src/ui/logos/nodes/ares-mars.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
@ -128,6 +128,7 @@
|
||||
"rpc.spanner": "Spanner",
|
||||
"rpc.test.aleph": "Aleph Zero Testnet",
|
||||
"rpc.test.amber": "Amber",
|
||||
"rpc.test.ares.network": "Ares Gladios",
|
||||
"rpc.test.beresheet": "Beresheet",
|
||||
"rpc.test.bifrost": "Bifrost",
|
||||
"rpc.test.bitcountry": "Bit.Country Tewai",
|
||||
@ -200,4 +201,4 @@
|
||||
"ss58.default": "Default for the connected node",
|
||||
"testnet.kylin-node.co.uk": "Kylin Testnet",
|
||||
"westend-opal.unique.network": "OPAL by UNIQUE"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user