Files
smom-dbis-138/scripts/deployment/bootstrap-z-chain-anvil.sh
zaragoza444 e35ad9047c
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
feat: add Z Chain 900002 ecosystem with wallet, Z Bot, and deploy scripts
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>
2026-07-06 05:25:10 -07:00

17 lines
584 B
Bash

#!/usr/bin/env bash
# Local Z Chain without Docker — Anvil (chainId 900002) for contract deploy / wallet dev.
set -euo pipefail
RPC_PORT="${Z_CHAIN_RPC_PORT:-8546}"
CHAIN_ID=900002
if ! command -v anvil &>/dev/null; then
echo "ERROR: install Foundry (anvil) — https://book.getfoundry.sh/getting-started/installation"
exit 1
fi
echo "Starting Anvil as Z Chain on http://127.0.0.1:$RPC_PORT (chainId $CHAIN_ID)"
echo "Account #0 private key is printed by Anvil — use as PRIVATE_KEY for deploy."
echo ""
exec anvil --chain-id "$CHAIN_ID" --port "$RPC_PORT" --host 127.0.0.1