Add Bifrost testnet Asgard to testnet list (#3995)

* Add Bifrost testnet Asgard to testnet list

* correct: change nodeStafi to nodeBifrost
This commit is contained in:
Janpo Pan 2020-11-09 23:02:42 +08:00 committed by GitHub
parent aeaf692a71
commit 264aa16a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 204 additions and 9 deletions

View File

@ -0,0 +1,153 @@
// Copyright 2017-2020 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
/* eslint-disable sort-keys */
export default {
Token: { symbol: 'Vec<u8>', precision: 'u16', totalSupply: 'u128' },
VersionId: 'u32',
Action: {
account: 'AccountName',
name: 'ActionName',
authorization: 'Vec<PermissionLevel>',
data: 'Vec<u8>'
},
IostAction: { contract: 'Vec<u8>', action_name: 'Vec<u8>', data: 'Vec<u8>' },
PermissionLevel: { actor: 'AccountName', permission: 'PermissionName' },
PermissionName: 'u64',
ActionReceipt: {
receiver: 'AccountName',
act_digest: 'Checksum256',
global_sequence: 'u64',
recv_sequence: 'u64',
auth_sequence: 'FlatMap<AccountName, u64>',
code_sequence: 'UnsignedInt',
abi_sequence: 'UnsignedInt'
},
Checksum256: '([u8;32])',
BlockchainType: { _enum: ['BIFROST', 'EOS', 'IOST'] },
Precision: 'u32',
BridgeAssetSymbol: {
blockchain: 'BlockchainType',
symbol: 'Vec<u8>',
precision: 'Precision'
},
ProducerSchedule: { version: 'u32', producers: 'Vec<ProducerKey>' },
ProducerKey: { producer_name: 'AccountName', block_signing_key: 'PublicKey' },
AccountName: 'u64',
ActionName: 'u64',
PublicKey: { type_: 'UnsignedInt', data: '[u8;33]' },
UnsignedInt: 'u32',
Signature: { type_: 'UnsignedInt', data: '[u8;65]' },
SignedBlockHeader: { block_header: 'BlockHeader', producer_signature: 'Signature' },
BlockHeader: {
timestamp: 'BlockTimestamp',
producer: 'AccountName',
confirmed: 'u16',
previous: 'Checksum256',
transaction_mroot: 'Checksum256',
action_mroot: 'Checksum256',
schedule_version: 'u32',
new_producers: 'Option<ProducerSchedule>',
header_extensions: 'Vec<Extension>'
},
BlockTimestamp: '(u32)',
Extension: '(u16, Vec<u8>)',
IncrementalMerkle: { _node_count: 'u64', _active_nodes: 'Checksum256Array' },
Checksum256Array: 'Vec<Checksum256>',
FlatMap: { map: 'Vec<(ActionName, u64)>' },
TxSig: { signature: 'Vec<u8>', author: 'AccountId' },
MultiSig: { signatures: 'Vec<TxSig>', threshold: 'u8' },
MultiSigTx: {
chain_id: 'Vec<u8>',
raw_tx: 'Vec<u8>',
multi_sig: 'MultiSig',
action: 'Action',
from: 'AccountId',
token_symbol: 'TokenSymbol'
},
Processing: { tx_id: 'Vec<u8>', multi_sig_tx: 'MultiSigTx' },
Sent: { tx_id: 'Vec<u8>', from: 'AccountId', token_symbol: 'TokenSymbol' },
Fail: { tx_id: 'Vec<u8>', reason: 'Vec<u8>', tx: 'MultiSigTx' },
Failure: { tx_id: 'Vec<u8>', reason: 'Vec<u8>' },
TxOut: {
_enum: {
Initial: 'MultiSigTx',
Generated: 'MultiSigTx',
Signed: 'MultiSigTx',
Processing: 'Processing',
Success: 'Vec<u8>',
Fail: 'Fail'
}
},
TxOutV1: {
_enum: {
Initialized: 'MultiSigTx',
Created: 'MultiSigTx',
CompleteSigned: 'MultiSigTx',
Sent: 'Sent',
Succeeded: 'Vec<u8>',
Failure: 'Failure'
}
},
ConvertPrice: 'u128',
RatePerBlock: 'u64',
Fee: 'u64',
TokenPool: 'Balance',
VTokenPool: 'Balance',
InVariantPool: 'Balance',
TokenSymbol: {
_enum: [
'aUSD', 'DOT',
'vDOT', 'KSM',
'vKSM', 'EOS',
'vEOS', 'IOST',
'vIOST'
]
},
TrxStatus: {
_enum: [
'Initial',
'Generated',
'Signed',
'Processing',
'Success',
'Fail'
]
},
Cost: 'u128',
Income: 'u128',
Price: 'u64',
AccountAsset: {
balance: 'Balance',
locked: 'Balance',
available: 'Balance',
cost: 'Cost',
income: 'Income'
},
SpecIndex: 'u32',
RequestIdentifier: 'u64',
DataVersion: 'u64',
ConvertPool: {
token_pool: 'Balance',
vtoken_pool: 'Balance',
current_reward: 'Balance',
pending_reward: 'Balance'
},
ProducerAuthoritySchedule: { version: 'u32', producers: 'Vec<ProducerAuthority>' },
ProducerAuthority: { producer_name: 'ActionName', authority: 'BlockSigningAuthority' },
BlockSigningAuthority: '(UnsignedInt, BlockSigningAuthorityV0)',
BlockSigningAuthorityV0: { threshold: 'u32', keys: 'Vec<KeyWeight>' },
KeyWeight: { key: 'PublicKey', weight: 'u16' },
InvariantValue: 'Balance',
PoolWeight: 'Balance',
AssetConfig: { redeem_duration: 'BlockNumber', min_reward_per_block: 'Balance' },
ProxyValidatorRegister: {
last_block: 'BlockNumber',
deposit: 'Balance',
need: 'Balance',
staking: 'Balance',
reward_per_block: 'Balance',
validator_address: 'Vec<u8>'
},
BlockNumber: 'u32'
};

View File

@ -1,6 +1,7 @@
// Copyright 2017-2020 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import bifrost from './bifrost';
import canvas from './canvas';
import centrifugeChain from './centrifuge-chain';
import crab from './crab';
@ -27,6 +28,7 @@ import subsocial from './subsocial';
export default {
Crab: crab,
Equilibrium: equilibrium,
bifrost: bifrost,
canvas,
'centrifuge-chain': centrifugeChain,
crust,

View File

@ -247,6 +247,12 @@ function createTestNetworks (t: TFunction): LinkOption[] {
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Commonwealth Labs' } }),
value: 'wss://beresheet1.edgewa.re'
},
{
info: 'bifrost',
text: t('rpc.bifrost', 'Bifrost Asgard', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Bifrost' } }),
value: 'wss://testnet.liebi.com'
},
{
info: 'canvas',
text: t('rpc.canvas', 'Canvas', { ns: 'apps-config' }),

View File

@ -25,6 +25,7 @@ const chainWestend = '#da68a7';
// based on node name
// alphabetical
const nodeBifrost = '#002cc3';
const nodeCanvas = '#c77cff';
const nodeCentrifuge = '#fcc367';
const nodeEdgeware = '#0a95df';
@ -65,6 +66,7 @@ const chainColors: Record<string, any> = [
// overrides based on the actual software node type (all '-' converted to ' ')
// alphabetical
const nodeColors: Record<string, any> = [
['Bifrost Node', nodeBifrost],
['Canvas Node', nodeCanvas],
['centrifuge chain', nodeCentrifuge],
['Centrifuge Chain Node', nodeCentrifuge],

View File

@ -15,6 +15,7 @@ import chainRococoTrick from './chains/rococo-trick.svg';
// defaults for the node type, assuming we don't have a specific chain, but rather match on the implementation
// alphabetical
import nodeAcala from './nodes/acala-circle.svg';
import nodeBifrost from './nodes/bifrost.svg';
import nodeCanvas from './nodes/canvas-2.png';
import nodeCentrifuge from './nodes/centrifuge.png';
import nodeCrab from './nodes/crab.svg';
@ -78,6 +79,8 @@ const chainLogos: Record<string, any> = [
// alphabetical
const nodeLogos: Record<string, any> = [
['airalab-robonomics', nodeRobonomics],
['Bifrost Node', nodeBifrost],
['Bifrost', nodeBifrost],
['Canvas Node', nodeCanvas],
['centrifuge chain', nodeCentrifuge],
['Centrifuge Chain Node', nodeCentrifuge],
@ -116,6 +119,7 @@ const nodeLogos: Record<string, any> = [
const namedLogos: Record<string, any> = {
acala: nodeAcala,
alexander: nodePolkadot,
bifrost: nodeBifrost,
canvas: nodeCanvas,
centrifuge: nodeCentrifuge,
crab: nodeCrab,

View File

@ -0,0 +1,19 @@
<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="50" cy="50" r="50" fill="black"/>
<path d="M27.4675 58.7844V43.0888H32.8467C34.6218 43.0888 35.9729 43.4445 36.9 44.156C37.8271 44.8675 38.2906 45.9275 38.2906 47.3361C38.2906 48.0547 38.0966 48.7015 37.7085 49.2765C37.3204 49.8514 36.7527 50.297 36.0053 50.6132C36.8533 50.8432 37.5073 51.278 37.9672 51.9176C38.4343 52.55 38.6679 53.3118 38.6679 54.2029C38.6679 55.6762 38.1936 56.8081 37.245 57.5986C36.3035 58.3891 34.9524 58.7844 33.1917 58.7844H27.4675ZM30.1949 51.702V56.6068H33.224C34.0792 56.6068 34.7476 56.3948 35.2291 55.9708C35.7106 55.5468 35.9514 54.9575 35.9514 54.2029C35.9514 52.5716 35.1177 51.7379 33.4504 51.702H30.1949ZM30.1949 49.6969H32.8683C33.7163 49.6969 34.3775 49.5064 34.8518 49.1256C35.3333 48.7375 35.5741 48.1913 35.5741 47.487C35.5741 46.7108 35.3513 46.1503 34.9057 45.8053C34.4673 45.4604 33.781 45.2879 32.8467 45.2879H30.1949V49.6969Z" fill="white"/>
<path d="M43.6652 58.7844H41.0457V47.1205H43.6652V58.7844Z" fill="white"/>
<path d="M61.3524 52.8446C61.3524 51.702 61.5788 50.6743 62.0315 49.7616C62.4843 48.8417 63.1203 48.1374 63.9396 47.6487C64.7589 47.1528 65.7003 46.9049 66.764 46.9049C68.3378 46.9049 69.6135 47.4115 70.5908 48.4249C71.5754 49.4382 72.1072 50.7821 72.1863 52.4566L72.1971 53.071C72.1971 54.2209 71.9743 55.2486 71.5287 56.1541C71.0903 57.0596 70.4579 57.7603 69.6314 58.2562C68.8121 58.7521 67.8635 59 66.7855 59C65.1398 59 63.821 58.4538 62.8293 57.3614C61.8447 56.2619 61.3524 54.7994 61.3524 52.974V52.8446ZM63.9719 53.071C63.9719 54.2712 64.2199 55.2126 64.7158 55.8954C65.2116 56.5709 65.9016 56.9087 66.7855 56.9087C67.6695 56.9087 68.3558 56.5637 68.8445 55.8738C69.3404 55.1839 69.5883 54.1742 69.5883 52.8446C69.5883 51.666 69.3332 50.7318 68.8229 50.0419C68.3199 49.3519 67.6335 49.007 66.764 49.007C65.9087 49.007 65.2296 49.3483 64.7265 50.0311C64.2235 50.7066 63.9719 51.7199 63.9719 53.071Z" fill="white"/>
<path d="M80.9504 55.6151C80.9504 55.148 80.7563 54.7922 80.3683 54.5479C79.9874 54.3035 79.3514 54.0879 78.4602 53.9011C77.5691 53.7142 76.8253 53.4771 76.2288 53.1896C74.9208 52.5572 74.2668 51.6409 74.2668 50.4407C74.2668 49.4346 74.6908 48.5937 75.5388 47.9182C76.3869 47.2427 77.4649 46.9049 78.7728 46.9049C80.167 46.9049 81.2918 47.2498 82.147 47.9398C83.0094 48.6297 83.4406 49.5244 83.4406 50.624H80.821C80.821 50.1209 80.6342 49.7041 80.2605 49.3735C79.8868 49.0357 79.3909 48.8668 78.7728 48.8668C78.1979 48.8668 77.7272 48.9998 77.3607 49.2657C77.0013 49.5316 76.8217 49.8873 76.8217 50.3329C76.8217 50.7354 76.9905 51.048 77.3283 51.2708C77.6661 51.4936 78.3488 51.7199 79.3765 51.9499C80.4042 52.1727 81.2091 52.4422 81.7912 52.7584C82.3805 53.0674 82.8153 53.4411 83.0956 53.8795C83.3831 54.3179 83.5268 54.8497 83.5268 55.4749C83.5268 56.5242 83.092 57.3758 82.2224 58.0298C81.3528 58.6766 80.2138 59 78.8052 59C77.8493 59 76.9977 58.8275 76.2503 58.4826C75.5029 58.1376 74.9208 57.6633 74.504 57.0596C74.0871 56.4559 73.8787 55.8055 73.8787 55.1084H76.4228C76.4587 55.7265 76.6923 56.2044 77.1235 56.5422C77.5547 56.8728 78.126 57.038 78.8375 57.038C79.5274 57.038 80.0521 56.9087 80.4114 56.65C80.7707 56.3841 80.9504 56.0391 80.9504 55.6151Z" fill="white"/>
<path d="M88.2159 44.2854V47.1205H90.3395V49.0609H88.2159V55.572C88.2159 56.0175 88.3021 56.3409 88.4746 56.5422C88.6542 56.7362 88.9704 56.8332 89.4232 56.8332C89.725 56.8332 90.0305 56.7973 90.3395 56.7254V58.7521C89.743 58.9174 89.1681 59 88.6147 59C86.6024 59 85.5963 57.8897 85.5963 55.669V44.2854H88.2159Z" fill="white"/>
<path d="M46.632 46.0533C46.632 44.7597 46.9914 43.7607 47.71 43.0564C48.4287 42.3521 49.4348 42 50.7284 42C51.1884 42 52.1305 42.2278 52.5747 42.3872L52.1298 44.2422C51.8424 44.1847 51.5082 44.156 51.1273 44.156C49.8768 44.156 49.2516 44.7992 49.2516 46.0856V47.1205H52.5284L51.9913 49.1256L49.2516 49.0609V58.7844H46.632V46.0533Z" fill="white"/>
<path d="M41.0455 43.4291H43.6652V45.3939H41.0455V43.4291Z" fill="white"/>
<path d="M61.0222 47.1205L60.5324 49.0609H57.0482V58.7844H54.4287V47.1205H61.0222Z" fill="white"/>
<g clip-path="url(#clip0)">
<path d="M24.5517 47.1204H20.6637L9 58.7841H16.7758L24.5517 47.1204Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0">
<path d="M9 43.2324H24.5517V58.7841H9V43.2324Z" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -3,6 +3,7 @@
"rpc.amber": "Amber",
"rpc.ava.summary": "user-run public nodes; see https://status.cloud.ava.do/",
"rpc.beresheet": "Beresheet",
"rpc.bifrost": "Bifrost",
"rpc.canvas": "Canvas",
"rpc.centrifuge": "Centrifuge",
"rpc.crab": "Darwinia Crab",
@ -48,4 +49,4 @@
"rpc.turbulence": "Turbulence",
"rpc.westend": "Westend",
"ss58.default": "Default for the connected node"
}
}

View File

@ -955,6 +955,7 @@
"role": "rol",
"rotation": "rotación",
"rpc.beresheet": "Beresheet (Testnet Edgeware, ofrecido por Commonwealth Labs)",
"rpc.bifrost": "Bifrost",
"rpc.custom": "Entorno personalizado",
"rpc.edgeware": "Edgeware (red principal Edgeware, ofrecido por Commonwealth Labs)",
"rpc.flamingfir": "Flaming Fir (Testnet Substrate, ofrecido por Parity)",
@ -1115,4 +1116,4 @@
"{{threshold}}, not passing": "{{threshold}}, no pasará",
"{{threshold}}, passing": "{{threshold}}, de aprobación",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}}x saldo de votos, bloqueado por {{lock}}x sentencia ({{period}} días."
}
}

View File

@ -1290,6 +1290,7 @@
"rpc.amber": "Amber",
"rpc.ava.summary": "Noeud géré par la communauté; voir https://status.cloud.ava.do/",
"rpc.beresheet": "Beresheet (Testnet Edgeware, hébergé par Commonwealth Labs)",
"rpc.bifrost": "Bifrost",
"rpc.canvas": "Canvas",
"rpc.centrifuge": "Centrifuge",
"rpc.crab": "Darwinia Crab",
@ -1519,4 +1520,4 @@
"{{threshold}}, not passing": "{{seuil} }, ne dépassant pas",
"{{threshold}}, passing": "{{seuil}}, passant",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}} x solde de vote, verrouillé pendant {{lock}} x décret ({{period}} jours)"
}
}

View File

@ -1248,6 +1248,7 @@
"role": "wewenang",
"rotation": "rotasi",
"rpc.beresheet": "Beresheet (Edgeware Testnet, hosted by Commonwealth Labs)",
"rpc.bifrost": "Bifrost",
"rpc.custom": "Kustom environment",
"rpc.edgeware": "Edgeware (Edgeware Mainnet, dihosting oleh Commonwealth Labs)",
"rpc.flamingfir": "Flaming Fir (Substrate Testnet, dihosting oleh Parity)",
@ -1452,4 +1453,4 @@
"{{threshold}}, not passing": "{{threshold}}, tidak melewati",
"{{threshold}}, passing": "{{threshold}}, melewati",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}}x memilih saldo, terkunci untuk {{lock}}x berlaku ({{period}} hari)"
}
}

