diff --git a/chains/mainnet/centauri.json b/chains/mainnet/centauri.json index f520a44c..f750325d 100644 --- a/chains/mainnet/centauri.json +++ b/chains/mainnet/centauri.json @@ -13,7 +13,7 @@ "base": "ppica", "symbol": "PICA", "exponent": "12", - "coingecko_id": "", + "coingecko_id": "picasso", "logo": "/logos/composable.jpg" }] } diff --git a/chains/mainnet/haqq.json b/chains/mainnet/haqq.json index 6ecbbbb5..113efa75 100644 --- a/chains/mainnet/haqq.json +++ b/chains/mainnet/haqq.json @@ -1,8 +1,8 @@ { "chain_name": "haqq", "coingecko": "", - "api": ["https://rest.cosmos.haqq.network/", "https://m-s1-sdk.haqq.sh","https://api.haqq.nodestake.top"], - "rpc": ["https://rpc.tm.haqq.network/", "https://m-s1-tm.haqq.sh","https://rpc.haqq.nodestake.top"], + "api": ["https://rest.cosmos.haqq.network/", "https://m-s1-sdk.haqq.sh", "https://haqq-rest.publicnode.com"], + "rpc": ["https://rpc.tm.haqq.network/", "https://m-s1-tm.haqq.sh", "https://haqq-rpc.publicnode.com/"], "snapshot_provider": "", "sdk_version": "0.46.10", "coin_type": "60", diff --git a/chains/mainnet/juno.json b/chains/mainnet/juno.json index a9c9afda..ad5bee0c 100644 --- a/chains/mainnet/juno.json +++ b/chains/mainnet/juno.json @@ -1,10 +1,10 @@ { "chain_name": "juno", "coingecko": "juno-network", - "api": ["https://api-juno-ia.cosmosia.notional.ventures", "https://juno-api.polkachu.com", "https://lcd-juno.itastakers.com", "https://rest-juno.goldenratiostaking.net"], - "rpc": ["https://rpc-juno-ia.cosmosia.notional.ventures:443", "https://juno-rpc.polkachu.com:443", "https://rpc-juno.itastakers.com:443", "https://rpc-juno.itastakers.com:443", "https://rpc-juno.goldenratiostaking.net"], + "api": ["https://api-juno-ia.cosmosia.notional.ventures", "https://juno-api.polkachu.com", "https://lcd-juno.itastakers.com", "https://rest-juno.goldenratiostaking.net", "https://juno-api.reece.sh"], + "rpc": ["https://rpc-juno-ia.cosmosia.notional.ventures:443", "https://juno-rpc.polkachu.com:443", "https://rpc-juno.itastakers.com:443", "https://rpc-juno.itastakers.com:443", "https://rpc-juno.goldenratiostaking.net", "https://juno-rpc.reece.sh"], "snapshot_provider": "", - "sdk_version": "0.45.8", + "sdk_version": "0.47.3", "coin_type": "118", "min_tx_fee": "3000", "addr_prefix": "juno", diff --git a/chains/mainnet/mun.json b/chains/mainnet/mun.json new file mode 100644 index 00000000..d39e9545 --- /dev/null +++ b/chains/mainnet/mun.json @@ -0,0 +1,22 @@ +{ + "chain_name": "mun", + "coingecko": "", + "api": ["https://mainnet1.mun.money"], + "rpc": ["https://mainnet1rpc.mun.money"], + "snapshot_provider": "", + "sdk_version": "0.45.16", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "mun", + "logo": "/logos/mun.png", + "assets": [ + { + "base": "umun", + "symbol": "MUN", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/mun.png" + } + ] + } + diff --git a/chains/mainnet/stride.json b/chains/mainnet/stride.json index 8f839e69..3a965a47 100644 --- a/chains/mainnet/stride.json +++ b/chains/mainnet/stride.json @@ -2,7 +2,10 @@ "chain_name": "stride", "api": ["https://stride-api.polkachu.com", "https://api.stride.nodestake.top", "https://api-stride.nodeist.net", "https://stride.api.kjnodes.com"], "rpc": ["https://stride-rpc.polkachu.com:443", "https://rpc.stride.nodestake.top", "https://rpc-stride.nodeist.net", "https://stride.rpc.kjnodes.com:443"], - "snapshot_provider": "", + "provider_chain": { + "api": ["https://api-cosmoshub-ia.cosmosia.notional.ventures"] + }, + "features": ["dashboard","governance", "blocks", "ibc", "cosmwasm", "uptime", "parameters", "state-sync", "consensus", "supply", "widget"], "sdk_version": "0.45.5", "coin_type": "118", "min_tx_fee": "800", diff --git a/chains/testnet/injective.json b/chains/testnet/injective.json new file mode 100644 index 00000000..a8707d4c --- /dev/null +++ b/chains/testnet/injective.json @@ -0,0 +1,25 @@ +{ + "chain_name": "injective-888", + "api": ["https://testnet.lcd.injective.network"], + "rpc": ["https://tesnet.tm.injective.network"], + "snapshot_provider": "", + "sdk_version": "v0.45.5", + "coin_type": "60", + "min_tx_fee": "5000", + "addr_prefix": "inj", + "excludes": "", + "logo": "/logos/injective.jpg", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "keplr_price_step": { + "low": 100000000000, + "average": 200000000000, + "high": 30000000000000 + }, + "assets": [{ + "base": "inj", + "symbol": "INJ", + "exponent": "18", + "coingecko_id": "injective-protocol", + "logo": "/logos/injective.jpg" + }] +} diff --git a/chains/testnet/juno.json b/chains/testnet/juno.json index 7996dd15..5b91839c 100644 --- a/chains/testnet/juno.json +++ b/chains/testnet/juno.json @@ -1,8 +1,8 @@ { "chain_name": "juno", - "api": ["https://api.uni.junonetwork.io"], - "rpc": [""], - "sdk_version": "0.46.1", + "api": ["https://api.uni.junonetwork.io", "https://uni-api.reece.sh"], + "rpc": ["https://uni-rpc.reece.sh"], + "sdk_version": "0.47.3", "coin_type": "118", "min_tx_fee": "3000", "addr_prefix": "juno", diff --git a/chains/testnet/side.json b/chains/testnet/side.json index 50b0fb54..91530838 100644 --- a/chains/testnet/side.json +++ b/chains/testnet/side.json @@ -1,14 +1,13 @@ { "chain_name": "side", - "api": ["https://rest.testnet.side.one"], - "rpc": ["https://rpc.testnet.side.one"], - "snapshot_provider": "", + "registry_name": "SIDE", + "api": ["https://testnet-rest.side.exchange/"], + "rpc": ["https://testnet-rpc.side.exchange/"], "sdk_version": "0.46.4", - "coin_type": "60", + "coin_type": "118", "min_tx_fee": "800", "addr_prefix": "side", "logo": "/logos/side.jpeg", - "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], "assets": [{ "base": "aside", "symbol": "SIDE", diff --git a/installation.md b/installation.md new file mode 100644 index 00000000..a214058a --- /dev/null +++ b/installation.md @@ -0,0 +1,82 @@ +# Prerequisites + +1. Node and Yarn - Acquired using Node Version Manager (https://github.com/nvm-sh/nvm) + +# Quick Install for Prerequisites + +1. Install Node Version Manager +```sh +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash +``` +2. Install the latest version of NodeJS +```sh +nvm install node # "node" is an alias for the latest version +``` +3. Install the latest version of NPM for Node +```sh +nvm install-latest-npm # get the latest supported npm version on the current node version +``` +4. Install Yarn +```sh +npm install --global yarn +``` + +# Installation: + +1. Running with yarn +```sh +yarn --ignore-engines && yarn serve +``` + +2. Building for web servers, like nginx, apache +```sh +yarn --ignore-engines && yarn build +cp -r ./dist/* +``` + +3. Running with docker +```sh +./docker.sh +docker run -d -p 8088:80 ping.pub/dashboard +``` + +# Enable LCD for Ping.pub (do this on the config for your chain) + +1. Set `enable = true` in `./config/app.toml` +``` +############################################################################### +### API Configuration ### +############################################################################### + +[api] + +# Enable defines if the API server should be enabled. +enable = true + +# Swagger defines if swagger documentation should automatically be registered. +swagger = false + +# Address defines the API server to listen on. +address = "tcp://0.0.0.0:1317" + +# MaxOpenConnections defines the number of maximum open connections. +max-open-connections = 1000 +``` + +2. add proxy server and enable CORS. NOTE: You must enable https as well. + +``` +server { + server_name juno.api.ping.pub; + listen 443; + location / { + add_header Access-Control-Allow-Origin *; + add_header Access-Control-Max-Age 3600; + add_header Access-Control-Expose-Headers Content-Length; + + proxy_pass http://:1317; + + } +} +``` +3. config your blockchain in [./src/chains]() diff --git a/public/logos/mun.png b/public/logos/mun.png new file mode 100644 index 00000000..89825fa4 Binary files /dev/null and b/public/logos/mun.png differ diff --git a/public/logos/Qwoyn.png b/public/logos/qwoyn.png similarity index 100% rename from public/logos/Qwoyn.png rename to public/logos/qwoyn.png diff --git a/src/components/PaginationBar.vue b/src/components/PaginationBar.vue index 11e714cb..1b5d28f9 100644 --- a/src/components/PaginationBar.vue +++ b/src/components/PaginationBar.vue @@ -14,8 +14,8 @@ const pages = computed(() => { if (total > 0 && props.limit && total > props.limit) { let page = 0 while (true) { - if (page * props.limit > total) break page += 1 + if (page * props.limit > total) break if (total / props.limit > 10 && page > showSize && page < (total / props.limit - showSize + 1)) { if (!(page >= current.value - 1 && page <= current.value + 1)) { continue diff --git a/src/components/UptimeBar.vue b/src/components/UptimeBar.vue index 2481eb6f..b70c0495 100644 --- a/src/components/UptimeBar.vue +++ b/src/components/UptimeBar.vue @@ -25,14 +25,14 @@ const bars = computed(() => { });