feat: add 3dpass network (#8540)
This commit is contained in:
parent
9564bbffaa
commit
f88d603e58
@ -16,6 +16,13 @@ export * from './productionRelayPolkadot';
|
||||
//
|
||||
// IMPORTANT: Alphabetical based on text
|
||||
export const prodChains: EndpointOption[] = [
|
||||
{
|
||||
info: '3dpass',
|
||||
text: '3DPass',
|
||||
providers: {
|
||||
'3dpass': 'wss://rpc2.3dpass.org'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'aleph',
|
||||
text: 'Aleph Zero',
|
||||
|
||||
@ -16,6 +16,13 @@ export * from './testingRelayWestend';
|
||||
//
|
||||
// IMPORTANT: Alphabetical based on text
|
||||
export const testChains: EndpointOption[] = [
|
||||
{
|
||||
info: '3dpass-testnet',
|
||||
text: '3DPass Testnet',
|
||||
providers: {
|
||||
'3dpass': 'wss://test-rpc.3dpass.org'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'ajuna',
|
||||
text: 'Ajuna Testnet',
|
||||
|
||||
@ -15,6 +15,7 @@ const emptyColor = '#99999';
|
||||
// based on chain name
|
||||
// alphabetical
|
||||
const chainSherpax = '#6bbee8';
|
||||
const chain3dpass = '#323232';
|
||||
const chainAcala = '#645AFF';
|
||||
const chainAjuna = '#161212';
|
||||
const chainAleph = '#00CCAB';
|
||||
@ -270,6 +271,8 @@ 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({
|
||||
'3DP testnet': chain3dpass,
|
||||
'3dpass - The Ledger of Things': chain3dpass,
|
||||
Acala: chainAcala,
|
||||
'Acala Dev': chainAcala,
|
||||
'acala mandala pc1': chainRoccoMandala,
|
||||
|
||||
BIN
packages/apps-config/src/ui/logos/chains/3dpass.png
Normal file
BIN
packages/apps-config/src/ui/logos/chains/3dpass.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 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 chain3dpass from './chains/3dpass.png';
|
||||
import chainAcala from './chains/acala.svg';
|
||||
import chainAleph from './chains/aleph.svg';
|
||||
import chainAltair from './chains/altair.svg';
|
||||
@ -712,6 +713,8 @@ 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> = {
|
||||
'3dpass': chain3dpass,
|
||||
'3dpass-testnet': chain3dpass,
|
||||
acala: chainAcala,
|
||||
ajuna: nodeAjuna,
|
||||
aleph: chainAleph,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user