This commit is contained in:
liangping 2022-12-21 20:55:58 +08:00
commit 8a8c710367
8 changed files with 87 additions and 7 deletions

View File

@ -15,22 +15,24 @@
</div> </div>
Ping Explorer is a light explorer for Cosmos-based Blockchains. https://ping.pub . `Ping Dashboard` is a light explorer for Cosmos-based Blockchains. https://ping.pub .
## What is the difference between Ping explorer and other explorers? ## What is the difference between Ping explorer and other explorers?
Ping Explorer is designed to explore blockchain data as real as possible, therefore there is no cache, no pre-processing. Ping Explorer does not cache/save blockchain data on its server. Ping Explorer only fetch data from Cosmos full node via LCD/RPC endpoints. We call it "Light Explorer". `Ping Dashboard` is designed to explore blockchain data as real as possible, therefore there is no cache, no pre-processing. `Ping Dashboard` only fetch data from Cosmos full node via LCD/RPC endpoints. We call it "Light Explorer".
## Do you want to list your blockchain on ping.pub? ## Do you want to list your blockchain on ping.pub?
Pull your request [here](./src/chains), We will add your chains as soon as possible. It is **FREE** (You must have 10+ independent validators on your chain). Submit your pull request [here](./src/chains), We will add your chains as soon as possible. It is **FREE** (You must have 10+ independent validators on your chain).
We remain neutral to all chains, and we do not comment on their market prospects, technical risks, or investment risks. The only condition we list on ping.pub is if there are ten validators, and we cannot determine if these validators are controlled by the same entity.
## Why Ping explorer use official/trusted third party public LCD/rpc server? ## Why Ping explorer use official/trusted third party public LCD/rpc server?
We have two considerations: There are two main reasons:
- Trust, In decentralize system, everything controlled by one single team/organization could be risks. So we decided to co-build with the community. - Trust, in a decentralized system, anything controlled by one entity cannot be trusted. So we decided to build with the community.
- Limited Resources: ` Ping Dashboard ` will list hundreds cosmos-based blockchains in the future, it's impossible for our team to run validators or fullnodes for all of those chains. - Limited resources: `Ping Dashboard` will list hundreds of cosmos-based blockchains in the future, and it is impossible for our team to run validators or full nodes for all of them.
## Donation ## Donation

BIN
public/logos/planq.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
public/logos/quasar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,19 @@
{
"chain_name": "planq",
"api": ["https://rest.planq.network"],
"rpc": ["https://rpc.planq.network"],
"snapshot_provider": "",
"sdk_version": "0.46.3",
"coin_type": "60",
"min_tx_fee": "5000000000000000",
"addr_prefix": "plq",
"logo": "/logos/planq.png",
"keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"],
"assets": [{
"base": "aplanq",
"symbol": "planq",
"exponent": "18",
"coingecko_id": "",
"logo": "/logos/planq.png"
}]
}

View File

@ -0,0 +1,20 @@
{
"chain_name": "quicksilver",
"coingecko": "",
"api": ["https://quicksilver-api.polkachu.com", "https://api-quicksilver.nodeist.net"],
"rpc": ["https://quicksilver-rpc.polkachu.com", "https://rpc-quicksilver.nodeist.net"],
"sdk_version": "0.46.7",
"coin_type": "118",
"min_tx_fee": "8000",
"addr_prefix": "quick",
"logo": "/logos/quicksilver.png",
"assets": [
{
"base": "uqck",
"symbol": "QCK",
"exponent": "6",
"coingecko_id": "",
"logo": "/logos/quicksilver.png"
}
]
}

View File

@ -0,0 +1,19 @@
{
"chain_name": "celestia",
"coingecko": "",
"api": ["https://celestia-testnet-api.polkachu.com"],
"rpc": ["https://celestia-testnet-rpc.polkachu.com"],
"snapshot_provider": "",
"sdk_version": "0.46.0",
"coin_type": "118",
"min_tx_fee": "800",
"addr_prefix": "celestia",
"logo": "/logos/celestia.png",
"assets": [{
"base": "utia",
"symbol": "TIA",
"exponent": "6",
"coingecko_id": "",
"logo": "/logos/celestia.png"
}]
}

View File

@ -0,0 +1,20 @@
{
"chain_name": "quasar",
"coingecko": "",
"api": ["https://quasar-testnet-api.polkachu.com", "https://lcd-office.cosmostation.io/quasar-testnet"],
"rpc": ["https://quasar-testnet-rpc.polkachu.com", "https://rpc-office.cosmostation.io/quasar-testnet", "https://questnet.quasar-finance.rhinostake.com"],
"sdk_version": "0.45.6",
"coin_type": 118,
"min_tx_fee": "8000",
"addr_prefix": "quasar",
"logo": "/logos/quasar.png",
"assets": [
{
"base": "uqsr",
"symbol": "QSR",
"exponent": 6,
"coingecko_id": "",
"logo": "/logos/quasar.png"
}
]
}

View File

@ -145,7 +145,7 @@ export default class ChainFetch {
} }
async getBankTotal(denom) { async getBankTotal(denom) {
if (compareVersions(this.config.sdk_version, '0.46.5') > 0) { if (compareVersions(this.config.sdk_version, '0.46.2') > 0) {
return this.get(`/cosmos/bank/v1beta1/supply/by_denom?denom=${denom}`).then(data => commonProcess(data).amount) return this.get(`/cosmos/bank/v1beta1/supply/by_denom?denom=${denom}`).then(data => commonProcess(data).amount)
} }
if (compareVersions(this.config.sdk_version, '0.40') < 0) { if (compareVersions(this.config.sdk_version, '0.40') < 0) {