mymiracle0118 / Ajuna

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:GNU Affero General Public License v3.0


Languages

Language:Rust 99.5%Language:Handlebars 0.3%Language:Shell 0.1%Language:Dockerfile 0.0%