Skip to content

Latest commit

 

History

History
179 lines (136 loc) · 5.93 KB

testnet.md

File metadata and controls

179 lines (136 loc) · 5.93 KB

Pocket TestNet

Table of Contents

Validator List w/ Pocket RPC

https://node1.testnet.pokt.network/
https://node2.testnet.pokt.network/
https://node3.testnet.pokt.network/
https://node4.testnet.pokt.network/
https://node5.testnet.pokt.network/
https://node6.testnet.pokt.network/

Example Queries

Querying State

curl -X POST https://node1.testnet.pokt.network/v1/query/state | tee query_state.json | jq

Output:

# {
#   "app_hash": "",
#   "app_state": {
#     "application": {
#       "applications": [
#         {
#           "address": "065013157ffb401642d0418b408474b361ee0836",
#           "chains": [
#             "004A",
#             "004B",
# ...

Querying Binary Version

curl https://node1.testnet.pokt.network/v1

Output:

#"BETA-0.10.2"%

Validators w/ Tendermint RPC

https://node1.tendermint.testnet.pokt.network/
https://node2.tendermint.testnet.pokt.network/
https://node3.tendermint.testnet.pokt.network/
https://node4.tendermint.testnet.pokt.network/
https://node5.tendermint.testnet.pokt.network/
https://node6.tendermint.testnet.pokt.network/

Credentials

These endpoints require authentication and can be accessed at https://testnet:${NODE_FLEET_PASSWORD}@$node

You can request TestNet credentials in the Pocket Node-Chat Discord channel.

Querying Net Info

curl https://node1.tendermint.testnet.pokt.network/net_info

Querying Status

curl https://node1.tendermint.testnet.pokt.network/status

TestNet Seeds

The following seeds can be used to sync with TestNet. Copy-paste the following list of seeds into the config.json file on the seeds variable:

d90094952a3a67a99243cca645cdd5bd55fe8d27@seed1.testnet.pokt.network:26668, 2a5258dcdbaa5ca6fd882451f5a725587427a793@seed2.testnet.pokt.network:26669, a37baa84a53f2aab1243986c1cd4eff1591e50d0@seed3.testnet.pokt.network:26668, fb18401cf435bd24a2e8bf75ea7041afcf122acf@seed4.testnet.pokt.network:26669

Pocket TestNet metrics dashboard

TestNet metrics can be viewed at the following links:

You can request TestNet credentials in the Pocket Node-Chat Discord channel.

Brought to you by NodeFleet

The support for Testnet infrastructure is given bynodefleet.org, a Web3 blockchain and node running company focused on delivering value for investors &builders on multi-chain ecosystem. Nodefleet provides top quality engineering and quality infrastructure around all of its products.

Reach out to the team about TestNet directly on Discord tagging Lowell | nodefleet.org#7301 (148983981134577665) and Steven94 | nodefleet.org (357688204566069248).

Helper Examples

View All Validator Tendermint Versions

Important: You need to expose NODE_FLEET_PASSWORD

#!/bin/bash
declare -a nodes=("node1.tendermint.testnet.pokt.network/status"
                  "node2.tendermint.testnet.pokt.network/status"
                  "node3.tendermint.testnet.pokt.network/status"
                  "node4.tendermint.testnet.pokt.network/status"
                  "node5.tendermint.testnet.pokt.network/status"
                  "node6.tendermint.testnet.pokt.network/status")

for node in "${nodes[@]}"
do
    url="https://testnet:${NODE_FLEET_PASSWORD}@$node"
    curl -s $url | jq '.result.node_info.version'
done

View all Validator Binary Versions

#!/bin/bash
declare -a nodes=("node1.testnet.pokt.network/v1"
                  "node2.testnet.pokt.network/v1"
                  "node3.testnet.pokt.network/v1"
                  "node4.testnet.pokt.network/v1"
                  "node5.testnet.pokt.network/v1"
                  "node6.testnet.pokt.network/v1")

for node in "${nodes[@]}"
do
    url="https://$node"
    curl -X GET $url
    echo ""
done

View All Validator Heights

#!/bin/bash
declare -a nodes=("node1.testnet.pokt.network/v1/query/height"
                  "node2.testnet.pokt.network/v1/query/height"
                  "node3.testnet.pokt.network/v1/query/height"
                  "node4.testnet.pokt.network/v1/query/height"
                  "node5.testnet.pokt.network/v1/query/height"
                  "node6.testnet.pokt.network/v1/query/height")

for node in "${nodes[@]}"
do
    url="https://$node"
    curl -X POST $url
done