Skip to content

Commit 48a2653

Browse files
committed
Merge remote-tracking branch 'ping-pub/master' into sai/up_pb
2 parents 2e4ac74 + 9c0d810 commit 48a2653

File tree

161 files changed

+10436
-5703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+10436
-5703
lines changed

.env.example

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# rename to .env.local or .env.<your_environment>
2+
3+
# Refresh interval for the app to query api for new blocks
4+
VITE_REFRESH_INTERVAL=6000
5+
6+
# Enable fetching all blocks (this can increase api calls to public nodes resulting in rate limiting)
7+
VITE_FETCH_ALL_BLOCKS=false
8+
9+
# Limit for recent blocks and associated transactions displayed in the UI
10+
VITE_RECENT_BLOCK_LIMIT=50
11+
12+
# URL for CoinGecko API or custom proxy
13+
VITE_COINGECKO_URL=https://api.coingecko.com
14+
15+
# GITHUB_API_URL default
16+
VITE_GITHUB_API_URL=https://api.github.com/repos/cosmos/chain-registry/contents
17+
18+
# PINGPUB_API_URL default
19+
VITE_PINGPUB_API_URL=https://registry.ping.pub
20+
21+
# IBC use PINGPUB_API_URL by Default (false) or GITHUB_API_URL (true)
22+
VITE_IBC_USE_GITHUB_API=false

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# These are supported funding model platforms
22

3-
# github: liangping
3+
github: ping-pub
44
issuehunt: ping-pub # Replace with a single IssueHunt username
55

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ node_modules/
22
**/.vscode
33
yarn-error.log
44
dist
5-
.idea
5+
.idea
6+
7+
.env*
8+
!.env.example

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist/
2+
.github/
3+
*.md
4+
auto-imports.d.ts

.prettierrc.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
2-
"tabWidth": 2,
3-
"singleQuote": true,
4-
"semi": true,
5-
"endOfLine": "auto",
2+
"arrowParens": "always",
63
"bracketSpacing": true,
7-
"TrailingCooma": true,
8-
"arrowParens": "always"
4+
"endOfLine": "auto",
5+
"printWidth": 80,
6+
"semi": true,
7+
"singleAttributePerLine": false,
8+
"singleQuote": true,
9+
"tabWidth": 2,
10+
"trailingComma": "es5",
11+
"useTabs": false
912
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Your donation will help us make better products. Thanks in advance.
4747

4848
## Hire us
4949

