Add dolphin testnet (#6629)
* Add dolphin testnet * remove trailing space Co-authored-by: Danny Jin <danny@Dannys-Mac.local>
This commit is contained in:
parent
e458b9c44b
commit
46d845feae
30
packages/apps-config/src/api/spec/dolphin.ts
Normal file
30
packages/apps-config/src/api/spec/dolphin.ts
Normal file
@ -0,0 +1,30 @@
|
||||
// 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:
|
||||
{
|
||||
CurrencyId: {
|
||||
_enum: [
|
||||
'DOL'
|
||||
]
|
||||
},
|
||||
CurrencyIdOf: 'CurrencyId',
|
||||
Amount: 'i128',
|
||||
AmountOf: 'Amount',
|
||||
AccountInfo: 'AccountInfoWithDualRefCount'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -120,6 +120,13 @@ export function createTesting (t: TFunction, firstOnly: boolean, withSort: boole
|
||||
'Dock Association': 'wss://knox-1.dock.io'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'dolphin',
|
||||
text: t('rpc.dolphin', 'Dolphin Testnet', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Dolphin Testnet': 'wss://trillian.dolphin.red'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'dotmog',
|
||||
text: t('rpc.test.dotmog', 'DOTMog', { ns: 'apps-config' }),
|
||||
|
||||
@ -32,6 +32,7 @@ const chainCrustMaxwell = '#2E333B';
|
||||
const chainClover = 'linear-gradient(to right, #52ad75, #7cc773)';
|
||||
const chainChainx = '#F6C94A';
|
||||
const chainDarwinia = 'linear-gradient(-45deg, #FE3876 0%, #7C30DD 71%, #3A30DD 100%)';
|
||||
const chainDolphin = '#000000';
|
||||
const chainDotMog = '#020609';
|
||||
const chainEfinity = '#496ddb';
|
||||
const chainEquilibrium = '#1792ff';
|
||||
@ -228,6 +229,7 @@ export const chainColors: Record<string, string> = Object.entries({
|
||||
'Darwinia Crab Redirect': chainCrab,
|
||||
'Darwinia PC2': chainRoccoDarwinia,
|
||||
DataHighway: chainRoccoDataHighway,
|
||||
'Dolphin Testnet': chainDolphin,
|
||||
'DOTMog.com NET': chainDotMog,
|
||||
Efinity: chainEfinity,
|
||||
Equilibrium: chainEquilibrium,
|
||||
|
||||
@ -74,6 +74,7 @@ import nodeDarwinia from './nodes/darwinia.png';
|
||||
import nodeDataHighway from './nodes/datahighway.png';
|
||||
import nodeDockMainnet from './nodes/dock-mainnet.png';
|
||||
import nodeDockTestnet from './nodes/dock-testnet.png';
|
||||
import nodeDolphin from './nodes/dolphin.svg';
|
||||
import nodeDotMog from './nodes/dotmog.svg';
|
||||
import nodeEave from './nodes/eave.svg';
|
||||
import nodeEdgeware from './nodes/edgeware-white.png';
|
||||
@ -192,6 +193,7 @@ export const chainLogos = Object.entries({
|
||||
'Darwinia Crab PC2': nodeCrab,
|
||||
'Darwinia PC2': nodeDarwinia,
|
||||
DataHighway: nodeDataHighway,
|
||||
'Dolphin Testnet': nodeDolphin,
|
||||
Dusty: chainDusty,
|
||||
Efinity: chainEfinity,
|
||||
Equilibrium: chainEquilibrium,
|
||||
@ -520,6 +522,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
datahighway: nodeDataHighway,
|
||||
'dock-pos-mainnet': nodeDockMainnet,
|
||||
'dock-pos-testnet': nodeDockTestnet,
|
||||
dolphin: nodeDolphin,
|
||||
dotmog: nodeDotMog,
|
||||
dusty: chainDusty,
|
||||
eave: nodeEave,
|
||||
|
||||
12
packages/apps-config/src/ui/logos/nodes/dolphin.svg
Normal file
12
packages/apps-config/src/ui/logos/nodes/dolphin.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<svg version="1.2" baseProfile="tiny-ps" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 243 243" width="243" height="243">
|
||||
<title>dolphin_logo</title>
|
||||
<style>
|
||||
tspan { white-space:pre }
|
||||
.shp0 { fill: #c4a5bd }
|
||||
.shp1 { fill: #ffffff }
|
||||
</style>
|
||||
<g id="2">
|
||||
<path id="Shape 4" class="shp0" d="M128.85 192.96C128.85 192.96 187.87 181.38 160.49 139.53C143.48 113.54 109.11 115.91 75.59 125.2C47.03 133.12 40.96 129.89 40.96 129.89C40.96 129.89 18.17 126.06 49.75 103.62C49.75 103.62 34.11 30.48 133.24 46.68C244.56 64.86 229.51 210.83 131.48 204.35C131.48 204.35 124.3 202.79 128.85 192.96ZM147.3 42.3C147.3 42.3 170.87 46.83 190.37 65.95C190.37 65.95 191.82 42.73 203.55 34.41C203.55 34.41 216.45 22.4 198.28 23.03C181.12 23.62 159.44 26.68 147.3 42.3ZM102.62 142.12C102.62 142.12 120.88 143.35 128.25 160.17C135.61 176.99 138.68 191.32 141.57 194.67C144.47 198.03 110.3 194.55 106.09 185.67C101.88 176.8 116.83 169.77 100.16 145.41C100.16 145.41 98.39 141.22 102.62 142.12ZM84.34 228.42C84.34 228.42 101.54 234.69 115.14 222.27C128.74 209.86 137.39 197.98 141.4 196.08C145.42 194.19 112.75 183.52 105.28 189.95C97.81 196.37 108.61 208.86 83.43 224.41C83.43 224.41 80.11 227.53 84.34 228.42ZM111.21 122.6C111.21 122.6 116.84 146.74 135.3 152.85C135.3 152.85 132.49 128.6 135.11 126.73C136.46 125.77 129.82 122.92 123.31 122.11C117.19 121.35 111.21 122.6 111.21 122.6Z" />
|
||||
<path id="Ellipse 1" class="shp1" d="M81.39 81.72C86.25 81.72 90.19 85.64 90.19 90.47C90.19 95.3 86.25 99.22 81.39 99.22C76.53 99.22 72.59 95.3 72.59 90.47C72.59 85.64 76.53 81.72 81.39 81.72Z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue
Block a user