Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Axelar chain #712

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)|
Expand Down
43 changes: 43 additions & 0 deletions axelar/README.md
Original file line number Diff line number Diff line change
@@ -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`|
27 changes: 27 additions & 0 deletions axelar/build.yml
Original file line number Diff line number Diff line change
@@ -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
59 changes: 59 additions & 0 deletions axelar/deploy.yml
Original file line number Diff line number Diff line change
@@ -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
18 changes: 18 additions & 0 deletions axelar/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.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