Update polkafoundry (#5465)

* add halongbay chain

* add polkasmith

* fix lint

Co-authored-by: chuoikhungbo <quanvantruong73@gmail.cp>
This commit is contained in:
hoangnl 2021-06-06 11:43:14 +07:00 committed by GitHub
parent aa88e9fe5d
commit fe3b6240c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 0 deletions

View File

@ -113,6 +113,14 @@ export function createKusama (t: TFunction): EndpointOption {
'KILT Protocol': 'wss://mainnet.kilt.io/'
}
},
{
info: 'polkasmith',
paraId: 2009,
text: t('rpc.kusama.polkasmith', 'Polkasmith', { ns: 'apps-config' }),
providers: {
Polkasmith: 'wss-polkasmith.polkafoundry.com'
}
},
{
info: 'sakura',
paraId: 2016,

View File

@ -197,6 +197,14 @@ export function createRococo (t: TFunction): EndpointOption {
StarkleyTech: 'wss://galital-rpc.starkleytech.com'
}
},
{
info: 'rococoHalongbay',
paraId: 2018,
text: t('rpc.rococo.halongbay', 'Halongbay', { ns: 'app-config' }),
providers: {
Halongbay: 'wss://halongbay.polkafoundry.com'
}
},
{
info: 'rococoHydrate',
isDisabled: true, // Rococo reset

View File

@ -41,6 +41,7 @@ const chainPolkabtc = '#510101';
const chainPolkadex = '#7C30DD';
const chainPolkadot = '#e6007a';
const chainPolkaFoundry = '#ff527c';
const chainPolkaSmith = '#0DDDFB';
const chainPontem = '#A92FAC';
const chainPrism = 'linear-gradient(45deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%)';
const chainKilt = '#8c175b';
@ -216,6 +217,7 @@ export const chainColors: Record<string, string> = [
['Polkadex Testnet', chainPolkadex],
['Polkadot CC1', chainPolkadot],
['Polkadot', chainPolkadot],
['PolkaSmith', chainPolkaSmith],
['Pontem Testnet', chainPontem],
['Prism Testnet', chainPrism],
['Prism PC1', chainPrism],

View File

@ -83,6 +83,7 @@ import nodePolkadex from './nodes/polkadex.svg';
import nodePolkadot from './nodes/polkadot-circle.svg';
import nodePolkadotJs from './nodes/polkadot-js.svg';
import nodePolkaFoundry from './nodes/polkafoundry.svg';
import nodePolkaSmith from './nodes/polkasmith.svg';
import nodePolymesh from './nodes/polymesh.svg';
import nodePontem from './nodes/pontem.svg';
import nodePrism from './nodes/prism.png';
@ -249,6 +250,7 @@ export const nodeLogos: Record<string, unknown> = [
['Galois', nodeMath],
['GamePower Node', nodeGamePower],
['GEEK', nodeGeek],
['Halongbay Parachain Collator', nodePolkaFoundry],
['hanonycash', nodeHanonycash],
['Idavoll Node', nodeIdavoll],
['Khala', nodeKhala],
@ -290,6 +292,7 @@ export const nodeLogos: Record<string, unknown> = [
['polkadot-js', nodePolkadotJs],
['PolkaFoundry Node', nodePolkaFoundry],
['PolkaFoundry Parachain Collator', nodePolkaFoundry],
['PolkaSmith Parachain Collator', nodePolkaSmith],
['Pontem', nodePontem],
['ReAlis Network', nodeRealis],
['Rio Defi Chain Node', nodeRiochain],
@ -407,6 +410,7 @@ export const namedLogos: Record<string, unknown> = {
polkadex: nodePolkadex,
polkadot: nodePolkadot,
polkafoundry: nodePolkaFoundry,
polkasmith: nodePolkaSmith,
polymesh: nodePolymesh,
pontem: nodePontem,
prism: nodePrism,

View File

@ -0,0 +1,3 @@
<svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M37.7763 22.7579C35.7701 33.0925 25.7724 39.8488 15.4376 37.8429C5.10277 35.8368 -1.65335 25.8389 0.352632 15.5042C2.35861 5.16942 12.3564 -1.5867 22.6912 0.419283C33.0259 2.42526 39.7661 12.4231 37.7763 22.7579ZM19.3211 8.17038C13.0625 8.17038 7.99139 13.2415 7.99139 19.5001C7.99139 25.7589 13.0625 30.8299 19.3211 30.8299C25.5798 30.8299 30.6509 25.7589 30.6509 19.5001C30.6509 13.2415 25.5798 8.17038 19.3211 8.17038Z" fill="#2CC5F4"/>
</svg>

After

Width:  |  Height:  |  Size: 552 B