Add Argon Protocol Testnet (#10871)
This commit is contained in:
parent
b42b96b174
commit
2833f67813
60
packages/apps-config/src/api/spec/argon.ts
Normal file
60
packages/apps-config/src/api/spec/argon.ts
Normal file
@ -0,0 +1,60 @@
|
||||
// Copyright 2017-2024 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
/* eslint-disable sort-keys */
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Satoshis: 'u64'
|
||||
}
|
||||
}
|
||||
],
|
||||
runtime: {
|
||||
MiningSlotApi: [
|
||||
{
|
||||
methods: {
|
||||
next_slot_era: {
|
||||
description: 'Get the next slot block start and end',
|
||||
params: [],
|
||||
type: '(BlockNumber, BlockNumber)'
|
||||
}
|
||||
},
|
||||
version: 1
|
||||
}
|
||||
],
|
||||
BitcoinApis: [
|
||||
{
|
||||
methods: {
|
||||
redemption_rate: {
|
||||
description: 'Get the current redemption rate for a given number of satoshis',
|
||||
params: [
|
||||
{
|
||||
name: 'satoshis',
|
||||
type: 'Satoshis'
|
||||
}
|
||||
],
|
||||
type: 'Balance'
|
||||
},
|
||||
market_rate: {
|
||||
description: 'Get the current market rate for a given number of satoshis',
|
||||
params: [
|
||||
{
|
||||
name: 'satoshis',
|
||||
type: 'Satoshis'
|
||||
}
|
||||
],
|
||||
type: 'Balance'
|
||||
}
|
||||
},
|
||||
version: 1
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -9,6 +9,7 @@ import altair from './altair.js';
|
||||
import apron from './apron.js';
|
||||
import aresGladios from './ares-gladios.js';
|
||||
import aresParachain from './ares-parachain.js';
|
||||
import argon from './argon.js';
|
||||
import astar from './astar.js';
|
||||
import bajun from './bajun.js';
|
||||
import basilisk from './basilisk.js';
|
||||
@ -153,6 +154,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'ares-gladios': aresGladios,
|
||||
'ares-mars': aresParachain,
|
||||
'ares-odyssey': aresParachain,
|
||||
argon,
|
||||
asgard: bifrostAsgard,
|
||||
astar,
|
||||
bajun,
|
||||
|
||||
@ -14002,6 +14002,60 @@ export const typesBundle = {
|
||||
}
|
||||
]
|
||||
},
|
||||
"argon": {
|
||||
"types": [
|
||||
{
|
||||
"minmax": [
|
||||
0,
|
||||
null
|
||||
],
|
||||
"types": {
|
||||
"Satoshis": "u64"
|
||||
}
|
||||
}
|
||||
],
|
||||
"runtime": {
|
||||
"MiningSlotApi": [
|
||||
{
|
||||
"methods": {
|
||||
"next_slot_era": {
|
||||
"description": "Get the next slot block start and end",
|
||||
"params": [],
|
||||
"type": "(BlockNumber, BlockNumber)"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
],
|
||||
"BitcoinApis": [
|
||||
{
|
||||
"methods": {
|
||||
"redemption_rate": {
|
||||
"description": "Get the current redemption rate for a given number of satoshis",
|
||||
"params": [
|
||||
{
|
||||
"name": "satoshis",
|
||||
"type": "Satoshis"
|
||||
}
|
||||
],
|
||||
"type": "Balance"
|
||||
},
|
||||
"market_rate": {
|
||||
"description": "Get the current market rate for a given number of satoshis",
|
||||
"params": [
|
||||
{
|
||||
"name": "satoshis",
|
||||
"type": "Satoshis"
|
||||
}
|
||||
],
|
||||
"type": "Balance"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ares-gladios": {
|
||||
"types": [
|
||||
{
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
import type { EndpointOption } from './types.js';
|
||||
|
||||
import { chains3dpassSVG, chainsAcalaSVG, chainsAlephSVG, chainsAllfeatSVG, chainsAnalogSVG, chainsBrainstormPNG, chainsChainflipPNG, chainsCreditcoinTestPNG, chainsDebioSVG, chainsEquilibriumSVG, chainsFerrumPNG, chainsFragnovaPNG, chainsJurPNG, chainsKintsugiPNG, chainsLiberlandPNG, chainsLogionPNG, chainsMyriadPNG, chainsShidenPNG, chainsSkyekiwiPNG, chainsTanglePNG, chainsVaraTestnetPNG } from '../ui/logos/chains/index.js';
|
||||
import { chains3dpassSVG, chainsAcalaSVG, chainsAlephSVG, chainsAllfeatSVG, chainsAnalogSVG, chainsArgonSVG, chainsBrainstormPNG, chainsChainflipPNG, chainsCreditcoinTestPNG, chainsDebioSVG, chainsEquilibriumSVG, chainsFerrumPNG, chainsFragnovaPNG, chainsJurPNG, chainsKintsugiPNG, chainsLiberlandPNG, chainsLogionPNG, chainsMyriadPNG, chainsShidenPNG, chainsSkyekiwiPNG, chainsTanglePNG, chainsVaraTestnetPNG } from '../ui/logos/chains/index.js';
|
||||
import { nodesArcticPNG, nodesAresGladiosSVG, nodesBifrostSVG, nodesBitcountryPNG, nodesCereSVG, nodesCessPNG, nodesCloverSVG, nodesCrustMaxwellSVG, nodesCurioSVG, nodesDanceboxSVG, nodesDatahighwayPNG, nodesDockPNG, nodesDolphinSVG, nodesDotmogSVG, nodesEdgewareWhitePNG, nodesEncointerBlueSVG, nodesFantourPNG, nodesGalitalLogoPNG, nodesGamepowerSVG, nodesGeekSVG, nodesInterlaySVG, nodesIpsePNG, nodesJazPNG, nodesJupiterSVG, nodesKarmachainSVG, nodesKhalaSVG, nodesKlugPNG, nodesKylinPNG, nodesLaminarCircleSVG, nodesLitentryPNG, nodesMantaPNG, nodesMathSVG, nodesMinixPNG, nodesMoonbaseAlphaSVG, nodesMybankPNG, nodesNftmartPNG, nodesNodleSVG, nodesOpalLogoPNG, nodesOpportunityPNG, nodesPhalaSVG, nodesPhoenixPNG, nodesPhykenNetworkPNG, nodesPichiuPNG, nodesPolkadexSVG, nodesPolkafoundrySVG, nodesPolymeshSVG, nodesPontemSVG, nodesPrismPNG, nodesRealisPNG, nodesRiochainSVG, nodesSherpaxPNG, nodesSoonsocialPNG, nodesSoraSubstrateSVG, nodesSubdaoPNG, nodesSubgameSVG, nodesSubspacePNG, nodesSubstrateHexagonSVG, nodesTernoaSVG, nodesThebifrostPNG, nodesUniartsPNG, nodesUniqueSVG, nodesUnitnetworkPNG, nodesWeb3gamesSVG, nodesZCloakSVG, nodesZeroSVG } from '../ui/logos/nodes/index.js';
|
||||
|
||||
export * from './testingRelayRococo.js';
|
||||
@ -86,6 +86,17 @@ export const testChains: Omit<EndpointOption, 'teleport'>[] = [
|
||||
logo: nodesAresGladiosSVG
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'Argon',
|
||||
providers: {
|
||||
'Argon Foundation': 'wss://rpc.testnet.argonprotocol.org'
|
||||
},
|
||||
text: 'Argon Testnet',
|
||||
ui: {
|
||||
color: '#a428b3',
|
||||
logo: chainsArgonSVG
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'jaz',
|
||||
providers: {
|
||||
|
||||
8
packages/apps-config/src/ui/logos/chains/argon.svg
Normal file
8
packages/apps-config/src/ui/logos/chains/argon.svg
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg data-v-4d1ddf7b="" viewBox="0 0 115 114" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="mt-20 w-[80px] md:w-[100px]">
|
||||
<title>logo</title>
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g transform="translate(-662, -134)" fill="#780f85" fill-rule="nonzero"><path d="M719.441091,134 C734.666325,134 748.980227,139.929113 759.746325,150.694766 C770.511977,161.460863 776.441091,175.774766 776.441091,191 C776.441091,206.225234 770.511977,220.539137 759.746325,231.305234 C748.980227,242.070887 734.666325,248 719.441091,248 C704.215856,248 689.901954,242.070887 679.135856,231.305234 C668.370204,220.539137 662.441091,206.225234 662.441091,191 C662.441091,180.724637 665.205813,170.651891 670.436676,161.870773 C675.51502,153.34482 682.762036,146.254777 691.394196,141.366582 C692.197094,140.912586 693.215969,141.194469 693.670188,141.996922 C694.12463,142.799375 693.842301,143.818473 693.039848,144.272914 C684.911782,148.875441 678.087813,155.551789 673.305825,163.579883 C668.383118,171.844215 665.780934,181.326031 665.780934,191 C665.780934,205.333273 671.362481,218.80843 681.497571,228.94352 C691.632661,239.078609 705.107817,244.660156 719.441091,244.660156 C733.774364,244.660156 747.24952,239.078609 757.38461,228.94352 C767.5197,218.80843 773.101247,205.333273 773.101247,191 C773.101247,176.666727 767.5197,163.19157 757.38461,153.05648 C747.24952,142.921391 733.774364,137.339844 719.441091,137.339844 C712.401591,137.339844 705.558919,138.68157 699.103446,141.32784 C698.250005,141.67741 697.27477,141.269281 696.924977,140.41584 C696.574962,139.562398 696.983313,138.587164 697.836755,138.237371 C704.696126,135.425668 711.964962,134 719.441091,134 Z M719.441091,141.150605 C732.75638,141.150605 745.274559,146.335824 754.690024,155.751066 C764.105266,165.166531 769.290485,177.684711 769.290485,191 C769.290485,204.315289 764.105266,216.833469 754.690024,226.248934 C745.274559,235.664176 732.75638,240.849395 719.441091,240.849395 C713.650469,240.849395 707.976075,239.865031 702.575325,237.923469 C701.707411,237.611527 701.256755,236.654996 701.568696,235.787305 C701.880637,234.919168 702.837169,234.468734 703.705083,234.780676 C708.742458,236.591316 714.036778,237.509551 719.441091,237.509551 C745.086415,237.509551 765.950641,216.645324 765.950641,191 C765.950641,165.354676 745.086415,144.490449 719.441091,144.490449 C693.795766,144.490449 672.93154,165.354676 672.93154,191 C672.93154,208.069941 682.25861,223.740711 697.272989,231.897055 C698.083235,232.337246 698.383376,233.351 697.943184,234.161469 C697.502993,234.971715 696.489239,235.271855 695.67877,234.831664 C679.587626,226.090625 669.591696,209.295219 669.591696,191 C669.591696,177.684711 674.776915,165.166531 684.192157,155.751066 C693.607622,146.335824 706.125801,141.150605 719.441091,141.150605 Z M717.67879,160.470469 L718.296177,161.359205 L730.774971,179.323324 L740.12297,176.818798 L742.115034,184.253284 L735.440525,186.040678 L737.66167,189.237741 L743.062911,187.79081 L745.054976,195.225296 L742.328449,195.955802 L750.56383,207.808915 L751.813134,209.607304 L740.405821,212.663885 L739.791533,211.755356 L731.1353,198.954997 L714.218075,203.487954 L713.12486,218.900682 L713.047127,219.994624 L701.639823,223.051202 L701.822557,220.8691 L703.026859,206.486631 L700.301556,207.216938 L698.309491,199.782453 L703.709377,198.33523 L704.034413,194.45592 L697.361614,196.244927 L695.36955,188.810441 L704.716224,186.305744 L706.54231,164.508644 L706.632615,163.430283 L717.67879,160.470469 Z M724.402891,188.998203 L715.06915,191.499172 L714.794342,195.365023 L726.573807,192.208725 L724.402891,188.998203 Z M716.117969,176.745523 L715.646641,183.376948 L719.841657,182.252897 L716.117969,176.745523 Z" id="logo"></path></g>
|
||||
</g>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
File diff suppressed because one or more lines are too long
@ -12,6 +12,7 @@ export { chainsAllfeatSVG } from './generated/allfeatSVG.js';
|
||||
export { chainsAltairSVG } from './generated/altairSVG.js';
|
||||
export { chainsAmplitudeSVG } from './generated/amplitudeSVG.js';
|
||||
export { chainsAnalogSVG } from './generated/analogSVG.js';
|
||||
export { chainsArgonSVG } from './generated/argonSVG.js';
|
||||
export { chainsAssethubKusamaSVG } from './generated/assethub-kusamaSVG.js';
|
||||
export { chainsBitgreenPNG } from './generated/bitgreenPNG.js';
|
||||
export { chainsBittensorPNG } from './generated/bittensorPNG.js';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user