Files
proxmox/scripts/verify/build-chain138-pr-ready-package.sh
defiQUG 4fab998e51
All checks were successful
Deploy to Phoenix / deploy (push) Successful in 9s
chore: sync workspace docs, configs, and submodules
2026-04-18 12:07:15 -07:00

21 lines
671 B
Bash

#!/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"