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

Latest commit

 

History

History
57 lines (49 loc) · 2.61 KB

README.md

File metadata and controls

57 lines (49 loc) · 2.61 KB

Darwinia Parachain

License Checks Release Quay.io GitHub code lines GitHub last commit

This repo contains runitmes for darwinia-parachain, crab-parachain, pangolin-parachain.

Installation

Download the Pre-built Binary

GitHub Release page

Build from Source

Follow the Substrate official installation instructions to install the dependencies first.

git clone https://github.com/darwinia-network/darwinia-parachain.git
cd darwinia-parachain
git checkout <TAG>
cargo build --release

Connect to live networks

  • Connect to the global Darwinia Parachain mainnet
    ./target/release/darwinia-parachain
  • Connect to the global Crab Parachain mainnet (canary network of Darwinia Parachain)
    ./target/release/darwinia-parachain --chain crab-parachain
  • Connect to the global Pangolin Parachain testnet
    ./target/release/darwinia-parachain --chain pangolin-parachain

Run local testnet with parachain-launch

  1. Install the package globally
    yarn global add @open-web3/parachain-launch
  2. Generate docker compose files
    git clone https://github.com/darwinia-network/darwinia-parachain.git
    cd darwinia-parachain
    parachain-launch generate --config .maintain/config.yml --yes
    This command will pull images and generate required docker compose files in a folder called output in your current working directory.
  3. Start relaychain and parachain
    cd ./output # OR custom output directory
    
    docker-compose up -d --build