diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6eac2d84f..6d00d5bfc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,6 +26,8 @@ jobs: version: v1.0.0 - project: autonomy version: v1.2.1 + - project: axelar + version: v0.34.0 - project: bandchain version: v2.5.1 - project: bitcanna diff --git a/README.md b/README.md index 248505e03..d18d4567f 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ tagged with the form `$COSMOS_OMNIBUS_VERSION-$PROJECT-$PROJECT_VERSION`. |[archway](https://github.com/archway-network/archway)|`v4.0.2`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.3-archway-v4.0.2`|[Example](./archway)| |[assetmantle](https://github.com/AssetMantle/node)|`v1.0.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.3-assetmantle-v1.0.0`|[Example](./assetmantle)| |[autonomy](https://github.com/AutonomyNetwork/autonomy-chain)|`v1.2.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.3-autonomy-v1.2.1`|[Example](./autonomy)| +|[axelar](https://github.com/axelarnetwork/axelar-core)|`v0.34.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.3-axelar-v0.34.0`|[Example](./axelar)| |[bandchain](https://github.com/bandprotocol/chain)|`v2.5.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.3-bandchain-v2.5.1`|[Example](./bandchain)| |[bitcanna](https://github.com/BitCannaGlobal/bcna)|`v2.0.3`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.3-bitcanna-v2.0.3`|[Example](./bitcanna)| |[bitsong](https://github.com/bitsongofficial/go-bitsong)|`v0.14.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.4.3-bitsong-v0.14.0`|[Example](./bitsong)| diff --git a/axelar/README.md b/axelar/README.md new file mode 100644 index 000000000..7ed838e35 --- /dev/null +++ b/axelar/README.md @@ -0,0 +1,43 @@ +# Axelar + +| | | +|---|---| +|Version|`v0.34.0`| +|Binary|`axelard`| +|Directory|`.axelar`| +|ENV namespace|`AXELAR`| +|Repository|`https://github.com/axelarnetwork/axelar-core`| +|Image|`ghcr.io/akash-network/cosmos-omnibus:v0.4.3-axelar-v0.34.0`| + +## 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 Axelar. + +|Variable|Value| +|---|---| +|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/chain.json`| + +## Suggested configuration + +Axelar suggests setting a minimum gas price and using Fastsync v0. + +|Variable|Value| +|---|---| +|`MINIMUM_GAS_PRICES`|`0.007uaxl`| +|`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. + +Note you should choose between statesync and snapshot bootstrapping, snapshot will take precedence. + +|Variable|Value| +|---|---| +|`P2P_POLKACHU`|`1`| +|`STATESYNC_POLKACHU`|`1`| diff --git a/axelar/build.yml b/axelar/build.yml new file mode 100644 index 000000000..310d8f525 --- /dev/null +++ b/axelar/build.yml @@ -0,0 +1,27 @@ +version: '3.4' + +services: + node_1: + build: + context: ../ + args: + PROJECT: axelar + VERSION: v0.34.0 + REPOSITORY: https://github.com/axelarnetwork/axelar-core + BUILD_IMAGE: binary + BINARY_URL: https://github.com/axelarnetwork/axelar-core/releases/download/v0.34.0/axelard-linux-amd64-v0.34.0 + ports: + - '26656:26656' + - '26657:26657' + - '1317:1317' + environment: + - MONIKER=node_1 + - CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/chain.json + - MINIMUM_GAS_PRICES=0.007uaxl + - FASTSYNC_VERSION=v0 + - P2P_POLKACHU=1 + - STATESYNC_POLKACHU=1 + env_file: + - ../.env + volumes: + - ./node-data:/root/.axelar diff --git a/axelar/deploy.yml b/axelar/deploy.yml new file mode 100644 index 000000000..42aec1128 --- /dev/null +++ b/axelar/deploy.yml @@ -0,0 +1,59 @@ +--- +version: "2.0" + +services: + node: + image: ghcr.io/akash-network/cosmos-omnibus:v0.4.3-axelar-v0.34.0 + env: + - MONIKER=my-moniker-1 + - CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/chain.json + - MINIMUM_GAS_PRICES=0.007uaxl + - FASTSYNC_VERSION=v0 + - P2P_POLKACHU=1 + - STATESYNC_POLKACHU=1 + expose: + - port: 26657 + as: 80 + to: + - global: true + - port: 26656 + to: + - global: true + # params: + # storage: + # data: + # mount: /root/.axelar + +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/axelar/docker-compose.yml b/axelar/docker-compose.yml new file mode 100644 index 000000000..daa446bb1 --- /dev/null +++ b/axelar/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3.4' + +services: + node_1: + image: ghcr.io/akash-network/cosmos-omnibus:v0.4.3-axelar-v0.34.0 + ports: + - '26656:26656' + - '26657:26657' + - '1317:1317' + environment: + - MONIKER=node_1 + - CHAIN_JSON=https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/chain.json + - MINIMUM_GAS_PRICES=0.007uaxl + - FASTSYNC_VERSION=v0 + - P2P_POLKACHU=1 + - STATESYNC_POLKACHU=1 + volumes: + - ./node-data:/root/.axelar