Add Aleph Zero mainnet (#6531)

This commit is contained in:
timorl 2021-11-09 12:43:26 +01:00 committed by GitHub
parent 875c9fe459
commit f64cc36b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 1 deletions

View File

@ -17,6 +17,13 @@ import { expandEndpoints } from './util';
// alphabetical based on chain name
export function createProduction (t: TFunction, firstOnly: boolean, withSort: boolean): LinkOption[] {
return expandEndpoints(t, [
{
info: 'aleph',
text: t('rpc.prod.aleph', 'Aleph Zero', { ns: 'apps-config' }),
providers: {
'Aleph Zero Foundation': 'wss://ws.azero.dev'
}
},
{
dnslink: 'centrifuge',
info: 'centrifuge',

View File

@ -188,6 +188,7 @@ export const chainColors: Record<string, string> = Object.entries({
'Acala Dev': chainAcala,
'acala mandala pc1': chainRoccoMandala,
'acala mandala pc2': chainRoccoMandala,
'Aleph Zero': chainAleph,
'Aleph Zero Testnet': chainAleph,
'Apron PC1': chainApron,
'Ares Gladios': chainAresGladios,

View File

@ -159,6 +159,7 @@ import emptyLogo from './empty.svg';
// Alphabetical overrides based on the actual matched chain name
// NOTE: This is as retrieved via system.chain RPC
export const chainLogos = Object.entries({
'Aleph Zero': chainAleph,
'Aleph Zero Testnet': chainAleph,
Altair: chainAltair,
'Apron PC1': nodeApron,

View File

@ -63,6 +63,7 @@
"rpc.polkadot.statemint-shell": "Statemint (Shell)",
"rpc.polkadot.subdao": "SubDAO",
"rpc.polkadot.subgame": "SubGame Gamma",
"rpc.prod.aleph": "Aleph Zero",
"rpc.prod.centrifuge": "Centrifuge",
"rpc.prod.chainx": "ChainX",
"rpc.prod.crab": "Darwinia Crab",
@ -220,4 +221,4 @@
"testnet.kylin-node.co.uk": "Kylin Testnet",
"westend-opal.unique.network": "OPAL by UNIQUE",
"westend.kylin-node.co.uk": "Pichiu Network"
}
}