{"success":true,"data":{"version":1,"network":"mainnet","generatedAt":"2026-11-19T19:10:54.740Z","snapshot":{"url":"https://download.xinfin.network/xdcchain.tar","status":"unreachable","lastModifiedAt":null,"ageSeconds":null,"sizeBytes":null,"checkedAt":"2026-11-19T18:42:17.360Z"},"steps":["Stop the XDC node if it is running.","Download the official mainnet snapshot.","Extract the archive into the node data directory (XDC_DATADIR).","Start the node — it syncs from the snapshot block onward."],"script":"#!/usr/bin/env bash\n# XDC mainnet bootstrap bundle — generated by XDC SkyNet (#735)\n# Downloads the official mainnet snapshot and extracts it into the node\n# data directory. Override the target with XDC_DATADIR=/path/to/datadir.\nset -euo pipefail\n\nNETWORK=\"mainnet\"\nSNAPSHOT_URL=\"https://download.xinfin.network/xdcchain.tar\"\nDATADIR=\"${XDC_DATADIR:-$HOME/.XDC/$NETWORK}\"\n\ncommand -v curl >/dev/null 2>&1 || { echo \"curl is required\" >&2; exit 1; }\ncommand -v tar  >/dev/null 2>&1 || { echo \"tar is required\" >&2; exit 1; }\n\necho \"==> Stop the XDC node first (docker compose stop / systemctl stop xdc)\"\nmkdir -p \"$DATADIR\"\nWORKDIR=\"$(mktemp -d)\"\ntrap 'rm -rf \"$WORKDIR\"' EXIT\n\necho \"==> Downloading $SNAPSHOT_URL\"\ncurl -fL --retry 3 -o \"$WORKDIR/snapshot.tar\" \"$SNAPSHOT_URL\"\n\necho \"==> Extracting into $DATADIR\"\ntar -xf \"$WORKDIR/snapshot.tar\" -C \"$DATADIR\"\n\necho \"==> Done. Start the node; it will sync from the snapshot block onward.\"\n"}}