Adjust Polkascan links, add Centrifuge node (#2931)
* Adjust Polkascan links, add Centrifuge node * Sidebar color adjust
This commit is contained in:
parent
699763242a
commit
c3c74c36f9
@ -6,12 +6,12 @@ import BN from 'bn.js';
|
||||
|
||||
export default {
|
||||
chains: {
|
||||
'Centrifuge Mainnet': 'centrifuge',
|
||||
Edgeware: 'edgeware',
|
||||
Kulupu: 'kulupu',
|
||||
Kusama: 'kusama',
|
||||
'Kusama CC3': 'kusama',
|
||||
'Polkadot CC1': 'polkadot-cc1',
|
||||
Westend: 'westend-m2'
|
||||
'Polkadot CC1': 'polkadot-cc1'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://polkascan.io/${chain}/${path}/${data.toString()}`,
|
||||
|
||||
@ -51,10 +51,16 @@ function createLive (t: <T= string> (key: string, text: string, options: { ns: s
|
||||
text: t<string>('rpc.kusama.ava', 'Kusama (Polkadot Canary, user-run public nodes; see https://status.cloud.ava.do/)', { ns: 'apps-config' }),
|
||||
value: 'wss://kusama.polkadot.cloud.ava.do/'
|
||||
},
|
||||
{
|
||||
dnslink: 'centrifuge',
|
||||
info: 'centrifuge',
|
||||
text: t<string>('rpc.centrifuge', 'Centrifuge (Mainnet, hosted by Centrifuge)', { ns: 'apps-config' }),
|
||||
value: 'wss://fullnode.centrifuge.io'
|
||||
},
|
||||
{
|
||||
dnslink: 'edgeware',
|
||||
info: 'edgeware',
|
||||
text: t<string>('rpc.edgeware', 'Edgeware (Edgeware Mainnet, hosted by Commonwealth Labs)', { ns: 'apps-config' }),
|
||||
text: t<string>('rpc.edgeware', 'Edgeware (Mainnet, hosted by Commonwealth Labs)', { ns: 'apps-config' }),
|
||||
value: 'wss://mainnet1.edgewa.re'
|
||||
},
|
||||
{
|
||||
|
||||
@ -36,6 +36,7 @@ const chainLogos: Record<string, any> = [
|
||||
// overrides based on the actual software node type (all '-' converted to ' ')
|
||||
const nodeLogos: Record<string, any> = [
|
||||
['centrifuge chain', nodeCentrifuge],
|
||||
['Centrifuge Chain Node', nodeCentrifuge],
|
||||
['Edgeware Node', nodeEdgeware],
|
||||
['Encointer Node', nodeEncointer],
|
||||
['kulupu', nodeSubstrate],
|
||||
|
||||
@ -172,7 +172,7 @@ export default React.memo(styled(SideBar)`
|
||||
|
||||
.apps--SideBar {
|
||||
align-items: center;
|
||||
background: #4f4f4f;
|
||||
background: #4f5255;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
@ -234,7 +234,7 @@ export default React.memo(styled(SideBar)`
|
||||
}
|
||||
|
||||
.apps--SideBar-collapse {
|
||||
background: #4f4f4f;
|
||||
background: #4f5255;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 0.75rem 0 .75rem 0.65rem;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user