#!/usr/bin/env bash set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)" SRC_DIR="$REPO_ROOT/docs/04-configuration/pr-ready" PKG_DIR="$SRC_DIR/eip155-138-package" mkdir -p "$PKG_DIR" cp "$SRC_DIR/eip155-138.json" "$PKG_DIR/eip155-138.chainlist.json" cp "$SRC_DIR/trust-wallet-registry-chain138.json" "$PKG_DIR/trust-wallet-registry-chain138.json" if command -v jq >/dev/null 2>&1; then jq empty "$PKG_DIR/eip155-138.chainlist.json" >/dev/null jq empty "$PKG_DIR/trust-wallet-registry-chain138.json" >/dev/null jq empty "$PKG_DIR/manifest.json" >/dev/null fi echo "Wrote package to $PKG_DIR"