Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m13s
CI/CD Pipeline / Security Scanning (push) Successful in 2m30s
CI/CD Pipeline / Lint and Format (push) Failing after 45s
CI/CD Pipeline / Terraform Validation (push) Failing after 26s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 28s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 39s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 21s
Validation / validate-genesis (push) Successful in 30s
Validation / validate-terraform (push) Failing after 25s
Validation / validate-kubernetes (push) Failing after 13s
Validation / validate-smart-contracts (push) Failing after 16s
Validation / validate-security (push) Failing after 1m28s
Validation / validate-documentation (push) Failing after 19s
Verify Deployment / Verify Deployment (push) Failing after 53s
Ship Z Chain slot, International Z Wallet routes, in-app Z Bot APIs, Besu bootstrap, and local/production deployment tooling for digital.omdnl.org. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
695 B
Bash
24 lines
695 B
Bash
#!/usr/bin/env bash
|
|
# Deploy Z Chain contracts (cUSDC + AccountWalletRegistry) on chainId 900002.
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
|
cd "$ROOT"
|
|
|
|
RPC="${CHAIN_900002_RPC_URL:-http://127.0.0.1:8546}"
|
|
|
|
if [[ -z "${PRIVATE_KEY:-}" ]]; then
|
|
echo "ERROR: set PRIVATE_KEY (Besu dev key #1 works for local bootstrap)"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Deploying to Z Chain at $RPC ..."
|
|
forge script script/z-chain/DeployZChainEmoney.s.sol:DeployZChainEmoney \
|
|
--rpc-url "$RPC" \
|
|
--chain-id 900002 \
|
|
--broadcast \
|
|
--profile zchain
|
|
|
|
echo "Done. Copy deployed addresses into config/z-chain-deployed.v1.json"
|
|
echo "Or run: node scripts/deployment/sync-z-chain-deployed-addresses.mjs"
|