add OAK chain (#8126)

* add OAK chain

* build

* paraID for OAK Network 2090

* alphabetical order for oak endpoint config
This commit is contained in:
Justin Zhou 2022-09-15 11:52:22 -04:00 committed by GitHub
parent 8a48f29aed
commit 25b653961b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 49 additions and 0 deletions

View File

@ -78,6 +78,7 @@ import mybank from './mybank';
import neatcoin from './neatcoin';
import nftmart from './nftmart';
import nodle from './nodle';
import oak from './oak';
import opal from './opal';
import opportunity from './opportunity';
import origintrail from './origintrail';
@ -231,6 +232,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
'node-moonbeam': moonbeam,
'node-polkadex': polkadex,
'nodle-chain': nodle,
oak,
opal,
opportunity,
'origintrail-parachain': origintrail,

View File

@ -0,0 +1,19 @@
// Copyright 2017-2022 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { OverrideBundleDefinition } from '@polkadot/types/types';
// structs need to be in order
/* eslint-disable sort-keys */
const definitions: OverrideBundleDefinition = {
types: [
{
// on all versions
minmax: [0, undefined],
types: {}
}
]
};
export default definitions;

View File

@ -58075,6 +58075,17 @@ export const typesBundle = {
}
]
},
"oak": {
"types": [
{
"minmax": [
0,
null
],
"types": {}
}
]
},
"opal": {
"rpc": {
"unique": {

View File

@ -280,6 +280,15 @@ export const prodParasPolkadot: EndpointOption[] = [
Pinknode: 'wss://public-rpc.pinknode.io/nodle'
}
},
{
info: 'oak',
homepage: 'https://oak.tech',
paraId: 2090,
text: 'OAK Network',
providers: {
OAK: 'wss://rpc.oak.tech'
}
},
{
info: 'omnibtc',
isUnreachable: true,

View File

@ -37,6 +37,7 @@ export default {
Moonbeam: 'moonbeam',
Moonriver: 'moonriver',
'Nodle Parachain': 'nodle',
'OAK Network': 'oak',
'OriginTrail Parachain': 'origintrail',
Parallel: 'parallel',
'Parallel Heiko': 'parallel-heiko',

View File

@ -50,6 +50,7 @@ export default {
Moonbeam: 'moonbeam',
Moonriver: 'moonriver',
'Nodle Parachain': 'nodle',
'OAK Network': 'oak',
Pangolin: 'pangolin',
'Pangolin Parachain': 'pangolin-parachain',
Pangoro: 'pangoro',

View File

@ -97,6 +97,7 @@ const chainMybank = '#282736';
const chainMyriad = '#7342CC';
const chainNFTMart = '#815287';
const chainNodle = '#1ab394';
const chainOAK = '#A8278C';
const chainOLI = '#8CC63F';
const chainOmniBTC = '#6759E9';
const chainOpal = '#3B9C9D';
@ -399,6 +400,7 @@ export const chainColors: Record<string, string> = Object.entries({
'NFTMart Testnet': chainNFTMart,
'Nodle Parachain': chainNodle,
'Nodle Testing Parachain': chainNodle,
'OAK Network': chainOAK,
Odyssey: nodeOdyssey,
'OLI Parachain': chainOLI,
OmniBTC: chainOmniBTC,

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

View File

@ -42,6 +42,7 @@ import chainLogion from './chains/logion.png';
import chainMangata from './chains/mangatax.svg';
import chainMoonsamaDevelopment from './chains/moonsama.png';
import chainMyriad from './chains/myriad.svg';
import chainOAK from './chains/oak.png';
import chainOLI from './chains/oli.svg';
import chainOmniBTC from './chains/omnibtc.svg';
import chainOpal from './chains/opal-logo.png';
@ -363,6 +364,7 @@ export const chainLogos = Object.entries({
NFTMart: nodeNFTMart,
'NFTMart Staging': nodeNFTMart,
'NFTMart Testnet': nodeNFTMart,
'OAK Network': chainOAK,
Odyssey: nodeAresOdyssey,
'OLI Parachain': chainOLI,
OmniBTC: chainOmniBTC,
@ -654,6 +656,7 @@ export const nodeLogos = Object.entries({
// Alphabetical overrides based on the actual specName
export const specLogos = Object.entries({
oak: chainOAK,
shell: nodeShell,
statemine: nodeStatemine,
statemint: nodeStatemine,
@ -783,6 +786,7 @@ export const namedLogos: Record<string, unknown> = {
myriad: chainMyriad,
nftmart: nodeNFTMart,
nodle: nodeNodle,
oak: chainOAK,
odyssey: nodeAresOdyssey,
omnibtc: nodeOmniBTC,
opal: nodeUniqueWestend,