Adds Moonshadow as Westend parachain (#5352)

* Adds moonshadow

* Fixes moonshadow url

* Updates moonbeam package to include polkadot 9.2 changes

* Restore moonbeam from ethereum chains

* add lock

* Update packages/apps-config/src/endpoints/testingRelayWestend.ts

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

* Update packages/apps-config/src/settings/ethereumChains.ts

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

* lint

Co-authored-by: root <root@localhost.localdomain>
Co-authored-by: Antoine Estienne <estienne.antoine@gmail.com>
Co-authored-by: Jaco <jacogr@gmail.com>
This commit is contained in:
Alan Sapede 2021-05-25 07:27:53 -04:00 committed by GitHub
parent 92216b221b
commit d922362991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 22 additions and 8 deletions

View File

@ -23,7 +23,7 @@
"@sora-substrate/type-definitions": "^1.3.4",
"@subsocial/types": "^0.5.2",
"@zeitgeistpm/type-defs": "^0.1.51",
"moonbeam-types-bundle": "1.1.15"
"moonbeam-types-bundle": "1.1.16"
},
"devDependencies": {
"i18next": "^19.9.2"

View File

@ -152,6 +152,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
'moonbase-alphanet': moonbeam,
moonbeam,
'moonbeam-standalone': moonbeam,
moonshadow: moonbeam,
'mybank.network Testnet': mybank,
neatcoin,
nft: unique,

View File

@ -38,6 +38,14 @@ export function createWestend (t: TFunction): EndpointOption {
providers: {
Parity: 'wss://westend-shell-rpc.parity.io'
}
},
{
info: 'moonshadow',
paraId: 2002,
text: t('rpc.westend.moonshadow', 'Moonshadow', { ns: 'apps-config' }),
providers: {
Purestake: 'wss://wss.moonshadow.testnet.moonbeam.network'
}
}
// (3) parachains with id, see Rococo (info here maps to the actual "named icon")
//

View File

@ -8,5 +8,6 @@ export const ethereumChains = [
'moonbase-alphanet',
'moonbeam-alphanet',
'moonbeam-standalone',
'moonbeam'
'moonbeam',
'moonshadow'
];

View File

@ -183,6 +183,7 @@ export const chainColors: Record<string, string> = [
['Moonbase Alpha', nodeMoonbeam],
['Moonbase Stage', nodeMoonbeam],
['Moonbase Development Testnet', nodeMoonbeam],
['Moonshadow', nodeMoonbeam],
['Moonrock', chainMoonrock],
['mybank.network Testnet', chainMybank],
['NFTMart Testnet', chainNFTMart],

View File

@ -64,6 +64,7 @@ import nodeManta from './nodes/manta.png';
import nodeMath from './nodes/math.svg';
import moonbeam from './nodes/moonbeam.png';
import nodeMoonrock from './nodes/moonrock.png';
import moonshadow from './nodes/moonshadow.png';
import mybank from './nodes/mybank.png';
import nodeNFTMart from './nodes/nftmart.png';
import nodeNodle from './nodes/nodle.svg';
@ -149,6 +150,7 @@ export const chainLogos: Record<string, unknown> = [
['Moonbase Stage', moonbeam],
['Moonbase Development Testnet', moonbeam],
['Moonrock', nodeMoonrock],
['Moonshadow', moonshadow],
['mybank.network PC1', mybank],
['NFTMart Testnet', nodeNFTMart],
['NFTMart Staging', nodeNFTMart],
@ -365,6 +367,7 @@ export const namedLogos: Record<string, unknown> = {
manta: nodeManta,
moonbaseAlpha: moonbeam,
moonrock: nodeMoonrock,
moonshadow: moonshadow,
mybank: mybank,
nftmart: nodeNFTMart,
nodle: nodeNodle,

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -2531,7 +2531,7 @@ __metadata:
"@subsocial/types": ^0.5.2
"@zeitgeistpm/type-defs": ^0.1.51
i18next: ^19.9.2
moonbeam-types-bundle: 1.1.15
moonbeam-types-bundle: 1.1.16
languageName: unknown
linkType: soft
@ -13602,14 +13602,14 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"moonbeam-types-bundle@npm:1.1.15":
version: 1.1.15
resolution: "moonbeam-types-bundle@npm:1.1.15"
"moonbeam-types-bundle@npm:1.1.16":
version: 1.1.16
resolution: "moonbeam-types-bundle@npm:1.1.16"
dependencies:
"@polkadot/keyring": ^6.0.5
"@polkadot/types": ^4.4.1
"@polkadot/types": ^4.10.0
typescript: ^4.1.3
checksum: 92cd12006c139025f5213b37fb0b362e98f05f58901de63f8e2fdbb68abef7a30e51752ce5fc1c6835eec2c79809000f347d90cce47f3e062c1d7df31bcd1505
checksum: 623ccf4a37c2e1c18d81911f70ded08da569ebb7deb7028e2de7fccf7457102b1bee5875ffbdfc5d390b72d7611ce7a40179e97eeb420d19f0f862217af03ccf
languageName: node
linkType: hard