50-
You can hire us by submiting an issue and fund the issue on [IssueHunter](https://issuehunt.io/r/ping-pub/explorer)
50+
You can hire us by submitting an issue and fund the issue on [IssueHunter](https://issuehunt.io/r/ping-pub/explorer)
5151

5252

5353
## Contributors

chains/Kiichain

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"chain_name": "kiichain",
3+
"registry_name": "kiichain",
4+
"api": [
5+
{ "provider": "kiichain", "address": "https://api-kiichain.gon.world" },
6+
{ "provider": "gamisama", "address": "https://kiichain-api.gamisama.com" }
7+
],
8+
"rpc": [
9+
{ "provider": "kiichain", "address": "https://rpc-kiichain.gon.world" },
10+
{ "provider": "gamisama", "address": "https://kiichain-rpc.gamisama.com" }
11+
],
12+
"sdk_version": "0.47.0",
13+
"coin_type": "118",
14+
"min_tx_fee": "100",
15+
"addr_prefix": "ki",
16+
"logo": "/logos/kiichain.svg",
17+
"assets": [
18+
{
19+
"base": "uki",
20+
"symbol": "KII",
21+
"exponent": "6",
22+
"coingecko_id": "kiichain",
23+
"logo": "/logos/kiichain.svg"
24+
}
25+
]
26+
}

chains/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Directory Layout
22

3-
** if you want to list your blockhain on ping.pub, please submit your configure on https://github.com/ping-pub/ping.pub.git **
3+
Note: the host name used in the user's browser (displayed in the address bar) to load the explorer app determines which of the chain configuration directories is used.
4+
If the host name contains the substring "testnet" (for example: "https://mytestnetwork.example.com") then chain configuration files in the `testnet` directory (only) are loaded. Conversely if the host name does not contain that substring then chain configuration files in the `mainnet` directory (only) are loaded.
5+
Remember to bear this behavior in mind when selecting a DNS host name for self hosting the explorer.
6+
7+
** if you want to list your blockchain on ping.pub, please submit your configuration on https://github.com/ping-pub/ping.pub.git **
48

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

7-
- 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`
11+
- 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`
812

913
# Sample of Config
1014

chains/mainnet/axelar.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"chain_name": "axelar",
3+
"api": ["https://rest.axelar.lava.build/lava-referer-97409c72-1a82-4861-8651-119c15151cbe"],
4+
"rpc": ["https://tm.axelar.lava.build/lava-referer-97409c72-1a82-4861-8651-119c15151cbe"],
5+
"snapshot_provider": "",
6+
"sdk_version": "0.45.6",
7+
"coin_type": "118",
8+
"min_tx_fee": "800",
9+
"addr_prefix": "axelar",
10+
"logo": "/logos/axelar.svg",
11+
"theme_color": "#161723",
12+
"assets": [
13+
{
14+
"base": "uaxl",
15+
"symbol": "AXL",
16+
"exponent": "6",
17+
"coingecko_id": "axelar",
18+
"logo": "/logos/axelar.svg"
19+
},
20+
{
21+
"base": "uusdc",
22+
"symbol": "axlUSDC",
23+
"exponent": "6",
24+
"coingecko_id": "usd-coin",
25+
"logo": "/logos/usdc.svg"
26+
},
27+
{
28+
"base": "uusdt",
29+
"symbol": "axlUSDT",
30+
"exponent": "6",
31+
"coingecko_id": "tether",
32+
"logo": "/logos/usdt.svg"
33+
},
34+
{
35+
"base": "dai-wei",
36+
"symbol": "axlDAI",
37+
"exponent": "18",
38+
"coingecko_id": "dai",
39+
"logo": "/logos/dai.svg"
40+
},
41+
{
42+
"base": "weth-wei",
43+
"symbol": "axlWETH",
44+
"exponent": "18",
45+
"coingecko_id": "ethereum",
46+
"logo": "/logos/weth.svg"
47+
},
48+
{
49+
"base": "wmatic-wei",
50+
"symbol": "axlWMATIC",
51+
"exponent": "18",
52+
"coingecko_id": "matic-network",
53+
"logo": "/logos/wmatic.svg"
54+
},
55+
{
56+
"base": "wavax-wei",
57+
"symbol": "axlWAVAX",
58+
"exponent": "18",
59+
"coingecko_id": "avalanche-2",
60+
"logo": "/logos/wavax.svg"
61+
},
62+
{
63+
"base": "dot-planck",
64+
"symbol": "axlDOT",
65+
"exponent": "10",
66+
"coingecko_id": "polkadot",
67+
"logo": "/logos/dot.svg"
68+
}
69+
]
70+
}

chains/mainnet/neutron.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"chain_name": "neutron",
3+
"api": [
4+
{ "provider": "Polkachu", "address": "https://neutron-api.polkachu.com" },
5+
{ "provider": "NodeStake", "address": "https://api.neutron.nodestake.top" },
6+
{ "provider": "Allnodes", "address": "https://neutron-rest.publicnode.com" }
7+
],
8+
"rpc": [
9+
{ "provider": "Polkachu", "address": "https://neutron-rpc.polkachu.com" },
10+
{ "provider": "NodeStake", "address": "https://rpc.neutron.nodestake.top" },
11+
{ "provider": "Allnodes", "address": "https://neutron-rpc.publicnode.com:443" }
12+
],
13+
"provider_chain": {
14+
"api": ["https://rest.cosmos.directory/cosmoshub"]
15+
},
16+
"features": [
17+
"dashboard",
18+
"blocks",
19+
"ibc",
20+
"cosmwasm",
21+
"uptime",
22+
"parameters",
23+
"state-sync",
24+
"consensus",
25+
"supply",
26+
"widget"
27+
],
28+
"sdk_version": "0.45.1",
29+
"coin_type": "118",
30+
"min_tx_fee": "8000",
31+
"assets": [
32+
{
33+
"base": "untrn",
34+
"symbol": "NTRN",
35+
"exponent": "6",
36+
"coingecko_id": "neutron",
37+
"logo": "/logos/neutron.svg"
38+
}
39+
],
40+
"addr_prefix": "neutron",
41+
"theme_color": "#161723",
42+
"logo": "/logos/neutron.svg"
43+
}

0 commit comments

Comments
 (0)