Skip to content

Commit

Permalink
update zetachain (#9)
Browse files Browse the repository at this point in the history
* Create setup.md

* Create upgrade.md

* Create Sync

* Update and rename sync

* Create state sync.md

* Create peers seeds.md

* Create addrbook.md

* Create rpc.md

* Create grpc.md

* Create api.md

* Create checkers.md

* Update upgrade.md

* Create faq.md

* Create _category_.json

* Create _category_.json

* Create _category_.json

* Update faq.md

* Update index.mdx

* Create zetachain-banner.png

* Delete docs/zetachain/img/zetachain-banner.png

* Update snapshot.md

* Update snapshot.md

* Update state sync.md

* Update peers seeds.md

* Update snapshot.md

* Update state sync.md

* Update addrbook.md

* Update api.md

* Update grpc.md

* Update rpc.md

* Update faq.md

* Update checkers.md
  • Loading branch information
redwest88 authored Sep 2, 2023
1 parent 68cb8e4 commit 70f59a9
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 41 deletions.
10 changes: 0 additions & 10 deletions docs/zetachain/endpoints/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,3 @@ description: API
---

# APIs

### F5 Nodes
```bash
https://celestia-api.f5nodes.com
```

### Pops.one
```bash
https://api-mocha.pops.one
```
9 changes: 0 additions & 9 deletions docs/zetachain/endpoints/grpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,3 @@ description: gRPC

# gPRCs

### F5 Nodes
```bash
https://celestia-grpc.f5nodes.com
```

### Pops.one
```bash
https://grpc-mocha.pops.one
```
8 changes: 0 additions & 8 deletions docs/zetachain/endpoints/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,4 @@ description: RPC

# RPCs

### F5 Nodes
```bash
https://celestia-rpc.f5nodes.com
```

### Pops.one
```bash
rpc-mocha.pops.one
```
1 change: 0 additions & 1 deletion docs/zetachain/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ description: ZetaChain Node FAQ

# Node FAQ

### Will there be any rewards for running a node?
21 changes: 18 additions & 3 deletions docs/zetachain/sync/addrbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,24 @@ description: AddrBook

# AddrBook

## updates every: 1h
> 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

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

### Stop the node
```bash
command
curl -s addrbook_url > $HOME/.zetacored/config/addrbook.json

sudo systemctl restart zetacored
```

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

url here
</div>
</details>
21 changes: 18 additions & 3 deletions docs/zetachain/sync/peers seeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,24 @@ description: Live Peers / Seeds

# Live Peers / Seeds

## Live Peers and Seeds will help you to bla-bla-bla.
> When you start a node, you often need to connect to the network. This requires you to connect to one or more peers to start downloading the blockchain and receiving new blocks and transactions. Seeding nodes or bootstrap nodes help in this initial connection process.

### Stop the node
List of active peers:
```bash
command
24a3a8151ec9ecec0b9ed1ca97accfb1dacc115f@88.218.226.79:26656,943a1f25b8d4cc2a7294d1f18b60e52ee712690b@65.108.224.83:26656,bab6663f21b63e1df57ec7595b01ef1062dbd275@152.32.150.236:26656,e3a9810a22a12c04ef1663f8747274e4ef1bdf58@51.159.145.74:26656,a918d08544b5f4e0a9eb20bf91f343eb71b6d5ee@164.90.181.99:26656,6fbdb07c899d3702d89cfaca45beee9388ec1b27@135.181.107.72:26656,2ed7eefeff4333d8389cabd8c01790b612b58e2e@34.220.224.107:26656,4226fcb3b3809c00bc56283063fc52fa4bfc9a17@18.210.106.52:26656,06205919f549184cdccb53bfa194100dcc5a68a0@63.251.87.45:26656,1c1ab01057d9dc72665902f2b1d752714dbf6d24@116.202.227.117:16056,6933114020a8d7ea007c16c8c5e42e795f240865@95.216.153.230:26656,3d784cb1141b3888c1f8ddbb21d77de9291089da@65.108.124.57:25656,0b4893da114055d21e0f598845e80931b07ca153@44.198.196.121:26656,e4f65c8c90148a81771f8e6b6c3f934891dbfe85@3.0.80.230:26656,9c26260b0148376d2343c4c8c2e2bd7f3f498cd4@35.162.231.114:26656,f04cfca9b9fc8e0d5c0083dad20ab9a0fefba505@34.194.62.47:26656,57693a9bce3ffb5d6023a161ac9f744ac09a2329@162.19.240.28:26656,1ef3a9c821958220fa9b1b165a9859653c39558c@51.75.90.106:26656,809c1bdb33c162fdc380372523ccd58131368380@54.77.180.134:26656,8e8ec3eb7176d7e02459a7167a6dec7bfee2ae5c@65.109.37.33:26656,c1bbbfe2a5b15674bf24a869b3e8189b6b410ae7@65.108.231.124:14656,a64082e5ef9a8f5c349a8dd3d6df503a525905f6@54.212.145.239:26656,038234610497601373b1d27e27251674c6c81df7@3.218.170.198:26656,0844caf1e7be0dc1ce1c0523e87140a3c79a1d77@148.251.177.108:22556,97e4deefc9b03add9973758c29798f5c963ffc46@81.97.203.107:26656,af58c82b5f4d2268e0b8ca9150190e438c07d90d@34.239.99.239:26656,2067aaa17c35b80d2af5ddbd96d8aa82e84e8ecd@65.108.66.247:26656,853c46d580fe0673aba2b72b4b93b9d156b882fb@52.42.64.63:26656,66338a18a755a0c780b011f012ff142ebaa8fa56@44.236.174.26:26656,0a030d7834d618e80db6bcfdb3c8f43f5a24ef90@35.210.142.91:26656,2cec952e8dee322af2e10a3101aac37434876b0d@64.46.114.186:26656,f96cf94d5eabaf554c9294e731b3994b4c532f3a@46.4.5.45:22556,0ed5e75e2ea896b41a3ed77bba3a6af818755c45@15.235.160.84:31460,d73641538d631674ab1141ec0326a9d41a4660a6@34.199.35.194:26656,541df90de74d9fe8a05812b7f12f68be11c5eccc@202.8.10.137:26656,220c516bc0291b72c6d9854a60f8eea89643cd22@35.196.188.210:26656,2b4b7c4ab14774b500ce8c6f2971cd2ea8c0a470@148.251.2.19:55786,31c9f21b3dff1167993d4291479d8381f59d3dc4@18.213.164.140:26656,0344e0ca4d4e32726a4b520678edc6dc71fbb354@3.232.212.34:26656,0e555a9b53a678ed19dbe7c8cda07f5cf08dd607@213.202.218.50:26656,e8654ba2b446ea94aba0d9ea548dcd75998e7b24@65.21.232.62:26656,8f53a5748f142bd16127b7b7cb1c79772b2ff3c5@131.153.202.63:26656,e3fea0450f9d23ad7b64d41aab882a82a0b71d6b@150.136.176.81:26656,7d3786959e9ac49e367ce8db5de84bf796f85979@5.10.19.56:26656,d432b334542ee3943c2258b76bf90dd0180c5d5b@34.194.74.157:26656,a98484ac9cb8235bd6a65cdf7648107e3d14dab4@116.202.231.58:16056,6f6c792220522af5e9ca8cf9ed9364bb1cd83c5c@18.209.240.206:26656
```

:::info
You can manually add them to your `config.toml` or run the commands below:
:::
```bash
# create variable PEERS
PEERS="24a3a8151ec9ecec0b9ed1ca97accfb1dacc115f@88.218.226.79:26656,943a1f25b8d4cc2a7294d1f18b60e52ee712690b@65.108.224.83:26656,bab6663f21b63e1df57ec7595b01ef1062dbd275@152.32.150.236:26656,e3a9810a22a12c04ef1663f8747274e4ef1bdf58@51.159.145.74:26656,a918d08544b5f4e0a9eb20bf91f343eb71b6d5ee@164.90.181.99:26656,6fbdb07c899d3702d89cfaca45beee9388ec1b27@135.181.107.72:26656,2ed7eefeff4333d8389cabd8c01790b612b58e2e@34.220.224.107:26656,4226fcb3b3809c00bc56283063fc52fa4bfc9a17@18.210.106.52:26656,06205919f549184cdccb53bfa194100dcc5a68a0@63.251.87.45:26656,1c1ab01057d9dc72665902f2b1d752714dbf6d24@116.202.227.117:16056,6933114020a8d7ea007c16c8c5e42e795f240865@95.216.153.230:26656,3d784cb1141b3888c1f8ddbb21d77de9291089da@65.108.124.57:25656,0b4893da114055d21e0f598845e80931b07ca153@44.198.196.121:26656,e4f65c8c90148a81771f8e6b6c3f934891dbfe85@3.0.80.230:26656,9c26260b0148376d2343c4c8c2e2bd7f3f498cd4@35.162.231.114:26656,f04cfca9b9fc8e0d5c0083dad20ab9a0fefba505@34.194.62.47:26656,57693a9bce3ffb5d6023a161ac9f744ac09a2329@162.19.240.28:26656,1ef3a9c821958220fa9b1b165a9859653c39558c@51.75.90.106:26656,809c1bdb33c162fdc380372523ccd58131368380@54.77.180.134:26656,8e8ec3eb7176d7e02459a7167a6dec7bfee2ae5c@65.109.37.33:26656,c1bbbfe2a5b15674bf24a869b3e8189b6b410ae7@65.108.231.124:14656,a64082e5ef9a8f5c349a8dd3d6df503a525905f6@54.212.145.239:26656,038234610497601373b1d27e27251674c6c81df7@3.218.170.198:26656,0844caf1e7be0dc1ce1c0523e87140a3c79a1d77@148.251.177.108:22556,97e4deefc9b03add9973758c29798f5c963ffc46@81.97.203.107:26656,af58c82b5f4d2268e0b8ca9150190e438c07d90d@34.239.99.239:26656,2067aaa17c35b80d2af5ddbd96d8aa82e84e8ecd@65.108.66.247:26656,853c46d580fe0673aba2b72b4b93b9d156b882fb@52.42.64.63:26656,66338a18a755a0c780b011f012ff142ebaa8fa56@44.236.174.26:26656,0a030d7834d618e80db6bcfdb3c8f43f5a24ef90@35.210.142.91:26656,2cec952e8dee322af2e10a3101aac37434876b0d@64.46.114.186:26656,f96cf94d5eabaf554c9294e731b3994b4c532f3a@46.4.5.45:22556,0ed5e75e2ea896b41a3ed77bba3a6af818755c45@15.235.160.84:31460,d73641538d631674ab1141ec0326a9d41a4660a6@34.199.35.194:26656,541df90de74d9fe8a05812b7f12f68be11c5eccc@202.8.10.137:26656,220c516bc0291b72c6d9854a60f8eea89643cd22@35.196.188.210:26656,2b4b7c4ab14774b500ce8c6f2971cd2ea8c0a470@148.251.2.19:55786,31c9f21b3dff1167993d4291479d8381f59d3dc4@18.213.164.140:26656,0344e0ca4d4e32726a4b520678edc6dc71fbb354@3.232.212.34:26656,0e555a9b53a678ed19dbe7c8cda07f5cf08dd607@213.202.218.50:26656,e8654ba2b446ea94aba0d9ea548dcd75998e7b24@65.21.232.62:26656,8f53a5748f142bd16127b7b7cb1c79772b2ff3c5@131.153.202.63:26656,e3fea0450f9d23ad7b64d41aab882a82a0b71d6b@150.136.176.81:26656,7d3786959e9ac49e367ce8db5de84bf796f85979@5.10.19.56:26656,d432b334542ee3943c2258b76bf90dd0180c5d5b@34.194.74.157:26656,a98484ac9cb8235bd6a65cdf7648107e3d14dab4@116.202.231.58:16056,6f6c792220522af5e9ca8cf9ed9364bb1cd83c5c@18.209.240.206:26656"

# add peers to config.toml
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.zetacored/config/config.toml

# restart the node
sudo systemctl restart zetacored
```

2 changes: 1 addition & 1 deletion docs/zetachain/sync/snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Snapshot

# 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.
> 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.

### Find the snapshots below:

Expand Down
16 changes: 11 additions & 5 deletions docs/zetachain/sync/state sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ description: State Sync

# State Sync

## State Sync allows a new node to join the network by fetching a snapshot of the application state at a recent height bla-bla-bla.
> State Sync allows new nodes to join a blockchain network by downloading a recent snapshot of the application state instead of processing all historical blocks. This approach is typically faster and requires less data, as the application state is usually more concise than the entire block history.

### State Sync by:

<details>
<summary>F5 Nodes</summary>
<div>
<div>Stop the node</div>
<code>sudo systemctl stop zetacored</code>
</div>
</details>

### Stop the node
```bash
command
```
1 change: 0 additions & 1 deletion docs/zetachain/useful tools/checkers.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ description: Checkers

### Node checker by F5 Nodes

### Chain chacker by Pops.one

0 comments on commit 70f59a9

Please sign in to comment.