Skip to content

Commit

Permalink
Update all chain documentation using document.sh script (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon authored Nov 19, 2024
1 parent 8a706bd commit 453f338
Show file tree
Hide file tree
Showing 195 changed files with 1,836 additions and 2,016 deletions.
17 changes: 10 additions & 7 deletions agoric/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,26 @@
## Examples

- Run on Akash with the [example deploy.yml](./deploy.yml)
- Run locally using the [example docker-compose.yml](./docker-compose.yml)
- Run with Docker using the [example docker-compose.yml](./docker-compose.yml)

## Chain information

The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes up to date chain info for Agoric.
The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes [up to date chain info](https://raw.githubusercontent.com/cosmos/chain-registry/master/agoric/chain.json) for Agoric.

|Variable|Value|
|---|---|
|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/agoric/chain.json`|
This will be used automatically unless overridden with the `CHAIN_JSON` variable (use `0` to disable).

## Polkachu Chain Services

[Polkachu's Chain Services](https://www.polkachu.com/) make bootstrapping a node extremely easy. They provide live peers, statesync and pruned snapshots.
[Polkachu's Chain Services](https://www.polkachu.com/) make bootstrapping a node extremely easy. They provide live peers, seeds, statesync, addrbooks and pruned snapshots among other features.

Note you should choose between statesync and snapshot bootstrapping, snapshot will take precedence.
The following configuration is available for Agoric nodes. [See the documentation](../README.md#polkachu-services) for more information.

|Variable|Value|
|---|---|
|`P2P_POLKACHU`|`1`|
|`P2P_SEEDS_POLKACHU`|`1`|
|`P2P_PEERS_POLKACHU`|`1`|
|`STATESYNC_POLKACHU`|`1`|
|`ADDRBOOK_POLKACHU`|`1`|

Polkachu also provide pruned snapshots for Agoric. Find the [latest snapshot](https://polkachu.com/tendermint_snapshots/akash) and apply it using the `SNAPSHOT_URL` variable.
27 changes: 11 additions & 16 deletions agoric/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
---
version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.33-agoric-agoric-upgrade-7-2
env:
- MONIKER=node_1
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/agoric/chain.json
- MONIKER=Cosmos Omnibus Node
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- ADDRBOOK_POLKACHU=1
expose:
- port: 26657
as: 80
to:
- global: true
- port: 26656
to:
- global: true
# params:
# storage:
# data:
# mount: /root/.agoric

params: # remove for non-persistent storage
storage:
data:
mount: /root/.agoric
profiles:
compute:
node:
Expand All @@ -31,12 +28,11 @@ profiles:
memory:
size: 8Gi
storage:
size: 100Gi
# - size: 100Mi
# - name: data
# size: 400Gi
# attributes:
# persistent: true
- size: 10Gi
- name: data # remove for non-persistent storage
size: 400Gi
attributes:
persistent: true
placement:
dcloud:
attributes:
Expand All @@ -48,7 +44,6 @@ profiles:
node:
denom: uakt
amount: 1000

deployment:
node:
dcloud:
Expand Down
8 changes: 3 additions & 5 deletions agoric/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
version: '3.4'

services:
node_1:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.33-agoric-agoric-upgrade-7-2
ports:
- '26656:26656'
- '26657:26657'
- '1317:1317'
environment:
- MONIKER=node_1
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/agoric/chain.json
- MONIKER=Cosmos Omnibus Node
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- ADDRBOOK_POLKACHU=1
volumes:
- ./node-data:/root/.agoric
21 changes: 12 additions & 9 deletions akash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,35 @@
## Examples

- Run on Akash with the [example deploy.yml](./deploy.yml)
- Run locally using the [example docker-compose.yml](./docker-compose.yml)
- Run with Docker using the [example docker-compose.yml](./docker-compose.yml)

## Chain information

Akash provide up to date chain information in their [akash-network/net](https://github.com/akash-network/net) repository.
The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes [up to date chain info](https://raw.githubusercontent.com/cosmos/chain-registry/master/akash/chain.json) for Akash.

|Variable|Value|
|---|---|
|`CHAIN_JSON`|`https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json`|
This will be used automatically unless overridden with the `CHAIN_JSON` variable (use `0` to disable).

## Suggested configuration

Akash suggests setting a minimum gas price and using Fastsync v0.
The following configuration is recommended for Akash nodes.

|Variable|Value|
|---|---|
|`MINIMUM_GAS_PRICES`|`0.025uakt`|
|`CHAIN_JSON`|`https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json`|
|`FASTSYNC_VERSION`|`v0`|

## Polkachu Chain Services

[Polkachu's Chain Services](https://www.polkachu.com/) make bootstrapping a node extremely easy. They provide live peers, statesync and pruned snapshots.
[Polkachu's Chain Services](https://www.polkachu.com/) make bootstrapping a node extremely easy. They provide live peers, seeds, statesync, addrbooks and pruned snapshots among other features.

Note you should choose between statesync and snapshot bootstrapping, snapshot will take precedence.
The following configuration is available for Akash nodes. [See the documentation](../README.md#polkachu-services) for more information.

|Variable|Value|
|---|---|
|`P2P_POLKACHU`|`1`|
|`P2P_SEEDS_POLKACHU`|`1`|
|`P2P_PEERS_POLKACHU`|`1`|
|`STATESYNC_POLKACHU`|`1`|
|`ADDRBOOK_POLKACHU`|`1`|

Polkachu also provide pruned snapshots for Akash. Find the [latest snapshot](https://polkachu.com/tendermint_snapshots/akash) and apply it using the `SNAPSHOT_URL` variable.
28 changes: 11 additions & 17 deletions akash/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
---
version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.33-akash-v0.36.0
env:
- MONIKER=my-moniker-1
- MONIKER=Cosmos Omnibus Node
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- FASTSYNC_VERSION=v0
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- ADDRBOOK_POLKACHU=1
expose:
- port: 26657
as: 80
to:
- global: true
- port: 26656
to:
- global: true
# params:
# storage:
# data:
# mount: /root/.akash

params: # remove for non-persistent storage
storage:
data:
mount: /root/.akash
profiles:
compute:
node:
Expand All @@ -33,13 +30,11 @@ profiles:
memory:
size: 8Gi
storage:
size: 100Gi
# - size: 100Mi
# - name: data
# size: 400Gi
# attributes:
# persistent: true

- size: 10Gi
- name: data # remove for non-persistent storage
size: 400Gi
attributes:
persistent: true
placement:
dcloud:
attributes:
Expand All @@ -51,7 +46,6 @@ profiles:
node:
denom: uakt
amount: 1000

deployment:
node:
dcloud:
Expand Down
8 changes: 3 additions & 5 deletions akash/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
version: '3.4'

services:
node_1:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.33-akash-v0.36.0
ports:
- '26656:26656'
- '26657:26657'
- '1317:1317'
environment:
- MONIKER=node_1
- MONIKER=Cosmos Omnibus Node
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- FASTSYNC_VERSION=v0
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- ADDRBOOK_POLKACHU=1
volumes:
- ./node-data:/root/.akash
24 changes: 19 additions & 5 deletions archway/README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,37 @@
# archway
# Archway

| | |
|---|---|
|Version|`v7.0.0`|
|Binary|`archwayd`|
|Directory|`.archway`|
|ENV namespace|`archway`|
|ENV namespace|`ARCHWAYD`|
|Repository|`https://github.com/archway-network/archway`|
|Image|`ghcr.io/akash-network/cosmos-omnibus:v0.4.33-archway-v7.0.0`|

## Examples

- Run on Akash with the [example deploy.yml](./deploy.yml)
- Run locally using the [example docker-compose.yml](./docker-compose.yml)
- Run with Docker using the [example docker-compose.yml](./docker-compose.yml)

## Chain information

The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes up to date chain info for archway chain.
The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes [up to date chain info](https://raw.githubusercontent.com/cosmos/chain-registry/master/archway/chain.json) for Archway.

This will be used automatically unless overridden with the `CHAIN_JSON` variable (use `0` to disable).

## Polkachu Chain Services

[Polkachu's Chain Services](https://www.polkachu.com/) make bootstrapping a node extremely easy. They provide live peers, seeds, statesync, addrbooks and pruned snapshots among other features.

The following configuration is available for Archway nodes. [See the documentation](../README.md#polkachu-services) for more information.

|Variable|Value|
|---|---|
|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/archway/chain.json`|
|`P2P_POLKACHU`|`1`|
|`P2P_SEEDS_POLKACHU`|`1`|
|`P2P_PEERS_POLKACHU`|`1`|
|`STATESYNC_POLKACHU`|`1`|
|`ADDRBOOK_POLKACHU`|`1`|

Polkachu also provide pruned snapshots for Archway. Find the [latest snapshot](https://polkachu.com/tendermint_snapshots/akash) and apply it using the `SNAPSHOT_URL` variable.
28 changes: 11 additions & 17 deletions archway/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
---
version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.33-archway-v7.0.0
env:
- MONIKER=node_1
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/archway/chain.json
- MINIMUM_GAS_PRICES=0.025uarch
- MONIKER=Cosmos Omnibus Node
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- ADDRBOOK_POLKACHU=1
expose:
- port: 26657
as: 80
to:
- global: true
- port: 26656
to:
- global: true
# params:
# storage:
# data:
# mount: /root/.archway

params: # remove for non-persistent storage
storage:
data:
mount: /root/.archway
profiles:
compute:
node:
Expand All @@ -32,12 +28,11 @@ profiles:
memory:
size: 8Gi
storage:
size: 100Gi
# - size: 100Mi
# - name: data
# size: 400Gi
# attributes:
# persistent: true
- size: 10Gi
- name: data # remove for non-persistent storage
size: 400Gi
attributes:
persistent: true
placement:
dcloud:
attributes:
Expand All @@ -49,7 +44,6 @@ profiles:
node:
denom: uakt
amount: 1000

deployment:
node:
dcloud:
Expand Down
9 changes: 3 additions & 6 deletions archway/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
version: '3.4'

services:
node_1:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.33-archway-v7.0.0
ports:
- '26656:26656'
- '26657:26657'
- '1317:1317'
environment:
- MONIKER=node_1
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/archway/chain.json
- MINIMUM_GAS_PRICES=0.025aarch
- MONIKER=Cosmos Omnibus Node
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- ADDRBOOK_POLKACHU=1
volumes:
- ./node-data:/root/.archway
Loading

0 comments on commit 453f338

Please sign in to comment.