Skip to content

Commit

Permalink
update zetachain (#13)
Browse files Browse the repository at this point in the history
* Update rpc.md

* Update grpc.md

* Update api.md

* Update snapshot.md

* Update addrbook.md

* Update rpc.md

* Update grpc.md

* Update rpc.md

* Update grpc.md

* Update api.md

* Update addrbook.md

* Update snapshot.md

* Update addrbook.md
  • Loading branch information
redwest88 committed Sep 7, 2023
1 parent 6e58197 commit d72b321
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/zetachain/endpoints/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: API

> In the Cosmos SDK, the gRPC-gateway translates gRPC endpoints into RESTful ones, enabling users to interact via the REST API. This adaptation is essential for clients that don't natively support gRPC or HTTP2.
#### A list of API endpoints you can use:
A list of API endpoints you can use:

* F5 Nodes
```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/zetachain/endpoints/grpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: gRPC

> The gRPC endpoint enables user interactions with a ZetaChain Node through the efficient gRPC framework. In the Cosmos SDK, this protocol is crucial for state queries and transaction broadcasts.
### A list of gRPC endpoints you can use:
A list of gRPC endpoints you can use:

* F5 Nodes
```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/zetachain/endpoints/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: RPC
A list of RPC endpoints you can use:

- F5 Nodes
* F5 Nodes
```bash
https://zetachain-rpc.f5nodes.com
```
Expand Down
6 changes: 3 additions & 3 deletions docs/zetachain/sync/addrbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ description: AddrBook

> Address book refers to a local database or record that a node maintains of all the peers it has come into contact with or learned about. This helps in the peer discovery process.
Run the command and restart the node:

:::info
Change `addrbook_url` to the one you choose from the list above.
:::

Run the command and restart the node:

```bash
curl -s addrbook_url > $HOME/.zetacored/config/addrbook.json
curl -s <addrbook_url> > $HOME/.zetacored/config/addrbook.json

sudo systemctl restart zetacored
```
Expand Down
22 changes: 12 additions & 10 deletions docs/zetachain/sync/snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: Snapshot
> When a new node joins a network, it can use a snapshot — a compressed backup of the chain's data — to quickly synchronize with the current state. Snapshots expedite the process, reducing the need to download and verify every transaction from the beginning.
:::info
Choose a snapshot from the list and run the commands below. Don't forget to change `SHAPSHOT_URL`.
Choose a snapshot from the list and run the commands below. Don't forget to change `snapshot_url`.
:::

```bash
Expand All @@ -19,27 +19,29 @@ cp $HOME/.zetacored/data/priv_validator_state.json $HOME/.zetacored/priv_validat

# reset your node and download a snapshot
zetacored tendermint unsafe-reset-all --home $HOME/.zetacored --keep-addr-book
wget SHAPSHOT_URL | lz4 -dc - | tar -xf - -C $HOME/.zetacored
wget <snapshot_url> | lz4 -dc - | tar -xf - -C $HOME/.zetacored

# replace the priv_validator_state.json you have backed up
mv $HOME/.zetacored/priv_validator_state.json.backup $HOME/.zetacored/data/priv_validator_state.json

sudo systemctl restart zetacored && sudo journalctl -u zetacored -f
```

A list of Snapshots you can use:

<details>
<summary>F5 Nodes</summary>
<div>
url here

url here
</div>
</details>


<details>
<summary>Polkachu</summary>
<div>

https://snapshots.polkachu.com/testnet-snapshots/zetachain/zetachain_1514635.tar.lz4
</div>
</details>
Expand All @@ -48,7 +50,7 @@ sudo systemctl restart zetacored && sudo journalctl -u zetacored -f
<details>
<summary>NodeJumper</summary>
<div>

https://snapshots-testnet.nodejumper.io/zetachain-testnet/athens_7001-1_2023-09-07.tar.lz4
</div>
</details>
Expand All @@ -57,7 +59,7 @@ sudo systemctl restart zetacored && sudo journalctl -u zetacored -f
<details>
<summary>NodeStake</summary>
<div>

https://ss-t.zeta.nodestake.top/2023-09-04_zeta_1474991.tar.lz4
</div>
</details>
Expand All @@ -66,7 +68,7 @@ sudo systemctl restart zetacored && sudo journalctl -u zetacored -f
<details>
<summary>kjnodes</summary>
<div>

https://snapshots.kjnodes.com/zetachain-testnet/snapshot_latest.tar.lz4
</div>
</details>
Expand All @@ -75,7 +77,7 @@ sudo systemctl restart zetacored && sudo journalctl -u zetacored -f
<details>
<summary>ITRocket</summary>
<div>

https://testnet-files.itrocket.net/zetachain/snap_zetachain.tar.lz4
</div>
</details>
Expand All @@ -84,7 +86,7 @@ sudo systemctl restart zetacored && sudo journalctl -u zetacored -f
<details>
<summary>Synergy Nodes</summary>
<div>

http://snapshots.synergynodes.com/zetachain_testnet/zetachain_testnet_1512989.tar.lz4
</div>
</details>
Expand Down

0 comments on commit d72b321

Please sign in to comment.