View File

@ -1230,6 +1230,7 @@
"role": "ruolo",
"rotation": "rotazione",
"rpc.beresheet": "Beresheet (Edgeware Testnet, ospitato da Commonwealth Labs)",
"rpc.bifrost": "Bifrost",
"rpc.custom": "Ambiente personalizzato",
"rpc.edgeware": "Edgeware (Edgeware Mainnet, ospitato da Commonwealth Labs)",
"rpc.flamingfir": "Flaming Fir (Substrate Testnet, ospitato da Parity)",
@ -1431,4 +1432,4 @@
"{{threshold}}, not passing": "{{threshold}}, respinta",
"{{threshold}}, passing": "{{threshold}}, approvato",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}} x moltiplicatore di voto, fondi bloccati per {{lock}}x = {{period}} giorni"
}
}

View File

@ -494,6 +494,7 @@
"riot": "riot",
"riot name": "riot名",
"rpc.beresheet": "Beresheet (Edgeware Testnet, hosted by Commonwealth Labs)",
"rpc.bifrost": "Bifrost",
"rpc.custom": "カスタムエンドポイント",
"rpc.edgeware": "Edgeware (Edgeware Mainnet, hosted by Commonwealth Labs)",
"rpc.flamingfir": "Flaming Fir (Substrate Testnet, hosted by Parity)",
@ -564,4 +565,4 @@
"{{relayDispatchQueueSize}} dispatch messages pending": "{{relayDispatchQueueSize}} ディスパッチメッセージペンディング",
"{{seconds}} s": "{{seconds}} 秒",
"{{step}}. Sign with your ETH address": "{{step}}. ETHアドレスでサインしてください"
}
}

