Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# rename to .env.local or .env.<your_environment>
VITE_REFRESH_INTERVAL=2000
VITE_FETCH_ALL_BLOCKS=true
VITE_RECENT_BLOCK_LIMIT=100

# Refresh interval for the app to query api for new blocks
VITE_REFRESH_INTERVAL=6000

# Enable fetching all blocks (this can increase api calls to public nodes resulting in rate limiting)
VITE_FETCH_ALL_BLOCKS=false

# Limit for recent blocks and associated transactions displayed in the UI
VITE_RECENT_BLOCK_LIMIT=50

# URL for CoinGecko API or custom proxy
VITE_COINGECKO_URL=https://api.coingecko.com

# GITHUB_API_URL default
VITE_GITHUB_API_URL=https://api.github.com/repos/cosmos/chain-registry/contents

# PINGPUB_API_URL default
VITE_PINGPUB_API_URL=https://registry.ping.pub

# IBC use PINGPUB_API_URL by Default (false) or GITHUB_API_URL (true)
VITE_IBC_USE_GITHUB_API=false
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ node_modules/
yarn-error.log
dist
.idea

.env*
!.env.example
.DS_Store
14 changes: 7 additions & 7 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"tabWidth": 2,
"singleQuote": true,
"semi": true,
"endOfLine": "auto",
"bracketSpacing": true,
"trailingComma": "es5",
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "auto",
"printWidth": 80,
"semi": true,
"singleAttributePerLine": false,
"printWidth": 120,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM node:17-alpine as builder

WORKDIR /app
COPY . .
RUN yarn && yarn build

FROM nginx:alpine
COPY --from=builder /app/ping.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div align="center">

![Ping Wallet](./public/logo.svg)
![Nibiru Explorer](./public/logo.png)

<h1>Ping Dashboard</h1>
<h1>Nibiru Explorer</h1>

**Ping Dashboard is not only an explorer but also a wallet and more ... 🛠**
**Nibiru Explorer is not only an explorer but also a wallet and more ... 🛠**

[![version](https://img.shields.io/github/tag/ping-pub/explorer.svg)](https://github.com/ping-pub/explorer/releases/latest)
[![GitHub](https://img.shields.io/github/license/ping-pub/explorer.svg)](https://github.com/ping-pub/explorer/blob/master/LICENSE)
Expand All @@ -14,21 +14,21 @@

</div>

`Ping Dashboard` is a light explorer for Cosmos-based Blockchains. https://ping.pub .
`Nibiru Explorer` is a light explorer for Cosmos-based Blockchains. https://ping.pub .

## What sets Ping Dashboard apart from other explorers?
**Ping Dashboard** stands out by providing a real-time exploration of blockchain data without relying on caching or pre-processing. It exclusively fetches data from the Cosmos full node via LCD/RPC endpoints, ensuring a truly authentic experience. This approach is referred to as the "Light Explorer."
## What sets Nibiru Explorer apart from other explorers?
**Nibiru Explorer** stands out by providing a real-time exploration of blockchain data without relying on caching or pre-processing. It exclusively fetches data from the Cosmos full node via LCD/RPC endpoints, ensuring a truly authentic experience. This approach is referred to as the "Light Explorer."

## Are you interested in listing your blockchain on https://ping.pub?

To make this repository clean, please submit your request to https://github.com/ping-pub/ping.pub.git


## Why does Ping Dashboard rely on official/trusted third-party public LCD/RPC servers?
## Why does Nibiru Explorer rely on official/trusted third-party public LCD/RPC servers?
There are two primary reasons for this choice:

- Trust: In a decentralized system, it is crucial to avoid relying solely on a single entity. By utilizing official/trusted third-party public LCD/RPC servers, Ping Dashboard ensures that the data is sourced from a network of trusted participants.
- Limited Resources: As Ping Dashboard plans to list hundreds of Cosmos-based blockchains in the future, it is impractical for the Ping team to operate validators or full nodes for all of them. Leveraging trusted third-party servers allows for more efficient resource allocation.
- Trust: In a decentralized system, it is crucial to avoid relying solely on a single entity. By utilizing official/trusted third-party public LCD/RPC servers, Nibiru Explorer ensures that the data is sourced from a network of trusted participants.
- Limited Resources: As Nibiru Explorer plans to list hundreds of Cosmos-based blockchains in the future, it is impractical for the Ping team to operate validators or full nodes for all of them. Leveraging trusted third-party servers allows for more efficient resource allocation.

## Donation

Expand Down
26 changes: 0 additions & 26 deletions chains/Kiichain

This file was deleted.

70 changes: 0 additions & 70 deletions chains/mainnet/axelar.json

This file was deleted.

43 changes: 43 additions & 0 deletions chains/mainnet/cataclysm-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"chain_name": "cataclysm-1",
"registry_name": "cataclysm-1",
"api": [
{
"address": "https://lcd.archive.nibiru.fi",
"provider": "Nibiru",
"archive": false
},
{
"address": "https://lcd.nibiru.fi",
"provider": "Nibiru",
"archive": false
}
],
"rpc": [
{
"address": "https://rpc.archive.nibiru.fi",
"provider": "Nibiru",
"archive": false
},
{
"address": "https://rpc.nibiru.fi",
"provider": "Nibiru",
"archive": false
}
],
"sdk_version": "0.45.5",
"coin_type": "118",
"min_tx_fee": "2500",
"addr_prefix": "nibi",
"logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nibiru/images/nibiru.svg",
"theme_color": "#F294C0",
"assets": [
{
"base": "unibi",
"symbol": "NIBI",
"exponent": "6",
"coingecko_id": "nibiru",
"logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nibiru/images/nibiru.svg"
}
]
}
28 changes: 0 additions & 28 deletions chains/mainnet/cosmos.json

This file was deleted.

43 changes: 0 additions & 43 deletions chains/mainnet/neutron.json

This file was deleted.

43 changes: 43 additions & 0 deletions chains/mainnet/nibiru-devnet-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"chain_name": "nibiru-devnet-1",
"registry_name": "nibiru-devnet-1",
"api": [
{
"address": "https://lcd.devnet-1.nibiru.fi",
"provider": "Nibiru",
"archive": false
},
{
"address": "https://lcd.archive.devnet-1.nibiru.fi",
"provider": "Nibiru",
"archive": true
}
],
"rpc": [
{
"address": "https://rpc.devnet-1.nibiru.fi",
"provider": "Nibiru",
"archive": false
},
{
"address": "https://rpc.archive.devnet-1.nibiru.fi",
"provider": "Nibiru",
"archive": true
}
],
"sdk_version": "0.45.5",
"coin_type": "118",
"min_tx_fee": "2500",
"addr_prefix": "nibi",
"logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nibiru/images/nibiru.svg",
"theme_color": "#F294C0",
"assets": [
{
"base": "unibi",
"symbol": "NIBI",
"exponent": "6",
"coingecko_id": "nibiru",
"logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nibiru/images/nibiru.svg"
}
]
}
Loading