Files
smom-dbis-138/scripts/deployment/seed-chain138-uni-v2-weth-quote-pairs.sh

12 lines
477 B
Bash
Executable File

#!/usr/bin/env bash
# Seed Uniswap V2 pools on Chain 138: each canonical asset vs WETH (see script header).
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
cd "$ROOT"
if [[ -f scripts/load-env.sh ]]; then
# shellcheck source=/dev/null
source scripts/load-env.sh
fi
export CHAIN138_RPC_URL="${CHAIN138_RPC_URL:-${RPC_URL_138:-http://192.168.11.211:8545}}"
exec npx hardhat run scripts/chain138/seed-uni-v2-weth-quote-pairs.js --network chain138