Skip to content

Commit

Permalink
feat: archway (#699)
Browse files Browse the repository at this point in the history
* feat: archway

* fix: add archway in publish.yml

* fix(docs): add archway

* Update README.md [skip ci]

---------

Co-authored-by: Tom Beynon <[email protected]>
  • Loading branch information
pratikbin and tombeynon authored Dec 8, 2023
1 parent 27ea6d4 commit afe89b4
Show file tree
Hide file tree
Showing 6 changed files with 124 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 @@ -20,6 +20,8 @@ jobs:
version: agoric-upgrade-7-2
- project: akash
version: v0.30.0
- project: archway
version: v4.0.2
- project: assetmantle
version: v1.0.0
- project: autonomy
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ tagged with the form `$COSMOS_OMNIBUS_VERSION-$PROJECT-$PROJECT_VERSION`.
|---|---|---|---|
|[agoric](https://github.com/Agoric/ag0)|`agoric-upgrade-7-2`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.2-agoric-agoric-upgrade-7-2`|[Example](./agoric)|
|[akash](https://github.com/akash-network/node)|`v0.30.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.2-akash-v0.30.0`|[Example](./akash)|
|[archway](https://github.com/archway-network/archway)|`v4.0.2`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.2-archway-v4.0.2`|[Example](./archway)|
|[assetmantle](https://github.com/AssetMantle/node)|`v1.0.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.2-assetmantle-v1.0.0`|[Example](./assetmantle)|
|[autonomy](https://github.com/AutonomyNetwork/autonomy-chain)|`v1.2.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.2-autonomy-v1.2.1`|[Example](./autonomy)|
|[bandchain](https://github.com/bandprotocol/chain)|`v2.5.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.2-bandchain-v2.5.1`|[Example](./bandchain)|
Expand Down
23 changes: 23 additions & 0 deletions archway/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# archway

| | |
|---|---|
|Version|`v4.0.2`|
|Binary|`archwayd`|
|Directory|`.archway`|
|ENV namespace|`archway`|
|Repository|`https://github.com/archway-network/archway`|
|Image|`ghcr.io/akash-network/cosmos-omnibus:v0.4.2-archway-v4.0.2`|

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

|Variable|Value|
|---|---|
|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/archway/chain.json`|
24 changes: 24 additions & 0 deletions archway/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: '3.4'

services:
node_1:
build:
context: ../
args:
PROJECT: archway
PROJECT_BIN: archwayd
PROJECT_DIR: .archway
VERSION: v4.0.2
REPOSITORY: https://github.com/archway-network/archway
NAMESPACE: archwayd
ports:
- '26656:26656'
- '26657:26657'
- '1317:1317'
environment:
- MONIKER=node_1
- CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/archway/chain.json
env_file:
- ../.env
volumes:
- ./node-data:/root/.archway
57 changes: 57 additions & 0 deletions archway/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
version: "2.0"

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

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
17 changes: 17 additions & 0 deletions archway/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: '3.4'

services:
node_1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.4.2-archway-v4.0.2
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
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
volumes:
- ./node-data:/root/.archway

0 comments on commit afe89b4

Please sign in to comment.