Skip to content

Commit

Permalink
Add Coreum (#973)
Browse files Browse the repository at this point in the history
* Add Coreum

* Add Coreum to README
  • Loading branch information
tombeynon authored Jan 23, 2025
1 parent 0ba063e commit da323f6
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ tagged with the form `$COSMOS_OMNIBUS_VERSION-$PROJECT-$PROJECT_VERSION`.
|[cheqd](https://github.com/cheqd/cheqd-node)|`0.6.9`|`ghcr.io/akash-network/cosmos-omnibus:v1.1.3-cheqd-0.6.9`|[Example](./cheqd)|
|[chihuahua](https://github.com/ChihuahuaChain/chihuahua)|`v8.0.2`|`ghcr.io/akash-network/cosmos-omnibus:v1.1.3-chihuahua-v8.0.2`|[Example](./chihuahua)|
|[comdex](https://github.com/comdex-official/comdex)|`v14.1.0`|`ghcr.io/akash-network/cosmos-omnibus:v1.1.3-comdex-v14.1.0`|[Example](./comdex)|
|[coreum](https://github.com/CoreumFoundation/coreum)|`v4.1.2`|`ghcr.io/akash-network/cosmos-omnibus:v1.1.3-coreum-v4.1.2`|[Example](./coreum)|
|[cosmoshub](https://github.com/cosmos/gaia)|`v21.0.1`|`ghcr.io/akash-network/cosmos-omnibus:v1.1.3-cosmoshub-v21.0.1`|[Example](./cosmoshub)|
|[crescent](https://github.com/crescent-network/crescent)|`v4.2.0`|`ghcr.io/akash-network/cosmos-omnibus:v1.1.3-crescent-v4.2.0`|[Example](./crescent)|
|[cronos](https://github.com/crypto-org-chain/cronos)|`v1.4.0`|`ghcr.io/akash-network/cosmos-omnibus:v1.1.3-cronos-v1.4.0`|[Example](./cronos)|
Expand Down
37 changes: 37 additions & 0 deletions coreum/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Coreum

| | |
|---|---|
|Version|`v4.1.2`|
|Binary|`cored`|
|Directory|`.core/coreum-mainnet-1`|
|ENV namespace|`CORED`|
|Repository|`https://github.com/CoreumFoundation/coreum`|
|Image|`ghcr.io/akash-network/cosmos-omnibus:v1.1.3-coreum-v4.1.2`|

## Examples

- Run on Akash with the [example deploy.yml](./deploy.yml)
- Run with Docker 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](https://raw.githubusercontent.com/cosmos/chain-registry/master/coreum/chain.json) for Coreum.

This will be used automatically unless overridden with the `CHAIN_JSON` variable (use `0` to disable).

## Polkachu Chain Services

[Polkachu's Chain Services](https://www.polkachu.com/) make bootstrapping a node extremely easy. They provide live peers, seeds, statesync, addrbooks and pruned snapshots among other features.

The following configuration is available for Coreum nodes. [See the documentation](../README.md#polkachu-services) for more information.

|Variable|Value|
|---|---|
|`P2P_POLKACHU`|`1`|
|`P2P_SEEDS_POLKACHU`|`1`|
|`P2P_PEERS_POLKACHU`|`1`|
|`STATESYNC_POLKACHU`|`1`|
|`ADDRBOOK_POLKACHU`|`1`|

Polkachu also provide pruned snapshots for Coreum. Find the [latest snapshot](https://polkachu.com/tendermint_snapshots/akash) and apply it using the `SNAPSHOT_URL` variable.
18 changes: 18 additions & 0 deletions coreum/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
services:
node:
build:
context: ../
args:
PROJECT: coreum
PROJECT_BIN: cored
PROJECT_DIR: .core/coreum-mainnet-1
REPOSITORY: https://github.com/CoreumFoundation/coreum
VERSION: v4.1.2
BUILD_METHOD: binary
BINARY_URL: https://github.com/CoreumFoundation/coreum/releases/download/v4.1.2/cored-linux-amd64
ports:
- '26656:26656'
- '26657:26657'
- '1317:1317'
volumes:
- ./node-data:/root/.core/coreum-mainnet-1
52 changes: 52 additions & 0 deletions coreum/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
version: "2.0"
services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v1.1.3-coreum-v4.1.2
env:
- MONIKER=Cosmos Omnibus Node
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- ADDRBOOK_POLKACHU=1
expose:
- port: 26657
to:
- global: true
- port: 26656
to:
- global: true
params: # remove for non-persistent storage
storage:
data:
mount: /root/.core/coreum-mainnet-1
profiles:
compute:
node:
resources:
cpu:
units: 4
memory:
size: 32Gi
storage:
- size: 10Gi
- name: data # remove for non-persistent storage
size: 400Gi
attributes:
persistent: true
class: beta3
placement:
dcloud:
attributes:
host: akash
signedBy:
anyOf:
- akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63
pricing:
node:
denom: uakt
amount: 1000
deployment:
node:
dcloud:
profile: node
count: 1
14 changes: 14 additions & 0 deletions coreum/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v1.1.3-coreum-v4.1.2
ports:
- '26656:26656'
- '26657:26657'
- '1317:1317'
environment:
- MONIKER=Cosmos Omnibus Node
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- ADDRBOOK_POLKACHU=1
volumes:
- ./node-data:/root/.core/coreum-mainnet-1

0 comments on commit da323f6

Please sign in to comment.