Skip to content

Commit

Permalink
Updated chains config, removed ga
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderNtk committed Jul 5, 2024
1 parent c5221a3 commit 0ae7cba
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ jobs:
- name: Update config
run: |
if [ ${{ matrix.env }} != "mainnet" ]; then cp ${{ matrix.cfg }} chains/mainnet/sge.json; fi
cat chains/mainnet/sge.json
rm chains/testnet/*
cp chains/mainnet/sge.json chains/testnet/sge.json
- name: Remove Google Analytics
run: |
sed -i '25,40d' index.html
- name: Install
run: yarn install --ignore-engines

Expand Down
4 changes: 2 additions & 2 deletions chains/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Directory Layout

** if you want to list your blockchain on ping.pub, please submit your configuration on https://github.com/ping-pub/ping.pub.git **
** if you want to list your blockhain on ping.pub, please submit your configure on https://github.com/ping-pub/ping.pub.git **

- Submit configs for mainnet, go to https://github.com/ping-pub/explorer/tree/master/chains/mainnet

- Submit configs for testnet, go to https://github.com/ping-pub/explorer/tree/master/chains/testnet, these configs will be enabled when you visit the domain that starts with `testnet.*`, for example `https://testnet.ping.pub`
- Submit configs for testnet, go to https://github.com/ping-pub/explorer/tree/master/chains/testnet, thess configs will be enabled when you visit the domain starts withs `testnet.*`, for example `https://testnet.ping.pub`

# Sample of Config

Expand Down
10 changes: 4 additions & 6 deletions chains/testnet/sge.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
"chain_name": "sge",
"alias": "sge",
"api": [
"https://api.testnet.sgenetwork.io",
"https://sge.api.t.stavr.tech",
"https://testnet-sge-rest.cosmos-apis.com/"
{ "provider": "sge-network", "address": "https://lcd-1317.testnet.sgenetwork.io"},
{ "provider": "stavr.tech", "address": "https://sge.api.t.stavr.tech" }
],
"rpc": [
"https://rpc.testnet.sgenetwork.io",
"https://sge.rpc.t.stavr.tech",
"https://testnet-sge-rpc.cosmos-apis.com/"
{ "provider": "sge-network", "address": "https://lcd-26657.testnet.sgenetwork.io" },
{ "provider": "stavr.tech", "address": "https://sge.rpc.t.stavr.tech" }
],
"snapshot_provider": "",
"addr_prefix": "sge",
Expand Down
4 changes: 2 additions & 2 deletions chains/testnet/sge_stage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"chain_name": "sge",
"alias": "sge",
"api": [
"https://api.staging.sgenetwork.io"
{ "provider": "sge-network", "address": "https://lcd-1317.staging.sgenetwork.io"}
],
"rpc": [
"https://rpc.staging.sgenetwork.io"
{ "provider": "sge-network", "address": "https://lcd-26657.staging.sgenetwork.io"}
],
"snapshot_provider": "",
"addr_prefix": "sge",
Expand Down

0 comments on commit 0ae7cba

Please sign in to comment.