Skip to content

Commit

Permalink
add magnet to rococo
Browse files Browse the repository at this point in the history
  • Loading branch information
chenfei0809 committed Feb 6, 2024
1 parent 7bd9cc0 commit fc3e514
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/apps-config/src/endpoints/testingRelayRococo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { EndpointOption } from './types.js';

import { ROCOCO_GENESIS } from '../api/constants.js';
import { chainsAcurastPNG, chainsAmplitudeSVG, chainsBitgreenPNG, chainsFrequencySVG, chainsGenshiroSVG, chainsHydratePNG, chainsIdiyanaleLogoWhiteSVG, chainsJurPNG, chainsMangataPNG, chainsMoonsamaPNG, chainsNeurowebTestnetPNG, chainsRococoSVG, chainsSnowbridgePNG, chainsT0rnPNG, chainsTinkerPNG, chainsTotemSVG, chainsTuringPNG, chainsVirtoPNG, chainsWatrPNG } from '../ui/logos/chains/index.js';
import { nodesArcticPNG, nodesAssetHubSVG, nodesAventusSVG, nodesBajunPNG, nodesBasiliskPNG, nodesBasiliskRococoBgPNG, nodesBifrostSVG, nodesBridgeHubBlackSVG, nodesCentrifugePNG, nodesConftiSVG, nodesCrustParachainSVG, nodesCurioSVG, nodesDatahighwayPNG, nodesDolphinSVG, nodesEncointerBlueSVG, nodesGiantPNG, nodesGiediPNG, nodesHelixstreetPNG, nodesImbuePNG, nodesIntegriteeSVG, nodesKabochaSVG, nodesKiltPNG, nodesLitentryRococoPNG, nodesMd5PNG, nodesMetaquityNetworkPNG, nodesNodleSVG, nodesOliSVG, nodesOzPNG, nodesPangolinSVG, nodesPhalaSVG, nodesPicassoPNG, nodesPolkadexSVG, nodesRexSVG, nodesRobonomicsSVG, nodesRocfinitySVG, nodesSocietalSVG, nodesSoonsocialXPNG, nodesSoraSubstrateSVG, nodesSubstrateContractsNodePNG, nodesTrappistRococoPNG, nodesUnitnetworkPNG, nodesYerbanetworkPNG, nodesZeitgeistPNG, nodesZeroSVG } from '../ui/logos/nodes/index.js';
import { nodesArcticPNG, nodesAssetHubSVG, nodesAventusSVG, nodesBajunPNG, nodesBasiliskPNG, nodesBasiliskRococoBgPNG, nodesBifrostSVG, nodesBridgeHubBlackSVG, nodesCentrifugePNG, nodesConftiSVG, nodesCrustParachainSVG, nodesCurioSVG, nodesDatahighwayPNG, nodesDolphinSVG, nodesEncointerBlueSVG, nodesGiantPNG, nodesGiediPNG, nodesHelixstreetPNG, nodesImbuePNG, nodesIntegriteeSVG, nodesKabochaSVG, nodesKiltPNG, nodesLitentryRococoPNG, nodesMagnetSVG, nodesMd5PNG, nodesMetaquityNetworkPNG, nodesNodleSVG, nodesOliSVG, nodesOzPNG, nodesPangolinSVG, nodesPhalaSVG, nodesPicassoPNG, nodesPolkadexSVG, nodesRexSVG, nodesRobonomicsSVG, nodesRocfinitySVG, nodesSocietalSVG, nodesSoonsocialXPNG, nodesSoraSubstrateSVG, nodesSubstrateContractsNodePNG, nodesTrappistRococoPNG, nodesUnitnetworkPNG, nodesYerbanetworkPNG, nodesZeitgeistPNG, nodesZeroSVG } from '../ui/logos/nodes/index.js';
import { getTeleports } from './util.js';

// The available endpoints that will show in the dropdown. For the most part (with the exception of
Expand Down Expand Up @@ -327,6 +327,18 @@ export const testParasRococo: Omit<EndpointOption, 'teleport'>[] = [
color: '#ECDA38',
logo: nodesLitentryRococoPNG
}
},
{
info:"rococoMagnet",
paraId: 4350,
providers:{
Magnet:'wss://magnet-rpc.magport.io/ws'
},
text:'Magnet',
ui:{
color: '#58BFAB',
logo: nodesMagnetSVG
}
},
{
info: 'rococoMangata',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright 2017-2024 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Do not edit. Auto-generated via node scripts/imgConvert.mjs

export const nodesMagnetSVG = 'data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8y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mo4RWRzbW50cGNldlBEeUdqa3RqODRrWmFpME9HTytxek16QUJaUmdTSlhmTWNHOUt6TUZ4M3o5dU0xVklRKzhxUkVxWEhZaHdaUVhKeE5wWlFoeVZxNCtEeGxpVjVZbksxYTlLdWxHdHhDUVhGMEJ6RzQ1MWFpMHpMR0plSGJTcE42ZmpyYjg2Nkp1bW8xOGRqS2xNZ0NWNFp5QnoyWHlRSVd5RmczMC9DZjNxb3F6MTk1T0s1ZFd5VnQ1UGpFOE8wb0YweU9FQ0kwVU1uT2JrVFVneDR1NHY2Y3dKME1wTDBObXU2YTIvQktXY0MyQ3dTMnQxUWVPY3ZUc0J4VVhvcmx0NzAvclBFV2hxOUp1VzFzK2RBV1VMdiszUnJyZXRGM29DQklMMnZUVC9MenhtZGlSSmg3eGlkOFI3ZklkOFdkQXgzMGhnSGZLMUI5WXgzNjB3OHZLL3dHRnBYdjYzUkt5ODlLK2lXT21BNzd1Z3ZNaVhhdjhGWEVScG45ajg3ZmNBQUFBQVNVVk9SSzVDWUlJPSIvPgoJPC9kZWZzPgoJPHN0eWxlPgoJPC9zdHlsZT4KCTx1c2UgaWQ9IkJhY2tncm91bmQiIGhyZWY9IiNpbWcxIiB4PSIwIiB5PSIwIi8+Cjwvc3ZnPg==';
1 change: 1 addition & 0 deletions packages/apps-config/src/ui/logos/nodes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export { nodesLitentryRococoPNG } from './generated/litentry-rococoPNG.js';
export { nodesLitentryPNG } from './generated/litentryPNG.js';
export { nodesLitmusPNG } from './generated/litmusPNG.js';
export { nodesLoomNetworkPNG } from './generated/loom_networkPNG.js';
export { nodesMagnetSVG } from './generated/magnetSVG.js';
export { nodesMantaPNG } from './generated/mantaPNG.js';
export { nodesMathSVG } from './generated/mathSVG.js';
export { nodesMd5PNG } from './generated/md5PNG.js';
Expand Down
9 changes: 9 additions & 0 deletions packages/apps-config/src/ui/logos/nodes/magnet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fc3e514

Please sign in to comment.