Add Acala Parachain (#6496)
* Add Acala Parachain * Remove useless assets
This commit is contained in:
parent
e847f584d5
commit
e2dc667d20
@ -43,6 +43,17 @@ export function createPolkadot (t: TFunction): EndpointOption {
|
||||
/// (3) parachains with id, see Rococo (info here maps to the actual "named icon")
|
||||
//
|
||||
// NOTE: Added alphabetical based on chain name
|
||||
{
|
||||
info: 'acala',
|
||||
homepage: 'https://acala.network/',
|
||||
paraId: 2000,
|
||||
isUnreachable: true,
|
||||
text: t('rpc.polkadot.acala', 'Acala', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
'Acala Foundation 0': 'wss://acala-rpc-0.aca-api.network',
|
||||
'Polkawallet 0': 'wss://acala.polkawallet.io'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'bifrost',
|
||||
homepage: 'https://dot.bifrost.app/?ref=polkadotjs',
|
||||
|
||||
@ -13,6 +13,7 @@ const emptyColor = '#99999';
|
||||
|
||||
// based on chain name
|
||||
// alphabetical
|
||||
const chainAcala = '#645AFF';
|
||||
const chainAleph = '#00CCAB';
|
||||
const chainApron = 'linear-gradient(45deg, #0099F7 0%, #2E49EB 100%)';
|
||||
const chainBitCountry = '#191a2e';
|
||||
@ -69,7 +70,7 @@ const chainMybank = '#282736';
|
||||
const chainPichiu = '#ed007e';
|
||||
const chainQuartz = '#FF4D6A';
|
||||
const chainRocco = '#6f36dc';
|
||||
const chainRoccoAcala = '#173DC9';
|
||||
const chainRoccoMandala = '#173DC9';
|
||||
const chainRoccoAres = '#70FF8B';
|
||||
const chainAresGladios = '#1295F0';
|
||||
const chainRoccoBifrost = '#5a25f0';
|
||||
@ -181,8 +182,10 @@ export { emptyColor };
|
||||
// Alphabetical overrides based on the actual matched chain name
|
||||
// NOTE: This is as retrieved via the system.chain RPC
|
||||
export const chainColors: Record<string, string> = Object.entries({
|
||||
'acala mandala pc1': chainRoccoAcala,
|
||||
'acala mandala pc2': chainRoccoAcala,
|
||||
Acala: chainAcala,
|
||||
'Acala Dev': chainAcala,
|
||||
'acala mandala pc1': chainRoccoMandala,
|
||||
'acala mandala pc2': chainRoccoMandala,
|
||||
'Aleph Zero Testnet': chainAleph,
|
||||
'Apron PC1': chainApron,
|
||||
'Ares Gladios': chainAresGladios,
|
||||
|
||||
34
packages/apps-config/src/ui/logos/chains/acala.svg
Normal file
34
packages/apps-config/src/ui/logos/chains/acala.svg
Normal file
@ -0,0 +1,34 @@
|
||||
<svg width="88" height="88" viewBox="0 0 88 88" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M43.6965 49.5651C41.9108 49.5651 40.1744 49.714 38.4945 49.9987L41.0816 45.5178C41.9549 45.4602 42.8293 45.4311 43.6965 45.4311C45.7279 45.4311 47.7949 45.5987 49.7933 45.9193L39.7478 28.52L23.0252 57.4845L20.6353 53.3451L39.7102 20.3065L39.7495 20.3746L39.7871 20.3094L62.8067 60.1805H58.0269L52.6468 50.8618C49.8436 50.0164 46.8468 49.5651 43.6965 49.5651Z" fill="url(#paint0_linear)"/>
|
||||
<path d="M64.2943 57.5542L42.0076 18.9526H46.7873L66.6841 53.4149L64.2943 57.5542Z" fill="url(#paint1_linear)"/>
|
||||
<path d="M42.1743 37.997L33.0231 53.8475C36.2974 52.8596 40.152 52.4185 43.7884 52.4185C44.0823 52.4185 44.377 52.422 44.6722 52.429C46.7381 52.4778 48.825 52.6964 50.8248 53.0697L53.8779 58.3579C50.7525 57.2211 47.3696 56.5524 43.7884 56.5524C38.4919 56.5524 33.6277 57.8624 29.3915 60.1414L29.4581 60.0221L29.3668 60.1804H24.587L39.7845 33.8577L42.1743 37.997Z" fill="url(#paint2_linear)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M44 80.8163C64.3331 80.8163 80.8163 64.3331 80.8163 44C80.8163 23.6669 64.3331 7.18367 44 7.18367C23.6669 7.18367 7.18367 23.6669 7.18367 44C7.18367 64.3331 23.6669 80.8163 44 80.8163ZM44.0898 76.3265C61.9928 76.3265 76.5061 61.8132 76.5061 43.9102C76.5061 26.0072 61.9928 11.4939 44.0898 11.4939C26.1868 11.4939 11.6735 26.0072 11.6735 43.9102C11.6735 61.8132 26.1868 76.3265 44.0898 76.3265Z" fill="url(#paint3_linear)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M44 88C68.3005 88 88 68.3005 88 44C88 19.6995 68.3005 0 44 0C19.6995 0 0 19.6995 0 44C0 68.3005 19.6995 88 44 88ZM44.1796 83.8694C66.1988 83.8694 84.049 66.0193 84.049 44C84.049 21.9807 66.1988 4.13061 44.1796 4.13061C22.1603 4.13061 4.3102 21.9807 4.3102 44C4.3102 66.0193 22.1603 83.8694 44.1796 83.8694Z" fill="url(#paint4_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="132.24" y1="57.577" x2="65.1457" y2="-20.9227" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#645AFF"/>
|
||||
<stop offset="0.5238" stop-color="#E40C5B"/>
|
||||
<stop offset="1" stop-color="#FF4C3B"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="132.24" y1="57.577" x2="65.1457" y2="-20.9227" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#645AFF"/>
|
||||
<stop offset="0.5238" stop-color="#E40C5B"/>
|
||||
<stop offset="1" stop-color="#FF4C3B"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="132.24" y1="57.577" x2="65.1457" y2="-20.9227" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#645AFF"/>
|
||||
<stop offset="0.5238" stop-color="#E40C5B"/>
|
||||
<stop offset="1" stop-color="#FF4C3B"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear" x1="132.24" y1="57.577" x2="65.1457" y2="-20.9227" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#645AFF"/>
|
||||
<stop offset="0.5238" stop-color="#E40C5B"/>
|
||||
<stop offset="1" stop-color="#FF4C3B"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear" x1="132.24" y1="57.577" x2="65.1457" y2="-20.9227" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#645AFF"/>
|
||||
<stop offset="0.5238" stop-color="#E40C5B"/>
|
||||
<stop offset="1" stop-color="#FF4C3B"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
@ -9,6 +9,7 @@
|
||||
// anything for a specific chain, most would probably fit into the node category (but allow for chain-specific)
|
||||
// alphabetical
|
||||
import { sanitize } from '../util';
|
||||
import chainAcala from './chains/acala.svg';
|
||||
import chainAleph from './chains/aleph.svg';
|
||||
import chainAltair from './chains/altair.svg';
|
||||
import chainCrownSterling from './chains/crown-sterling.png';
|
||||
@ -44,7 +45,6 @@ import externalPolkastats from './external/polkastats.png';
|
||||
import externalStatescan from './external/statescan.svg';
|
||||
import externalSubId from './external/subid.svg';
|
||||
import externalSubscan from './external/subscan.svg';
|
||||
import nodeAcala from './nodes/acala-circle.svg';
|
||||
import nodeApron from './nodes/apron.png';
|
||||
import nodeAres from './nodes/ares.svg';
|
||||
import nodeAresGladios from './nodes/ares-gladios.svg';
|
||||
@ -299,7 +299,7 @@ export const chainLogos = Object.entries({
|
||||
// Alphabetical overrides based on the actual software node type
|
||||
// NOTE: This is as retrieved via system.name RPC
|
||||
export const nodeLogos = Object.entries({
|
||||
'Acala Node': nodeAcala,
|
||||
'Acala Node': chainAcala,
|
||||
'Apron Node': nodeApron,
|
||||
'Apron Parachain Collator': nodeApron,
|
||||
'Ares Gladios': nodeAresGladios,
|
||||
@ -358,7 +358,7 @@ export const nodeLogos = Object.entries({
|
||||
'Laminar Node': nodeLaminar,
|
||||
Litentry: nodeLitentry,
|
||||
'Litentry Collator': nodeLitentry,
|
||||
'mandala node': nodeAcala,
|
||||
'mandala node': chainAcala,
|
||||
'Manta Node': nodeManta,
|
||||
'Manta Parachain Collator': nodeManta,
|
||||
MathChain: nodeMath,
|
||||
@ -468,7 +468,7 @@ export const specLogos = Object.entries({
|
||||
// (Generally would be the 'network' key in the known ss58 as per
|
||||
// https://github.com/polkadot-js/common/blob/master/packages/networks/src/index.ts)
|
||||
export const namedLogos: Record<string, unknown> = {
|
||||
acala: nodeAcala,
|
||||
acala: chainAcala,
|
||||
aleph: chainAleph,
|
||||
alexander: nodePolkadot,
|
||||
altair: chainAltair,
|
||||
@ -562,7 +562,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
robonomics: nodeRobonomics,
|
||||
rocky: nodeCrust,
|
||||
rococo: chainRococo,
|
||||
rococoAcala: nodeAcala,
|
||||
rococoAcala: chainAcala,
|
||||
rococoApron: nodeApron,
|
||||
rococoAres: nodeAres,
|
||||
rococoBifrost: nodeBifrost,
|
||||
|
||||
@ -1,40 +0,0 @@
|
||||
<?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>
|
||||
|
Before Width: | Height: | Size: 3.4 KiB |
Loading…
Reference in New Issue
Block a user