Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

ajuna-network/Ajuna

Repository files navigation

Ajuna has split the repositories into:

Ajuna Network

Build codecov Docker Image Version (latest semver) Docker Image Version (latest semver)

A game platform parachain built with Substrate.

Prerequisites

Build

  • Using cargo:

    # solochain
    cargo build-ajuna-solo
    
    # parachain with Bajun runtime
    cargo build-bajun-rococo
    cargo build-bajun-kusama
    
    # parachain with Ajuna runtime
    cargo build-ajuna-rococo
    cargo build-ajuna-polkadot
  • Using Docker:

    # solochain
    docker build -f docker/Dockerfile -t ajuna/solochain:latest . --build-arg features=solo  --build-arg bin=ajuna-solo
    
    # parachain with Bajun runtime
    docker build -f docker/Dockerfile -t ajuna/parachain-bajun:latest . --build-arg features=bajun --build-arg bin=bajun-para
    
    # parachain with Ajuna runtime
    docker build -f docker/Dockerfile -t ajuna/parachain-ajuna:latest . --build-arg features=ajuna --build-arg bin=ajuna-para

Run

  • Using compiled binaries:

    # solochain
    ./target/release/ajuna-solo --dev --tmp
  • Using Docker:

     # solochain
    docker-compose -f docker/solochain.yml up
    
    # parachain with rococo-local relay chain
    docker-compose -f docker/parachain.yml up