Skip to content

Commit

Permalink
Add neumann (#6796)
Browse files Browse the repository at this point in the history
* Add Neumann

* Modify the logo and color for neumann.

* Delete nodeNeumann in packages/apps-config/src/ui/colors.ts

* Modify the endpoint of neumann.

* Change order of colors and logos list.

* Put neumann in order in src/endpoints/testing.ts
  • Loading branch information
imstar15 authored Jan 7, 2022
1 parent fabdc3c commit f0fa21b
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 18 deletions.
4 changes: 2 additions & 2 deletions packages/apps-config/src/api/spec/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ import mathchain from './mathchain';
import moonbeam from './moonbeam';
import mybank from './mybank';
import neatcoin from './neatcoin';
import neumann from './neumann';
import nftmart from './nftmart';
import nodle from './nodle';
import oakTestnet from './oak-testnet';
import opal from './opal';
import opportunity from './opportunity';
import origintrail from './origintrail';
Expand Down Expand Up @@ -209,12 +209,12 @@ const spec: Record<string, OverrideBundleDefinition> = {
moonshadow: moonbeam,
'mybank.network Testnet': mybank,
neatcoin,
neumann,
nft: unique,
nftmart,
'node-moonbeam': moonbeam,
'node-polkadex': polkadex,
'nodle-chain': nodle,
'oak-testnet': oakTestnet,
opal: opal,
opportunity,
'origintrail-parachain': origintrail,
Expand Down
14 changes: 7 additions & 7 deletions packages/apps-config/src/endpoints/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,18 +307,18 @@ export function createTesting (t: TFunction, firstOnly: boolean, withSort: boole
}
},
{
info: 'nftmart',
text: t('rpc.test.nftmart', 'NFTMart', { ns: 'apps-config' }),
info: 'neumann',
text: t('rpc.test.oak', 'Neumann Network', { ns: 'apps-config' }),
providers: {
NFTMartDev: 'wss://dev-ws.nftmart.io',
NFTMartStaging: 'wss://staging-ws.nftmart.io'
OnFinality: 'wss://neumann.api.onfinality.io/public-ws'
}
},
{
info: 'oak-testnet',
text: t('rpc.test.oak', 'OAK Testnet', { ns: 'apps-config' }),
info: 'nftmart',
text: t('rpc.test.nftmart', 'NFTMart', { ns: 'apps-config' }),
providers: {
'OAK Network': 'wss://rpc.testnet.oak.tech'
NFTMartDev: 'wss://dev-ws.nftmart.io',
NFTMartStaging: 'wss://staging-ws.nftmart.io'
}
},
{
Expand Down
6 changes: 2 additions & 4 deletions packages/apps-config/src/ui/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ const chainKlug = '#000000';
const chainKulupu = '#003366';
const chainManta = '#2070a6';
const chainMoonrock = '#3d1d5a';
const chainNeumann = '#A8278C';
const chainNFTMart = '#815287';
const chainOakTestnet = '#E38985';
const chainPangolin = '#5744ff';
const chainPangoro = '#5745de';
const chainParallel = '#ef18ac';
Expand Down Expand Up @@ -158,7 +158,6 @@ const nodeMoonriver = '#0E132E';
const nodeMybank = '#282736';
const nodeNFTMart = '#307182';
const nodeNodle = '#1ab394';
const nodeOakTestnet = '#E38985';
const nodeOdyssey = '#1295F0';
const nodeOpportunity = '#6143bc';
const nodeOriginTrail = '#131415';
Expand Down Expand Up @@ -300,9 +299,9 @@ export const chainColors: Record<string, string> = Object.entries({
Moonrock: chainMoonrock,
Moonshadow: nodeMoonbeam,
'mybank.network Testnet': chainMybank,
'Neumann Network': chainNeumann,
'NFTMart Staging': chainNFTMart,
'NFTMart Testnet': chainNFTMart,
'OAK Testnet': chainOakTestnet,
'Opal Node': chainOpal,
'OriginTrail Parachain': nodeOriginTrail,
'OriginTrail Parachain Testnet': nodeOriginTrail,
Expand Down Expand Up @@ -417,7 +416,6 @@ export const nodeColors = Object.entries({
'NFTMart Staging': nodeNFTMart,
'NFTMart Testnet': nodeNFTMart,
'nodle chain node': nodeNodle,
'OAK Testnet': nodeOakTestnet,
'Opal Node': nodeOpal,
'Opportunity Standalone Testnet': nodeOpportunity,
'OriginTrail Parachain': nodeOriginTrail,
Expand Down
8 changes: 4 additions & 4 deletions packages/apps-config/src/ui/logos/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ import moonshadow from './nodes/moonshadow.png';
import mybank from './nodes/mybank.png';
import nodeNFTMart from './nodes/nftmart.png';
import nodeNodle from './nodes/nodle.svg';
import oakTestnet from './nodes/oak-testnet.png';
import oak from './nodes/oak.png';
import nodeUniqueWestend from './nodes/opal-logo.png';
import nodeOpportunity from './nodes/opportunity.png';
import nodeOriginTrail from './nodes/origintrail.png';
Expand Down Expand Up @@ -256,10 +256,10 @@ export const chainLogos = Object.entries({
Moonrock: nodeMoonrock,
Moonshadow: moonshadow,
'mybank.network PC1': mybank,
'Neumann Network': oak,
NFTMart: nodeNFTMart,
'NFTMart Staging': nodeNFTMart,
'NFTMart Testnet': nodeNFTMart,
'OAK Testnet': oakTestnet,
'OPAL by UNIQUE': chainOpal,
'OriginTrail Parachain': nodeOriginTrail,
'OriginTrail Parachain Testnet': nodeOriginTrail,
Expand Down Expand Up @@ -404,12 +404,12 @@ export const nodeLogos = Object.entries({
'mathChain-galois': nodeMath,
Moonrock: nodeMoonrock,
'mybank.network': mybank,
'Neumann Network': oak,
NFTMart: nodeNFTMart,
'NFTMart Staging': nodeNFTMart,
'NFTMart Testnet': nodeNFTMart,
'node-template': nodeSubstrate,
'Nodle Chain Node': nodeNodle,
'OAK Testnet': oakTestnet,
'Opal Node': nodeUniqueWestend,
'Opportunity Standalone Testnet': nodeOpportunity,
'OriginTrail Parachain': nodeOriginTrail,
Expand Down Expand Up @@ -586,9 +586,9 @@ export const namedLogos: Record<string, unknown> = {
moonrock: nodeMoonrock,
moonshadow: moonshadow,
mybank: mybank,
neumann: oak,
nftmart: nodeNFTMart,
nodle: nodeNodle,
'oak-testnet': oakTestnet,
odyssey: nodeAresGladios,
opal: nodeUniqueWestend,
opportunity: nodeOpportunity,
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/apps/public/locales/en/apps-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
"rpc.test.mybank": "mybank.network",
"rpc.test.nftmart": "NFTMart",
"rpc.test.nodle-arcadia": "Arcadia",
"rpc.test.oak": "OAK Testnet",
"rpc.test.oak": "Neumann Network",
"rpc.test.opportunity": "Opportunity",
"rpc.test.origintrail": "OriginTrail Parachain Testnet",
"rpc.test.pangolin": "Pangolin",
Expand Down

0 comments on commit f0fa21b

Please sign in to comment.