From 8e4be5326c79de785611f7e4e98df43bd1f69053 Mon Sep 17 00:00:00 2001 From: shamilkhan Date: Thu, 28 Sep 2023 16:16:44 +0400 Subject: [PATCH 1/6] Add Cere Network to default frontend config. --- frontend/frontend.config.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/frontend.config.js b/frontend/frontend.config.js index 1597b2f4..c5def95c 100644 --- a/frontend/frontend.config.js +++ b/frontend/frontend.config.js @@ -1,18 +1,18 @@ export const network = { - id: 'kusama', - name: 'Kusama', - tokenSymbol: 'KSM', - tokenDecimals: 12, - ss58Format: 2, - coinGeckoDenom: 'kusama', - nodeWs: 'wss://kusama-rpc.polkadot.network', - backendWs: 'wss://kusama.polkastats.io/api/v3', - backendHttp: 'https://kusama.polkastats.io/api/v3', - googleAnalytics: 'UA-172854168-1', + id: 'cere', + name: 'Cere Network', + tokenSymbol: 'CERE', + tokenDecimals: 10, + ss58Format: -1, + coinGeckoDenom: 'cere-network', + nodeWs: 'wss://archive.mainnet.cere.network/ws', + backendWs: 'wss://hasura.stats.cere.network/v1/graphql', + backendHttp: 'https://api.stats.cere.network/api/v1', + googleAnalytics: '', theme: '@/assets/scss/themes/polkastats.scss', - // ranking - historySize: 84, // 21 days - erasPerDay: 4, + // ranking Í + historySize: 16, // 16 days + erasPerDay: 1, validatorSetSize: 24, } export const paginationOptions = [10, 20, 50, 100] From 037d621217903abba8ccedf2c52218a7abab7d5a Mon Sep 17 00:00:00 2001 From: shamilkhan Date: Thu, 28 Sep 2023 16:17:29 +0400 Subject: [PATCH 2/6] Remove KSM and Polkadot from frontend configs. --- frontend/frontend.config-kusama.js | 18 ------------------ frontend/frontend.config-polkadot.js | 18 ------------------ 2 files changed, 36 deletions(-) delete mode 100644 frontend/frontend.config-kusama.js delete mode 100644 frontend/frontend.config-polkadot.js diff --git a/frontend/frontend.config-kusama.js b/frontend/frontend.config-kusama.js deleted file mode 100644 index 1597b2f4..00000000 --- a/frontend/frontend.config-kusama.js +++ /dev/null @@ -1,18 +0,0 @@ -export const network = { - id: 'kusama', - name: 'Kusama', - tokenSymbol: 'KSM', - tokenDecimals: 12, - ss58Format: 2, - coinGeckoDenom: 'kusama', - nodeWs: 'wss://kusama-rpc.polkadot.network', - backendWs: 'wss://kusama.polkastats.io/api/v3', - backendHttp: 'https://kusama.polkastats.io/api/v3', - googleAnalytics: 'UA-172854168-1', - theme: '@/assets/scss/themes/polkastats.scss', - // ranking - historySize: 84, // 21 days - erasPerDay: 4, - validatorSetSize: 24, -} -export const paginationOptions = [10, 20, 50, 100] diff --git a/frontend/frontend.config-polkadot.js b/frontend/frontend.config-polkadot.js deleted file mode 100644 index 32940383..00000000 --- a/frontend/frontend.config-polkadot.js +++ /dev/null @@ -1,18 +0,0 @@ -export const network = { - id: 'polkadot', - name: 'Polkadot', - tokenSymbol: 'DOT', - tokenDecimals: 10, - ss58Format: 0, - coinGeckoDenom: 'polkadot', - nodeWs: 'wss://rpc.polkadot.network', - backendWs: 'wss://polkadot.polkastats.io/api/v3', - backendHttp: 'https://polkadot.polkastats.io/api/v3', - googleAnalytics: 'UA-144344973-1', - theme: '@/assets/scss/themes/polkastats.scss', - // ranking - historySize: 84, // 84 days - erasPerDay: 1, - validatorSetSize: 24, -} -export const paginationOptions = [10, 20, 50, 100] From 5446c7fcdd7e5a79fe6431bf79845da9ced2485a Mon Sep 17 00:00:00 2001 From: shamilkhan Date: Thu, 28 Sep 2023 16:25:31 +0400 Subject: [PATCH 3/6] Update ss58 format in frontend configs. --- frontend/frontend.config-cere-dev.js | 2 +- frontend/frontend.config-cere-local.js | 2 +- frontend/frontend.config-cere-prd.js | 2 +- frontend/frontend.config-cere-stg.js | 2 +- frontend/frontend.config.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/frontend.config-cere-dev.js b/frontend/frontend.config-cere-dev.js index 1c7226e3..1deebfbe 100644 --- a/frontend/frontend.config-cere-dev.js +++ b/frontend/frontend.config-cere-dev.js @@ -3,7 +3,7 @@ export const network = { name: 'Cere Network', tokenSymbol: 'CERE', tokenDecimals: 10, - ss58Format: -1, + ss58Format: 54, coinGeckoDenom: 'cere-network', nodeWs: 'wss://archive.testnet.cere.network/ws', backendWs: 'wss://stats-hasura.network-dev.aws.cere.io/v1/graphql', diff --git a/frontend/frontend.config-cere-local.js b/frontend/frontend.config-cere-local.js index 8a236af0..5e5738f8 100644 --- a/frontend/frontend.config-cere-local.js +++ b/frontend/frontend.config-cere-local.js @@ -3,7 +3,7 @@ export const network = { name: 'Cere Network', tokenSymbol: 'CERE', tokenDecimals: 10, - ss58Format: -1, + ss58Format: 54, coinGeckoDenom: 'cere-network', nodeWs: 'wss://archive.mainnet.cere.network/ws', backendWs: 'ws://localhost:8082/v1/graphql', diff --git a/frontend/frontend.config-cere-prd.js b/frontend/frontend.config-cere-prd.js index 666d0a62..031a1061 100644 --- a/frontend/frontend.config-cere-prd.js +++ b/frontend/frontend.config-cere-prd.js @@ -3,7 +3,7 @@ export const network = { name: 'Cere Network', tokenSymbol: 'CERE', tokenDecimals: 10, - ss58Format: -1, + ss58Format: 54, coinGeckoDenom: 'cere-network', nodeWs: 'wss://archive.mainnet.cere.network/ws', backendWs: 'wss://hasura.stats.cere.network/v1/graphql', diff --git a/frontend/frontend.config-cere-stg.js b/frontend/frontend.config-cere-stg.js index 5b65f1f9..4b7be946 100644 --- a/frontend/frontend.config-cere-stg.js +++ b/frontend/frontend.config-cere-stg.js @@ -3,7 +3,7 @@ export const network = { name: 'Cere Network', tokenSymbol: 'CERE', tokenDecimals: 10, - ss58Format: -1, + ss58Format: 54, coinGeckoDenom: 'cere-network', nodeWs: 'wss://archive.mainnet.cere.network/ws', backendWs: 'wss://hasura.stats.stg.cere.network/v1/graphql', diff --git a/frontend/frontend.config.js b/frontend/frontend.config.js index c5def95c..8e1ca0dd 100644 --- a/frontend/frontend.config.js +++ b/frontend/frontend.config.js @@ -3,7 +3,7 @@ export const network = { name: 'Cere Network', tokenSymbol: 'CERE', tokenDecimals: 10, - ss58Format: -1, + ss58Format: 54, coinGeckoDenom: 'cere-network', nodeWs: 'wss://archive.mainnet.cere.network/ws', backendWs: 'wss://hasura.stats.cere.network/v1/graphql', From a30236dbfccb785dbfdc24ad53c1c1ab060a227b Mon Sep 17 00:00:00 2001 From: shamilkhan Date: Thu, 28 Sep 2023 18:40:08 +0400 Subject: [PATCH 4/6] Update Twitter link. --- CHANGELOG.md | 2 +- frontend/components/Footer.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63925509..302e4ee3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Cere Stats ## vNext -... +- [FE] Update Twitter link ## v0.33.0 - [FE] Token Metrics Enhancements: diff --git a/frontend/components/Footer.vue b/frontend/components/Footer.vue index 903e9af0..f29fada8 100644 --- a/frontend/components/Footer.vue +++ b/frontend/components/Footer.vue @@ -29,9 +29,9 @@