diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9567b3db9..fc1aa57d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -152,6 +152,8 @@ jobs: version: v4.0.1 - project: vidulum version: v1.2.0 + - project: xpla + version: v1.4.1 steps: - uses: actions/checkout@v3 - uses: docker/setup-buildx-action@v2 diff --git a/README.md b/README.md index 2979c8e03..ca37fb105 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,7 @@ tagged with the form `$COSMOS_OMNIBUS_VERSION-$PROJECT-$PROJECT_VERSION`. |[umee](https://github.com/umee-network/umee)|`v6.3.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.12-umee-v6.3.0`|[Example](./umee)| |[ununifi](https://github.com/UnUniFi/chain)|`v4.0.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.12-ununifi-v4.0.1`|[Example](./ununifi)| |[vidulum](https://github.com/vidulum/mainnet)|`v1.2.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.12-vidulum-v1.2.0`|[Example](./vidulum)| +|[xpla](https://github.com/xpladev/xpla)|`v1.4.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.12-xpla-v1.4.1`|[Example](./xpla)| ## Example configurations diff --git a/xpla/README.md b/xpla/README.md new file mode 100644 index 000000000..fc3394342 --- /dev/null +++ b/xpla/README.md @@ -0,0 +1,34 @@ +# XPLA + +| | | +|---|---| +|Version|`v1.4.1`| +|Binary|`xplad`| +|Directory|`.xpla`| +|ENV namespace|`XPLAD`| +|Repository|`https://github.com/xpladev/xpla| +|Image|`ghcr.io/akash-network/cosmos-omnibus:v0.4.10-xpla-v1.4.1'| + +## Examples + +- Run on Akash with the [example deploy.yml](./deploy.yml) +- Run locally 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 XPLA. + +|Variable|Value| +|---|---| +|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/xpla/chain.json`| + +## 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. + +Note you should choose between statesync and snapshot bootstrapping, snapshot will take precedence. + +|Variable|Value| +|---|---| +|`P2P_POLKACHU`|`1`| +|`STATESYNC_POLKACHU`|`1`| diff --git a/xpla/build.yml b/xpla/build.yml new file mode 100644 index 000000000..7b7f8068e --- /dev/null +++ b/xpla/build.yml @@ -0,0 +1,28 @@ +version: '3.4' + +services: + node_1: + build: + context: ../ + args: + PROJECT: xpla + PROJECT_BIN: xplad + PROJECT_DIR: .xpla + VERSION: v1.4.1 + REPOSITORY: https://github.com/xpladev/xpla + NAMESPACE: XPLAD + GOLANG_VERSION: 1.21-bullseye + DEBIAN_VERSION: bullseye + ports: + - '26656:26656' + - '26657:26657' + - '1317:1317' + environment: + - MONIKER=node_1 + - CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/xpla/chain.json + - P2P_POLKACHU=1 + - STATESYNC_POLKACHU=1 + env_file: + - ../.env + volumes: + - ./node-data:/root/.xpla diff --git a/xpla/deploy.yml b/xpla/deploy.yml new file mode 100644 index 000000000..5a80b4433 --- /dev/null +++ b/xpla/deploy.yml @@ -0,0 +1,56 @@ +--- +version: "2.0" + +services: + node: + image: ghcr.io/akash-network/cosmos-omnibus:v0.4.10-xpla-v1.4.1 + env: + - MONIKER=node_1 + - CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/xpla/chain.json + - P2P_POLKACHU=1 + - STATESYNC_POLKACHU=1 + expose: + - port: 26657 + as: 80 + to: + - global: true + - port: 26656 + to: + - global: true + # params: + # storage: + # data: + # mount: /root/.xpla + +profiles: + compute: + node: + resources: + cpu: + units: 4 + memory: + size: 8Gi + storage: + size: 100Gi + # - size: 100Mi + # - name: data + # size: 400Gi + # attributes: + # persistent: true + placement: + dcloud: + attributes: + host: akash + signedBy: + anyOf: + - akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63 + pricing: + node: + denom: uakt + amount: 1000 + +deployment: + node: + dcloud: + profile: node + count: 1 diff --git a/xpla/docker-compose.yml b/xpla/docker-compose.yml new file mode 100644 index 000000000..b49607ba7 --- /dev/null +++ b/xpla/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3.4' + +services: + node_1: + image: ghcr.io/akash-network/cosmos-omnibus:v0.4.10-xpla-v1.4.1 + ports: + - '26656:26656' + - '26657:26657' + - '1317:1317' + environment: + - MONIKER=node_1 + - CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/xpla/chain.json + - P2P_POLKACHU=1 + - STATESYNC_POLKACHU=1 + env_file: + - ../.env + volumes: + - ./node-data:/root/.xpla