Skip to content

Commit

Permalink
Added XPLA (#784)
Browse files Browse the repository at this point in the history
* Create README.md

* Create build.yml

* Create deploy.yml

* Create docker-compose.yml

* Added XPLA

* Update publish.yml

* Update xpla/README.md

---------

Co-authored-by: Tom Beynon <[email protected]>
  • Loading branch information
rodri-r and tombeynon authored Apr 29, 2024
1 parent 8c1f08a commit fba8ed9
Show file tree
Hide file tree
Showing 6 changed files with 139 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
34 changes: 34 additions & 0 deletions xpla/README.md
Original file line number Diff line number Diff line change
@@ -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`|
28 changes: 28 additions & 0 deletions xpla/build.yml
Original file line number Diff line number Diff line change
@@ -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
56 changes: 56 additions & 0 deletions xpla/deploy.yml
Original file line number Diff line number Diff line change
@@ -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
18 changes: 18 additions & 0 deletions xpla/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fba8ed9

Please sign in to comment.