add nodle arcadia endpoint (#2639)

* add nodle arcadia testnet to the networks list

* add nodle logo

* add nodle green

* add final nodle logo

* give candies to the linter :-)
This commit is contained in:
Eliott Teissonniere 2020-04-28 11:50:37 -07:00 committed by GitHub
parent 88aba93c11
commit d539bb0f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 1 deletions

View File

@ -60,6 +60,11 @@ function createTest (t: (key: string, text: string, options: { ns: string }) =>
info: 'substrate',
text: t('rpc.flamingfir', 'Flaming Fir (Substrate Testnet, hosted by Parity)', { ns: 'apps-config' }),
value: 'wss://substrate-rpc.parity.io/'
},
{
info: 'nodle',
text: t('rpc.arcadia', 'Arcadia (Nodle Testnet, hosted by Nodle)', { ns: 'apps-config' }),
value: 'wss://arcadia1.nodleprotocol.io/'
}
];
}

View File

@ -11,6 +11,7 @@ const chainWestend = '#da68a7';
const nodeCentrifuge = '#fcc367';
const nodeEdgeware = '#0a95df';
const nodeNodle = '#1ab394';
// overrides based on the actual matched chain name
const chainColors: Record<string, any> = [
@ -28,7 +29,8 @@ const chainColors: Record<string, any> = [
// overrides based on the actual software node type (all '-' converted to ' ')
const nodeColors: Record<string, any> = [
['centrifuge chain', nodeCentrifuge],
['edgeware node', nodeEdgeware]
['edgeware node', nodeEdgeware],
['nodle chain node', nodeNodle]
// ['node template', emptyColor],
// ['parity polkadot', emptyColor],
// ['substrate node', emptyColor]

View File

@ -8,6 +8,7 @@ import chainKusama from './chains/kusama-128.gif';
// defaults for the node type, assuming we don't have a specific chain, but rather match on the implementation
import nodeCentrifuge from './nodes/centrifuge.png';
import nodeEdgeware from './nodes/edgeware-circle.svg';
import nodeNodle from './nodes/nodle.svg';
import nodePolkadot from './nodes/polkadot-circle.svg';
import nodePolkadotJs from './nodes/polkadot-js.svg';
import nodeSubstrate from './nodes/substrate-hexagon.svg';
@ -34,6 +35,7 @@ const nodeLogos: Record<string, any> = [
['centrifuge chain', nodeCentrifuge],
['Edgeware Node', nodeEdgeware],
['node-template', nodeSubstrate],
['Nodle Chain Node', nodeNodle],
['parity-polkadot', nodePolkadot],
['polkadot-js', nodePolkadotJs],
['substrate-node', nodeSubstrate]
@ -49,6 +51,7 @@ const namedLogos: Record<string, any> = {
edgeware: nodeEdgeware,
empty: emptyLogo,
kusama: chainKusama,
nodle: nodeNodle,
polkadot: nodePolkadot,
substrate: nodeSubstrate,
westend: nodePolkadot

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<circle class="st0" cx="50" cy="50" r="48.5"/>
<g>
<g>
<polygon points="47.5,51.4 52.1,51.4 52.1,48.5 47.6,48.4 "/>
<path d="M79.5,27.5c-4.2-4.3-10.4-6.5-18-6.5c-5,0-7.9,1.5-10.4,4.4C48.6,28.4,48,32.3,48,35l-0.1,7.8l4.3,0.1l0.1-7.8
c0-2,0.7-3.9,1.8-5.4c1.2-1.5,2.8-2.3,4.6-2.3h0.1c2.1,0,3.7,0.5,4.7,1.4c1.2,0.9,1.8,2.4,1.7,4.3c0,1.9-0.8,3.7-2.2,5
c-1.4,1.4-3.2,2.1-5.2,2l-4.2-0.1v2.7l4.2,0.1c0.1,0,0.1,0,0.2,0c5.4,0,9.8-4.3,9.9-9.7c0-1.3-0.2-2.6-0.7-3.8L67,29l0.3,0.4
c1.4,1.7,2.1,3.9,2.1,6.1c-0.1,5-4.2,9.1-9.4,9.1c-0.1,0-0.1,0-0.2,0l-7.8-0.1l-4.4-0.1l-12.1-0.2c-0.1,0-0.2,0-0.3,0
c-4.2,0-8.2,1.6-11.3,4.5c-3.2,3-4.9,7-4.9,11.5c0,2.5,0.4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