Skip to content

Commit 92529d7

Browse files
Testnet docs updated (#1569)
[Issue Document v0 TestNet #1563](#1563) done Co-authored-by: Daniel Olshansky <olshansky.daniel@gmail.com>
1 parent 6ea15d7 commit 92529d7

File tree

2 files changed

+92
-2
lines changed

2 files changed

+92
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Pocket Core
88

99
Official golang implementation of the Pocket Network Protocol.
10+
1011
<div>
1112
<a href="https://godoc.org/github.com/pokt-network/pocket-core"><img src="https://img.shields.io/badge/godoc-reference-blue.svg"/></a>
1213
<a href="https://goreportcard.com/report/github.com/pokt-network/pocket-core"><img src="https://goreportcard.com/badge/github.com/pokt-network/pocket-core"/></a>
@@ -37,7 +38,7 @@ Clone the repository, `cd` into it and run `go build app/cmd/pocket_core/main.go
3738

3839
To run the Pocket Core binary you can use the following flags alongside the `main` executable:
3940

40-
````
41+
```
4142
Usage:
4243
pocket [command]
4344
@@ -64,7 +65,7 @@ Flags:
6465
--seeds string a comma separated list of PeerURLs: '<ID>@<IP>:<PORT>,<ID2>@<IP2>:<PORT>...<IDn>@<IPn>:<PORT>'
6566
6667
Use "pocket [command] --help" for more information about a command.
67-
````
68+
```
6869

6970
For more detailed command information, see the [usage section](doc/specs/cli/).
7071

@@ -76,6 +77,10 @@ For more detailed command information, see the [usage section](doc/specs/cli/).
7677

7778
Snapshots are provided by [Liquify LTD](https://www.liquify.io/) details on how to access the snapshots can be found in [snapshot.md](doc/guides/snapshot.md)
7879

80+
## Accessing TestNet
81+
82+
TestNet information can be found at [testnet.md](doc/guide/testnet.md)
83+
7984
## Running the tests
8085

8186
To run the Pocket Core unit tests, `go test -short -v -p 1 ./...`

doc/guides/testnet.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Pocket TestNet information overview
2+
3+
## Pocket Testnet validators list with pocket RPC
4+
5+
```
6+
https://node1.testnet.pokt.network/
7+
https://node2.testnet.pokt.network/
8+
https://node3.testnet.pokt.network/
9+
https://node4.testnet.pokt.network/
10+
https://node5.testnet.pokt.network/
11+
https://node6.testnet.pokt.network/
12+
```
13+
14+
Also, other queries can be done querying RPC nodes. Here an example for downloading TestNet's state backup as a local file through terminal:
15+
16+
```bash
17+
curl -X POST https://node1.testnet.pokt.network/v1/query/state > query_state.json
18+
```
19+
20+
Or checking version of the pocket binary on the testnet validators
21+
22+
```bash
23+
curl https://node1.testnet.pokt.network/v1
24+
```
25+
26+
## Pocket Testnet validators list with Tendermint RPC
27+
28+
This info can be checked querying these links (Note that corresponding credentials are needed to accessing this info):
29+
30+
```
31+
https://node1.tendermint.testnet.pokt.network/
32+
https://node2.tendermint.testnet.pokt.network/
33+
https://node3.tendermint.testnet.pokt.network/
34+
https://node4.tendermint.testnet.pokt.network/
35+
https://node5.tendermint.testnet.pokt.network/
36+
https://node6.tendermint.testnet.pokt.network/
37+
```
38+
39+
Ask for the TestNet credentials in Pocket's Node-Chat Discord channel [here](https://discord.com/channels/553741558869131266/564836328202567725)
40+
41+
For example, accessing tendermint's endpoints for network information:
42+
43+
```bash
44+
curl https://node1.tendermint.testnet.pokt.network/net_info
45+
```
46+
47+
Verifying status of testnet node1 via tendermint:
48+
49+
```bash
50+
curl https://node1.tendermint.testnet.pokt.network/status
51+
```
52+
53+
## Pocket TestNet Seeds
54+
55+
If you want to sync with testnet, you only need to copy/paste the list of nodes below on the `config.json` file on the variable `Seeds`
56+
57+
```
58+
d90094952a3a67a99243cca645cdd5bd55fe8d27@seed1.testnet.pokt.network:26668, 2a5258dcdbaa5ca6fd882451f5a725587427a793@seed2.testnet.pokt.network:26669, a37baa84a53f2aab1243986c1cd4eff1591e50d0@seed3.testnet.pokt.network:26668, fb18401cf435bd24a2e8bf75ea7041afcf122acf@seed4.testnet.pokt.network:26669
59+
```
60+
61+
## Pocket TestNet metrics dashboard
62+
63+
TestNet metrics can be check following these links:
64+
65+
**Testnet Loadbalancer metrics (Network traffic dashboard)**
66+
67+
> 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
68+
69+
**Tendermint metrics (Consensus, Blocks, Transactions dashboard information and so on)**
70+
71+
> https://monitoring.nodefleet.net/d/UJyurCTWz/testnet-validators-tendermint-metrics
72+
73+
**Node exporter metrics (Instance metrics)**
74+
75+
> https://monitoring.nodefleet.net/d/Gm5yJc94z/testnet-validators-telegraf-metrics
76+
77+
**Loki dashboard (Testnet Logs and explorer search)**
78+
79+
> https://monitoring.nodefleet.net/d/_j0yAcrVz/testnet-validators-loki
80+
81+
Note corresponding credentials will be needed to accessing this info. Ask for credentials in Pocket's Node-Chat Discord channel [here](https://discord.com/channels/553741558869131266/564836328202567725)
82+
83+
### Who's supporting Pocket's TestNet infrastructure?
84+
85+
The support for Testnet infrastructure is given by Nodefleet.org, which is a Web3 blockchain and node running company focused on delivering value for investors/builders on multi-chain ecosystems providing top quality engineering and quality infrastructure around all of its products. Feel free and ask anything about TestNet [here](https://discord.com/channels/553741558869131266/564836328202567725) tagging **Lowell | nodefleet.org** and **Steven94 | nodefleet.org**

0 commit comments

Comments
 (0)