Skip to content

Commit

Permalink
Moonsama listing + types (#9682)
Browse files Browse the repository at this point in the history
* Moonsama listing + types (#1)

* moonsama: basic types + bundle, ethereum visibility

* moonsama: logo and production entry

* moonsama: remove types

* moonsama: remove uncessary moonsama types import

* moonsama: correct paraId

* Moonsama: remove providers key to fix lint

Co-authored-by: Jaco <jacogr@gmail.com>

---------

Co-authored-by: Pratchett Sama <132891020+sirpsama@users.noreply.github.com>
Co-authored-by: Pratchett Sama <pratchett@moonsama.com>
Co-authored-by: Jaco <jacogr@gmail.com>
  • Loading branch information
4 people authored Jul 12, 2023
1 parent 4cd00a5 commit cf29737
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 23 deletions.
22 changes: 0 additions & 22 deletions packages/apps-config/src/api/spec/moonsama-development.ts

This file was deleted.

15 changes: 14 additions & 1 deletion packages/apps-config/src/endpoints/productionRelayPolkadot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { EndpointOption } from './types.js';

import { POLKADOT_GENESIS } from '../api/constants.js';
import { chainsAcalaSVG, chainsBitgreenPNG, chainsComposableFinancePNG, chainsEquilibriumSVG, chainsFrequencySVG, chainsGeminisPNG, chainsInvarchJPEG, chainsOakPNG, chainsOrigintrailPNG, chainsPeaqPNG, chainsPendulumSVG, chainsPolkadotCircleSVG, chainsSnakenetSVG, chainsTotemSVG, chainsWatrPNG } from '../ui/logos/chains/index.js';
import { nodesAjunaPNG, nodesAresOdysseySVG, nodesAssetHubSVG, nodesAstarPNG, nodesAventusSVG, nodesBifrostSVG, nodesBridgeHubSVG, nodesCentrifugePNG, nodesCloverSVG, nodesCoinversationPNG, nodesCrustParachainSVG, nodesDarwiniaSVG, nodesEfinitySVG, nodesHashedPNG, nodesIntegriteeSVG, nodesInterlaySVG, nodesKiltPNG, nodesKylinPNG, nodesLitentryPNG, nodesMantaPNG, nodesMoonbeamSVG, nodesNodleSVG, nodesOmnibtcSVG, nodesParallelSVG, nodesPhalaSVG, nodesPolkadexSVG, nodesSoraSubstrateSVG, nodesSubdaoPNG, nodesSubgameSVG, nodesSubsocialSVG, nodesT3rnPNG, nodesUniqueSVG, nodesZeitgeistPNG } from '../ui/logos/nodes/index.js';
import { nodesAjunaPNG, nodesAresOdysseySVG, nodesAssetHubSVG, nodesAstarPNG, nodesAventusSVG, nodesBifrostSVG, nodesBridgeHubSVG, nodesCentrifugePNG, nodesCloverSVG, nodesCoinversationPNG, nodesCrustParachainSVG, nodesDarwiniaSVG, nodesEfinitySVG, nodesHashedPNG, nodesIntegriteeSVG, nodesInterlaySVG, nodesKiltPNG, nodesKylinPNG, nodesLitentryPNG, nodesMantaPNG, nodesMoonbeamSVG, nodesMoonsamaSVG, nodesNodleSVG, nodesOmnibtcSVG, nodesParallelSVG, nodesPhalaSVG, nodesPolkadexSVG, nodesSoraSubstrateSVG, nodesSubdaoPNG, nodesSubgameSVG, nodesSubsocialSVG, nodesT3rnPNG, nodesUniqueSVG, nodesZeitgeistPNG } 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 @@ -427,6 +427,19 @@ export const prodParasPolkadot: Omit<EndpointOption, 'teleport'>[] = [
logo: nodesMoonbeamSVG
}
},
{
homepage: 'https://moonsama.com',
info: 'moonsama',
paraId: 3334,
providers: {
Moonsama: 'wss://rpc.moonsama.com/ws'
},
text: 'Moonsama',
ui: {
color: '#1a202c',
logo: nodesMoonsamaSVG
}
},
{
homepage: 'https://nodle.com',
info: 'nodle',
Expand Down
1 change: 1 addition & 0 deletions packages/apps-config/src/settings/ethereumChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const ethereumChains = [
'moonbase',
'moonbeam',
'moonriver',
'moonsama',
'moonshadow',
'altbeacon',
'alt-producer',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright 2017-2023 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Do not edit. Auto-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4IC00MiAtMzkgLTYxIC0yNyAtMzIgMjAgLTM5IDQxIC0xOSA2MyAyNCAyNwo0OCAyNyA3MiAweiIvPgo8L2c+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 @@ -89,6 +89,7 @@ export { nodesMoonbaseAlphaSVG } from './generated/moonbase_alphaSVG.js';
export { nodesMoonbeamSVG } from './generated/moonbeamSVG.js';
export { nodesMoonriverSVG } from './generated/moonriverSVG.js';
export { nodesMoonrockPNG } from './generated/moonrockPNG.js';
export { nodesMoonsamaSVG } from './generated/moonsamaSVG.js';
export { nodesMoonshadowPNG } from './generated/moonshadowPNG.js';
export { nodesMybankPNG } from './generated/mybankPNG.js';
export { nodesNftmartPNG } from './generated/nftmartPNG.js';
Expand Down
17 changes: 17 additions & 0 deletions packages/apps-config/src/ui/logos/nodes/moonsama.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 cf29737

Please sign in to comment.