|
2 | 2 |
|
3 | 3 | ## Table of Contents <!-- omit in toc -->
|
4 | 4 |
|
5 |
| -- [Validator List w/ Pocket RPC](#validator-list-w-pocket-rpc) |
6 |
| - - [Example Queries](#example-queries) |
7 |
| - - [Querying State](#querying-state) |
8 |
| - - [Querying Binary Version](#querying-binary-version) |
9 |
| -- [Validators w/ Tendermint RPC](#validators-w-tendermint-rpc) |
10 |
| - - [Credentials](#credentials) |
11 |
| - - [Querying Net Info](#querying-net-info) |
12 |
| - - [Querying Status](#querying-status) |
| 5 | +- [RPC \& Tendermint Public Endpoints](#rpc--tendermint-public-endpoints) |
| 6 | + - [BreezyTm (StakeNodes)](#breezytm-stakenodes) |
| 7 | + - [Ian (Cryptonode.tools)](#ian-cryptonodetools) |
| 8 | +- [Example Queries](#example-queries) |
| 9 | + - [Example Query - Net Info](#example-query---net-info) |
| 10 | + - [Example Query - Status](#example-query---status) |
| 11 | + - [Example Query - State](#example-query---state) |
| 12 | + - [Example Query - Binary Version](#example-query---binary-version) |
13 | 13 | - [TestNet Seeds](#testnet-seeds)
|
14 |
| -- [Pocket TestNet metrics dashboard](#pocket-testnet-metrics-dashboard) |
15 |
| - - [Brought to you by NodeFleet](#brought-to-you-by-nodefleet) |
16 |
| -- [Helper Examples](#helper-examples) |
17 |
| - - [View All Validator Tendermint Versions](#view-all-validator-tendermint-versions) |
18 |
| - - [View all Validator Binary Versions](#view-all-validator-binary-versions) |
19 |
| - - [View All Validator Heights](#view-all-validator-heights) |
20 | 14 |
|
21 |
| -## Validator List w/ Pocket RPC |
| 15 | +## RPC & Tendermint Public Endpoints |
22 | 16 |
|
23 |
| -```bash |
24 |
| -https://node1.testnet.pokt.network/ |
25 |
| -https://node2.testnet.pokt.network/ |
26 |
| -https://node3.testnet.pokt.network/ |
27 |
| -https://node4.testnet.pokt.network/ |
28 |
| -https://node5.testnet.pokt.network/ |
29 |
| -https://node6.testnet.pokt.network/ |
30 |
| -``` |
| 17 | +### BreezyTm (StakeNodes) |
31 | 18 |
|
32 |
| -### Example Queries |
| 19 | +`breezytm | Stakenodes (277262895459336194)` Validator RPC + Tendermint |
| 20 | +endpoints available behind a public load balancer here: |
33 | 21 |
|
34 |
| -#### Querying State |
| 22 | +- **RPC**: [rpc.testnet.pokt.network/lb/6d6f727365](https://rpc.testnet.pokt.network/lb/6d6f727365) |
| 23 | +- **Tendermint**: [rpc.testnet.pokt.network/lb/6d6f727365](https://tendermint.testnet.pokt.network/lb/6d6f727365) |
35 | 24 |
|
36 |
| -```bash |
37 |
| -curl -X POST https://node1.testnet.pokt.network/v1/query/state | tee query_state.json | jq |
38 |
| -``` |
| 25 | +### Ian (Cryptonode.tools) |
39 | 26 |
|
40 |
| -Output: |
| 27 | +`Ian | cryptonode.tools (693644362575511573)` Validator endpoints available here: |
41 | 28 |
|
42 |
| -```bash |
43 |
| -# { |
44 |
| -# "app_hash": "", |
45 |
| -# "app_state": { |
46 |
| -# "application": { |
47 |
| -# "applications": [ |
48 |
| -# { |
49 |
| -# "address": "065013157ffb401642d0418b408474b361ee0836", |
50 |
| -# "chains": [ |
51 |
| -# "004A", |
52 |
| -# "004B", |
53 |
| -# ... |
54 |
| -``` |
55 |
| - |
56 |
| -#### Querying Binary Version |
| 29 | +- **RPC**: [https://pokt_testnet.chains-eu6.cryptonode.tools](https://pokt_testnet.chains-eu6.cryptonode.tools) |
| 30 | +- **Tendermint**: [https://morse-tendermint.chains-eu6.cryptonode.tools](https://morse-tendermint.chains-eu6.cryptonode.tools) |
57 | 31 |
|
58 |
| -```bash |
59 |
| -curl https://node1.testnet.pokt.network/v1 |
60 |
| -``` |
| 32 | +## Example Queries |
61 | 33 |
|
62 |
| -Output: |
| 34 | +### Example Query - Net Info |
63 | 35 |
|
64 | 36 | ```bash
|
65 |
| -#"BETA-0.10.2"% |
| 37 | +curl https://tendermint.testnet.pokt.network/lb/6d6f727365/net_info |
66 | 38 | ```
|
67 | 39 |
|
68 |
| -## Validators w/ Tendermint RPC |
| 40 | +### Example Query - Status |
69 | 41 |
|
70 | 42 | ```bash
|
71 |
| -https://node1.tendermint.testnet.pokt.network/ |
72 |
| -https://node2.tendermint.testnet.pokt.network/ |
73 |
| -https://node3.tendermint.testnet.pokt.network/ |
74 |
| -https://node4.tendermint.testnet.pokt.network/ |
75 |
| -https://node5.tendermint.testnet.pokt.network/ |
76 |
| -https://node6.tendermint.testnet.pokt.network/ |
| 43 | +curl https://tendermint.testnet.pokt.network/lb/6d6f727365/status |
77 | 44 | ```
|
78 | 45 |
|
79 |
| -### Credentials |
80 |
| - |
81 |
| -These endpoints require authentication and can be accessed at `https://testnet:${NODE_FLEET_PASSWORD}@$node` |
82 |
| - |
83 |
| -You can request TestNet credentials in the [Pocket Node-Chat Discord channel](https://discord.com/channels/553741558869131266/564836328202567725). |
84 |
| - |
85 |
| -### Querying Net Info |
| 46 | +### Example Query - State |
86 | 47 |
|
87 | 48 | ```bash
|
88 |
| -curl https://node1.tendermint.testnet.pokt.network/net_info |
| 49 | +curl -X POST https://rpc.testnet.pokt.network/lb/6d6f727365/v1/query/state | tee query_state.json | jq |
89 | 50 | ```
|
90 | 51 |
|
91 |
| -### Querying Status |
| 52 | +### Example Query - Binary Version |
92 | 53 |
|
93 | 54 | ```bash
|
94 |
| -curl https://node1.tendermint.testnet.pokt.network/status |
| 55 | +curl https://rpc.testnet.pokt.network/lb/6d6f727365/v1 |
95 | 56 | ```
|
96 | 57 |
|
97 | 58 | ## TestNet Seeds
|
98 | 59 |
|
99 | 60 | 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:
|
100 | 61 |
|
101 | 62 | ```bash
|
102 |
| -d90094952a3a67a99243cca645cdd5bd55fe8d27@seed1.testnet.pokt.network:26668, 2a5258dcdbaa5ca6fd882451f5a725587427a793@seed2.testnet.pokt.network:26669, a37baa84a53f2aab1243986c1cd4eff1591e50d0@seed3.testnet.pokt.network:26668, fb18401cf435bd24a2e8bf75ea7041afcf122acf@seed4.testnet.pokt.network:26669 |
103 |
| -``` |
104 |
| - |
105 |
| -## Pocket TestNet metrics dashboard |
106 |
| - |
107 |
| -TestNet metrics can be viewed at the following links: |
108 |
| - |
109 |
| -- [Loadbalancer metrics](https://monitoring.nodefleet.net/d/O23g2BeWk/testnet-loadbalancer-metrics?orgId=4&var-service=testnet1@file&var-entrypoint=All&from=now-3h&to=now&refresh=5m): Network traffic dashboard |
110 |
| -- [Tendermint metrics](https://monitoring.nodefleet.net/d/UJyurCTWz/testnet-validators-tendermint-metrics): Consensus, Blocks, Transactions dashboard information and so on |
111 |
| -- [Node exporter metrics](https://monitoring.nodefleet.net/d/Gm5yJc94z/testnet-validators-telegraf-metrics): Instance metrics |
112 |
| -- [Loki dashboard](https://monitoring.nodefleet.net/d/_j0yAcrVz/testnet-validators-loki): Testnet Logs and explorer search |
113 |
| - |
114 |
| -You can request TestNet credentials in the [Pocket Node-Chat Discord channel](https://discord.com/channels/553741558869131266/564836328202567725). |
115 |
| - |
116 |
| -### Brought to you by NodeFleet |
117 |
| - |
118 |
| -The support for Testnet infrastructure is given by[nodefleet.org](https://nodefleet.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. |
119 |
| - |
120 |
| -Reach out to the team about TestNet directly on [Discord](https://discord.com/channels/553741558869131266/564836328202567725) tagging **Lowell | nodefleet.org#7301** (148983981134577665) and **Steven94 | nodefleet.org** (357688204566069248). |
121 |
| - |
122 |
| -## Helper Examples |
123 |
| - |
124 |
| -### View All Validator Tendermint Versions |
125 |
| - |
126 |
| -_Important: You need to expose `NODE_FLEET_PASSWORD`_ |
127 |
| - |
128 |
| -```bash |
129 |
| -#!/bin/bash |
130 |
| -declare -a nodes=("node1.tendermint.testnet.pokt.network/status" |
131 |
| - "node2.tendermint.testnet.pokt.network/status" |
132 |
| - "node3.tendermint.testnet.pokt.network/status" |
133 |
| - "node4.tendermint.testnet.pokt.network/status" |
134 |
| - "node5.tendermint.testnet.pokt.network/status" |
135 |
| - "node6.tendermint.testnet.pokt.network/status") |
136 |
| - |
137 |
| -for node in "${nodes[@]}" |
138 |
| -do |
139 |
| - url="https://testnet:${NODE_FLEET_PASSWORD}@$node" |
140 |
| - curl -s $url | jq '.result.node_info.version' |
141 |
| -done |
142 |
| -``` |
143 |
| - |
144 |
| -### View all Validator Binary Versions |
145 |
| - |
146 |
| -```bash |
147 |
| -#!/bin/bash |
148 |
| -declare -a nodes=("node1.testnet.pokt.network/v1" |
149 |
| - "node2.testnet.pokt.network/v1" |
150 |
| - "node3.testnet.pokt.network/v1" |
151 |
| - "node4.testnet.pokt.network/v1" |
152 |
| - "node5.testnet.pokt.network/v1" |
153 |
| - "node6.testnet.pokt.network/v1") |
154 |
| - |
155 |
| -for node in "${nodes[@]}" |
156 |
| -do |
157 |
| - url="https://$node" |
158 |
| - curl -X GET $url |
159 |
| - echo "" |
160 |
| -done |
161 |
| -``` |
162 |
| - |
163 |
| -### View All Validator Heights |
164 |
| - |
165 |
| -```bash |
166 |
| -#!/bin/bash |
167 |
| -declare -a nodes=("node1.testnet.pokt.network/v1/query/height" |
168 |
| - "node2.testnet.pokt.network/v1/query/height" |
169 |
| - "node3.testnet.pokt.network/v1/query/height" |
170 |
| - "node4.testnet.pokt.network/v1/query/height" |
171 |
| - "node5.testnet.pokt.network/v1/query/height" |
172 |
| - "node6.testnet.pokt.network/v1/query/height") |
173 |
| - |
174 |
| -for node in "${nodes[@]}" |
175 |
| -do |
176 |
| - url="https://$node" |
177 |
| - curl -X POST $url |
178 |
| -done |
| 63 | +b3d86cd8ab4aa0cb9861cb795d8d154e685a94cf@seed1.testnet.pokt.network:26663,5b0107a5252f6a037eed7f5c24a7d916e4dd93bd@testnet_seed_4.cryptonode.tools:16646 |
179 | 64 | ```
|
0 commit comments