Sync workspace: config, docs, scripts, CI, operator rules, and submodule pointers.

- Update dbis_core, cross-chain-pmm-lps, explorer-monorepo, metamask-integration, pr-workspace/chains
- Omit embedded publish git dirs and empty placeholders from index

Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-12 06:12:20 -07:00
parent 6fb6bd3993
commit dbd517b279
2935 changed files with 327972 additions and 5533 deletions

View File

@@ -0,0 +1,39 @@
#!/usr/bin/env bash
set -euo pipefail
PROJECT_DIR="${WORMHOLE_NTT_PROJECT_DIR:-$HOME/wormhole-ntt-mainnet}"
ENVIRONMENT="${WORMHOLE_ENVIRONMENT:-Mainnet}"
EXAMPLE_ROOT="${WORMHOLE_EXAMPLE_ROOT:-/opt/op-stack-bootstrap}"
if [[ ! -d "$EXAMPLE_ROOT/config/wormhole" ]]; then
EXAMPLE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
fi
export BUN_INSTALL="${BUN_INSTALL:-$HOME/.bun}"
export PATH="$BUN_INSTALL/bin:$PATH"
if ! command -v ntt >/dev/null 2>&1; then
echo "ERROR: ntt CLI not installed. Run scripts/wormhole/install-ntt-cli.sh first." >&2
exit 1
fi
if [[ ! -d "$PROJECT_DIR" ]]; then
ntt new "$PROJECT_DIR"
fi
cd "$PROJECT_DIR"
if [[ ! -f deployment.json ]]; then
ntt init "$ENVIRONMENT"
fi
if [[ ! -f .env.example ]]; then
cp "$EXAMPLE_ROOT/config/wormhole/ntt-operator.example.env" .env.example
fi
if [[ ! -f deployment.example.json ]]; then
cp "$EXAMPLE_ROOT/config/wormhole/ntt-deployment.example.json" deployment.example.json
fi
echo "Bootstrapped Wormhole NTT project at $PROJECT_DIR"
echo " deployment.json: $(pwd)/deployment.json"
echo " .env.example: $(pwd)/.env.example"

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
BUN_VERSION="${BUN_VERSION:-bun-v1.2.23}"
export BUN_INSTALL="${BUN_INSTALL:-$HOME/.bun}"
export PATH="$BUN_INSTALL/bin:$PATH"
if ! command -v bun >/dev/null 2>&1; then
curl -fsSL https://bun.sh/install | bash -s -- "$BUN_VERSION"
fi
export PATH="$BUN_INSTALL/bin:$PATH"
if ! command -v ntt >/dev/null 2>&1; then
curl -fsSL https://raw.githubusercontent.com/wormhole-foundation/native-token-transfers/main/cli/install.sh | bash
fi
echo "bun: $(bun --version)"
echo "ntt: $(ntt --version)"