This repo contains runitmes for darwinia-parachain, crab-parachain, pangolin-parachain.
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 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
- Install the package globally
yarn global add @open-web3/parachain-launch
- Generate docker compose files
This command will pull images and generate required docker compose files in a folder called
git clone https://github.com/darwinia-network/darwinia-parachain.git cd darwinia-parachain parachain-launch generate --config .maintain/config.yml --yes
output
in your current working directory. - Start relaychain and parachain
cd ./output # OR custom output directory docker-compose up -d --build