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:
19
scripts/wormhole/install-ntt-cli.sh
Normal file
19
scripts/wormhole/install-ntt-cli.sh
Normal 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)"
|
||||
Reference in New Issue
Block a user