Moonsama listing + types (#9682)

* 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>
This commit is contained in:
Kyilkhor 2023-07-12 07:02:57 +02:00 committed by GitHub
parent 4cd00a511f
commit cf29737e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 39 additions and 23 deletions

View File

@ -1,22 +0,0 @@
// Copyright 2017-2023 @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: {
Address: 'AccountId',
LookupSource: 'AccountId'
}
}
]
};
export default definitions;

View File

@ -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
@ -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',

View File

@ -10,6 +10,7 @@ export const ethereumChains = [
'moonbase',
'moonbeam',
'moonriver',
'moonsama',
'moonshadow',
'altbeacon',
'alt-producer',

View File

@ -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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I4IC00MiAtMzkgLTYxIC0yNyAtMzIgMjAgLTM5IDQxIC0xOSA2MyAyNCAyNwo0OCAyNyA3MiAweiIvPgo8L2c+Cjwvc3ZnPg==';

View File

@ -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';

View File

@ -0,0 +1,17 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="48.000000pt" height="48.000000pt" viewBox="0 0 48.000000 48.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,48.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M187 429 c-59 -14 -103 -55 -126 -119 -39 -110 -9 -217 72 -251 41
-18 173 -18 214 0 81 34 111 141 72 251 -23 63 -63 102 -125 119 -44 12 -54
12 -107 0z m-19 -252 c2 -10 -3 -17 -12 -17 -10 0 -16 9 -16 21 0 24 23 21 28
-4z m175 3 c-6 -22 -33 -28 -33 -7 0 17 10 27 26 27 7 0 10 -8 7 -20z m-67
-41 c13 -15 16 -24 8 -36 -18 -28 -42 -39 -61 -27 -32 20 -39 41 -19 63 24 27
48 27 72 0z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 820 B