View File

@ -1254,6 +1254,7 @@
"rpc.amber": "앰버",
"rpc.ava.summary": "사용자가-운영하는 공공의 노드; 참조 https://status.cloud.ava.do/",
"rpc.beresheet": "베레시트(Edgware 테스트넷, Commonwealth Labs가 운영함)",
"rpc.bifrost": "Bifrost",
"rpc.canvas": "캔버스",
"rpc.centrifuge": "센츄러퓨지",
"rpc.crab": "다위니아 크랩",
@ -1479,4 +1480,4 @@
"{{threshold}}, not passing": "{{threshold}}, 통과되지 않았습니다",
"{{threshold}}, passing": "{{threshold}}, 통과되었습니다",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}}x 투표 발란스, 잠금 {{lock}}x제정 ({{period}} days)"
}
}

View File

@ -960,6 +960,7 @@
"role": "Função",
"rotation": "rotação",
"rpc.beresheet": "Beresheet (Edgeware Testnet, hospedado pelo Commonwealth Labs)",
"rpc.bifrost": "Bifrost",
"rpc.custom": "Ambiente personalizado",
"rpc.edgeware": "Edgeware (Edgeware Mainnet, hospedado pelo Commonwealth Labs)",
"rpc.flamingfir": "Fir flamejante (Substrate Testnet, hospedado pela Parity)",
@ -1122,4 +1123,4 @@
"{{threshold}}, not passing": "{{threshold}}, não passando",
"{{threshold}}, passing": "{{threshold}}, passando",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}} x saldo de votos, bloqueado por {{lock}} x promulgação ({{period}} dias)"
}
}

View File

@ -973,6 +973,7 @@
"role": "роль",
"rotation": "ротация",
"rpc.beresheet": "Beresheet (Edgeware Testnet, hosted by Commonwealth Labs)",
"rpc.bifrost": "Bifrost",
"rpc.custom": "Пользовательская среда",
"rpc.edgeware": "Edgeware (Edgeware Mainnet, hosted by Commonwealth Labs)",
"rpc.flamingfir": "Flaming Fir (Substrate Testnet, hosted by Parity)",
@ -1133,4 +1134,4 @@
"{{threshold}}, not passing": "{{threshold}}, не проходит",
"{{threshold}}, passing": "{{threshold}}, проходит",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}}x баланс голосования, заблокировано на {{lock}}x ({{period}} дней)"
}
}