support for acala mandala test network (#3242)

* support for acala mandala test network

* delete console.log
This commit is contained in:
nsso 2020-07-24 05:57:51 +12:00 committed by GitHub
parent 670d624b88
commit 9c20758b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 82 additions and 0 deletions

View File

@ -11,6 +11,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@acala-network/type-definitions": "0.3.1",
"@babel/runtime": "^7.10.5",
"edgeware-node-types": "^2.3.4"
}

View File

@ -0,0 +1,10 @@
// Copyright 2017-2020 @polkadot/apps-config authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import * as acalaDefinitions from '@acala-network/type-definitions';
import { typesFromDefs } from '../util';
const acaTypes = typesFromDefs(acalaDefinitions);
export default acaTypes;

View File

@ -2,6 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import acala from './acala';
import centrifugeChain from './centrifuge-chain';
import edgeware from './edgeware';
import encointerNodeNotee from './encointer-node-notee';
@ -11,6 +12,7 @@ import nodeTemplate from './node-template';
import stablePoc from './stable-poc';
export default {
acala,
'centrifuge-chain': centrifugeChain,
edgeware,
'encointer-node': encointerNodeNotee,

View File

@ -88,6 +88,11 @@ function createTest (t: TFunction): LinkOption[] {
text: t<string>('rpc.westend', 'Westend (Polkadot Testnet, hosted by Parity)', { ns: 'apps-config' }),
value: 'wss://westend-rpc.polkadot.io'
},
{
info: 'acala',
text: t<string>('rpc.mandala', 'Mandala (Acala Testnet, hosted by Acala)', { ns: 'apps-config' }),
value: 'wss://node-6684611762228215808.jm.onfinality.io/ws'
},
{
info: 'edgeware',
text: t<string>('rpc.berlin', 'Berlin (Edgeware Testnet, hosted by Commonwealth Labs)', { ns: 'apps-config' }),

View File

@ -8,6 +8,7 @@
import chainKusama from './chains/kusama-128.gif';
// defaults for the node type, assuming we don't have a specific chain, but rather match on the implementation
import nodeAcala from './nodes/acala-circle.svg';
import nodeCentrifuge from './nodes/centrifuge.png';
import nodeEdgeware from './nodes/edgeware-circle.svg';
import nodeEncointerNotee from './nodes/encointer-notee.svg';
@ -55,6 +56,7 @@ const nodeLogos: Record<string, any> = [
// overrides when we pass an explicit logo name
const namedLogos: Record<string, any> = {
acala: nodeAcala,
alexander: nodePolkadot,
centrifuge: nodeCentrifuge,
edgeware: nodeEdgeware,

View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="120px" height="120px" viewBox="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->
<title>Group 73</title>
<desc>Created with Sketch.</desc>
<defs>
<linearGradient x1="27.5324675%" y1="23.6757554%" x2="55.5380334%" y2="101.284926%" id="linearGradient-1">
<stop stop-color="#FF9373" offset="39%"></stop>
<stop stop-color="#FE8F73" offset="51%"></stop>
<stop stop-color="#FB8373" offset="62%"></stop>
<stop stop-color="#F77073" offset="73%"></stop>
<stop stop-color="#F15472" offset="83%"></stop>
<stop stop-color="#E93172" offset="94%"></stop>
<stop stop-color="#E41A72" offset="100%"></stop>
</linearGradient>
<linearGradient x1="100.02885%" y1="49.9879295%" x2="8.647674%" y2="49.9879295%" id="linearGradient-2">
<stop stop-color="#FF9373" offset="9%"></stop>
<stop stop-color="#FD8A73" offset="15%"></stop>
<stop stop-color="#F04E72" offset="55%"></stop>
<stop stop-color="#E72872" offset="85%"></stop>
<stop stop-color="#E41A72" offset="100%"></stop>
</linearGradient>
<linearGradient x1="89.1975677%" y1="49.9959778%" x2="28.4010969%" y2="49.9959778%" id="linearGradient-3">
<stop stop-color="#FF9373" offset="0%"></stop>
<stop stop-color="#E41A72" offset="100%"></stop>
</linearGradient>
</defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="ACALA-Copy-4" transform="translate(-327.000000, -2913.000000)">
<g id="Group-73" transform="translate(327.000000, 2913.000000)">
<circle id="Oval" fill="#FFFFFF" cx="60" cy="60" r="60"></circle>
<g id="logo.98c8c4e9" transform="translate(15.000000, 22.000000)" fill-rule="nonzero">
<path d="M60.1768349,56.0053828 C56.0567465,54.8038893 51.7843496,54.2055087 47.4927101,54.2288777 C40.4502811,54.2121816 33.5112993,55.9235057 27.2842073,59.2127929 L31.3162068,52.385678 L34.8934695,46.3225208 L44.5520789,29.8549859 L53.6468147,45.0128788 L38.6708164,20.0084187 L22.5488815,47.4927101 L6.4269466,75.3832331 L18.0863978,75.3832331 C25.3785067,68.9172276 34.7581871,65.2983975 44.5035736,65.1910659 C55.1868566,65.1486238 64.845466,69.0290444 71.7877809,75.3711068 L60.1768349,56.0053828 Z" id="Path" fill="url(#linearGradient-1)"></path>
<path d="M38.9557848,0.0424421002 L19.4748608,33.0563329 L0,66.0884132 L3.2134733,70.5387705 L6.4269466,75.3892963 L22.5488815,47.4987733 L38.6708164,20.0084187 L53.6164989,45.0250052 C51.4839073,44.7427234 49.3346678,44.6049776 47.1834891,44.6127105 C43.0299455,44.623487 38.8965455,45.1903766 34.8934695,46.2982682 L31.3162068,52.3614253 L27.2842073,59.2127929 C33.504048,55.9273559 40.4342302,54.2161484 47.4684575,54.2288777 C51.760097,54.2055087 56.0324939,54.8038893 60.1525823,56.0053828 L71.7392757,75.3711068 L84.0656742,75.3711068 L38.9557848,0.0424421002 Z" id="Path" fill="url(#linearGradient-2)"></path>
<polygon id="Path" fill="url(#linearGradient-3)" points="38.9557848 0.0424421002 84.0899268 75.3711068 89.807484 65.7306869 50.2878256 0"></polygon>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -13,6 +13,7 @@
"rpc.kusama.parity": "Kusama (Polkadot Canary, hosted by Parity)",
"rpc.kusama.w3f": "Kusama (Polkadot Canary, hosted by Web3 Foundation)",
"rpc.local": "Local Node (Own, 127.0.0.1:9944)",
"rpc.mandala": "Mandala (Acala Testnet, hosted by Acala)",
"rpc.westend": "Westend (Polkadot Testnet, hosted by Parity)",
"ss58.centrifuge": "Centrifuge (live)",
"ss58.default": "Default for the connected node",

View File

@ -966,6 +966,7 @@
"rpc.kusama.parity": "Kusama (Red canaria de Polkadot, ofrecido por Parity)",
"rpc.kusama.w3f": "Kusama (Red canaria de Polkadot, ofrecido por la fundación Web3)",
"rpc.local": "Nodo local (propio, 127.0.0.1:9944)",
"rpc.mandala": "Mandala (Acala Testnet, hosted by Acala)",
"rpc.westend": "Westend (Testnet de Polkadot, ofrecido por Parity)",
"runners up": "primeros puestos",
"scheduling": "planificación",

View File

@ -505,6 +505,7 @@
"rpc.kusama.parity": "Kusama (Polkadot Canary, hosted by Parity)",
"rpc.kusama.w3f": "Kusama (Polkadot Canary, hosted by Web3 Foundation)",
"rpc.local": "Local Node (Own, 127.0.0.1:9944)",
"rpc.mandala": "Mandala (Acala Testnet, hosted by Acala)",
"rpc.westend": "Westend (Polkadot Testnet, hosted by Parity)",
"scheduling": "スケジューリング",
"secret": "秘密",

View File

@ -971,6 +971,7 @@
"rpc.kusama.parity": "Kusama (Polkadot Canary, hospedado pela Parity)",
"rpc.kusama.w3f": "Kusama (Polkadot Canary, hospedado pela Web3 Foundation)",
"rpc.local": "Nó local (Próprio, 127.0.0.1:9944)",
"rpc.mandala": "Mandala (Acala Testnet, hosted by Acala)",
"rpc.westend": "Westend (Polkadot Testnet, hospedado pela Parity)",
"runners up": "finalistas",
"scheduling": "agendamento",

View File

@ -984,6 +984,7 @@
"rpc.kusama.parity": "Kusama (Polkadot Canary, hosted by Parity)",
"rpc.kusama.w3f": "Kusama (Polkadot Canary, hosted by Web3 Foundation)",
"rpc.local": "Локальная нода (Own, 127.0.0.1:9944)",
"rpc.mandala": "Mandala (Acala Testnet, hosted by Acala)",
"rpc.westend": "Westend (Polkadot Testnet, hosted by Parity)",
"runners up": "претенденты",
"scheduling": "планирование",

View File

@ -11,6 +11,15 @@ __metadata:
languageName: node
linkType: hard
"@acala-network/type-definitions@npm:0.3.1":
version: 0.3.1
resolution: "@acala-network/type-definitions@npm:0.3.1"
dependencies:
"@open-web3/orml-type-definitions": ^0.5.1
checksum: 3/dfed1c06987475b926780b623effae500c5c99b881ffd386953005196a24351549b1ab1dee2969adeef32ca651ba18aa81e3826046f44aabcc1cc4d0768ea1c2
languageName: node
linkType: hard
"@babel/cli@npm:^7.10.5":
version: 7.10.5
resolution: "@babel/cli@npm:7.10.5"
@ -2923,6 +2932,13 @@ __metadata:
languageName: node
linkType: hard
"@open-web3/orml-type-definitions@npm:^0.5.1":
version: 0.5.1
resolution: "@open-web3/orml-type-definitions@npm:0.5.1"
checksum: 3/3bac3967adfd8fd2d0c3a0b6338a0c1421677a0f57346bb91279be966987203a04898811d865923269474381e5529b9fd7d4cb7e6aac2aa26952ebc710201342
languageName: node
linkType: hard
"@pinata/sdk@npm:^1.1.10":
version: 1.1.10
resolution: "@pinata/sdk@npm:1.1.10"
@ -3192,6 +3208,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/apps-config@workspace:packages/apps-config"
dependencies:
"@acala-network/type-definitions": 0.3.1
"@babel/runtime": ^7.10.5
edgeware-node-types: ^2.3.4
languageName: unknown