yet-another-parachain-runtime 0.13.0

Simple runtime used by the testing parachain(s)
docs.rs failed to build yet-another-parachain-runtime-0.13.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: yet-another-parachain-runtime-0.12.0

Yet Another Parachain (YAP) Runtime

A parachain runtime used for testing purposes.

Features

  • fast-runtime - Faster block times for testing
  • runtime-benchmarks - Enable runtime benchmarking

Running with polkadot-omni-node locally and 500ms blocks

Build

# From the polkadot-sdk root directory

# 1. Build the YAP runtime
cargo build --release -p yet-another-parachain-runtime

# 2. Build polkadot-omni-node
cargo build --release -p polkadot-omni-node

Generate Chain Spec

Available presets: development, local_testnet

# Generate chain spec using the development preset
./target/release/polkadot-omni-node chain-spec-builder \
  --chain-spec-path yap-dev-spec.json \
  create \
  --chain-name "YAP Development" \
  --chain-id yap-dev \
  --relay-chain "rococo-local" \
  -t development \
  --runtime ./target/release/wbuild/yet-another-parachain-runtime/yet_another_parachain_runtime.wasm \
  named-preset development

Run the Node

./target/release/polkadot-omni-node \
  --chain yap-dev-spec.json \
  --dev --dev-block-time 500\
  --tmp

Connecting to the Node

Once running, you can connect to the node using: