- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
367 lines
34 KiB
Markdown
367 lines
34 KiB
Markdown
# Scripts Index
|
|
|
|
Generated: 2025-11-16T00:03:41-08:00
|
|
|
|
## assets
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| create-diagram-stencil.sh | ``scripts/assets/create-diagram-stencil.sh`` | No | No | Create Draw.io Stencil for Azure Icons |
|
|
| download-azure-icons.sh | ``scripts/assets/download-azure-icons.sh`` | No | No | Download Azure Architecture Icons |
|
|
| setup-assets.sh | ``scripts/assets/setup-assets.sh`` | No | No | Setup Assets Directory |
|
|
|
|
## automation
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| adopt-lib-top.sh | ``scripts/automation/adopt-lib-top.sh`` | No | No | Adopt common library in top-N legacy scripts (no lib sourcing yet) |
|
|
| cleanup-color-vars.sh | ``scripts/automation/cleanup-color-vars.sh`` | No | No | Remove color variable definitions from scripts that already source lib/init.sh |
|
|
| cleanup-manual-az.sh | ``scripts/automation/cleanup-manual-az.sh`` | No | No | Remove legacy Azure CLI checks from scripts that already source lib/init.sh and call ensure_azure_cli |
|
|
| create-deployment-checklist.sh | ``scripts/automation/create-deployment-checklist.sh`` | No | No | Create deployment checklist based on current status |
|
|
| fix-hardhat-deps.sh | ``scripts/automation/fix-hardhat-deps.sh`` | No | No | Fix Hardhat dependency resolution |
|
|
| fix-script-errors.sh | ``scripts/automation/fix-script-errors.sh`` | No | No | Fix identified script syntax errors |
|
|
| generate-commands-index.sh | ``scripts/automation/generate-commands-index.sh`` | Yes | Yes | Generate a command registry index at docs/COMMANDS_INDEX.md |
|
|
| generate-docs-index.sh | ``scripts/automation/generate-docs-index.sh`` | No | No | Generate docs indices for scripts and tags |
|
|
| generate-script-docs.sh | ``scripts/automation/generate-script-docs.sh`` | Yes | No | Generate per-script documentation pages in docs/scripts/ |
|
|
| generate-scripts-incubator.sh | ``scripts/automation/generate-scripts-incubator.sh`` | No | No | Generate scripts inventory and command index (local-only) |
|
|
| generate-scripts-inventory.sh | ``scripts/automation/generate-scripts-inventory.sh`` | No | No | Generate scripts inventory and command index (local-only) |
|
|
| measure-startup.sh | ``scripts/automation/measure-startup.sh`` | Yes | No | Measure startup time for common library sourcing and representative scripts |
|
|
| prepare-deployment.sh | ``scripts/automation/prepare-deployment.sh`` | No | No | Prepare for deployment - check all prerequisites |
|
|
| run-all-automated-tasks.sh | ``scripts/automation/run-all-automated-tasks.sh`` | No | No | Master script to run all automated tasks in parallel |
|
|
| run-tests-parallel.sh | ``scripts/automation/run-tests-parallel.sh`` | No | No | Run all tests in parallel |
|
|
| scope-review.sh | ``scripts/automation/scope-review.sh`` | No | No | Project Scope Review - Check for scope creep |
|
|
| validate-all-scripts.sh | ``scripts/automation/validate-all-scripts.sh`` | No | No | Validate all deployment and automation scripts |
|
|
| validate-scripts.sh | ``scripts/automation/validate-scripts.sh`` | No | No | Validate all shell scripts locally (no git/network). Produces docs/SCRIPTS_QA_REPORT.md |
|
|
|
|
## azure
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| analyze-deployment-failures.sh | ``scripts/azure/analyze-deployment-failures.sh`` | No | No | Comprehensive Azure deployment failure analysis |
|
|
| analyze-quotas.sh | ``scripts/azure/analyze-quotas.sh`` | No | No | Analyze all quotas and find optimal VM sizes |
|
|
| check-ai-ml-providers.sh | ``scripts/azure/check-ai-ml-providers.sh`` | No | No | Check AI, ML, OpenAI, and related Resource Providers and Preview Features |
|
|
| check-and-continue.sh | ``scripts/azure/check-and-continue.sh`` | No | No | Continuously check status and continue with next steps |
|
|
| check-azure-prerequisites.sh | ``scripts/azure/check-azure-prerequisites.sh`` | No | No | Check Azure Prerequisites: Regions, Resource Providers, and Quotas |
|
|
| check-naming-conventions.sh | ``scripts/azure/check-naming-conventions.sh`` | Yes | No | Audit Azure resource naming conventions and categorize standard vs legacy vs non-standard |
|
|
| check-quotas.sh | ``scripts/azure/check-quotas.sh`` | No | No | Check Azure Quotas for specific region |
|
|
| continue-fix-if-needed.sh | ``scripts/azure/continue-fix-if-needed.sh`` | No | No | Continue fix if script didn't complete all steps |
|
|
| delete-all-problematic-clusters-parallel.sh | ``scripts/azure/delete-all-problematic-clusters-parallel.sh`` | No | No | Delete all failed and canceled clusters in parallel |
|
|
| fix-deployment-issues.sh | ``scripts/azure/fix-deployment-issues.sh`` | No | No | Comprehensive fix for deployment issues |
|
|
| fix-resource-group-naming.sh | ``scripts/azure/fix-resource-group-naming.sh`` | No | No | Fix Resource Group Naming Conventions |
|
|
| get-all-region-quotas.sh | ``scripts/azure/get-all-region-quotas.sh`` | No | No | Get vCPU quotas for all non-US commercial Azure regions |
|
|
| get-available-regions.sh | ``scripts/azure/get-available-regions.sh`` | No | No | Get available Azure regions for this subscription |
|
|
| list-all-resources.sh | ``scripts/azure/list-all-resources.sh`` | Yes | No | List all Azure resources by type and resource group, with Key Vault & AKS detail |
|
|
| monitor-fix-progress.sh | ``scripts/azure/monitor-fix-progress.sh`` | No | No | Monitor fix progress and continue if needed |
|
|
| standardize-resource-groups.sh | ``scripts/azure/standardize-resource-groups.sh`` | No | No | Standardize Resource Group Naming |
|
|
| wait-and-redeploy.sh | ``scripts/azure/wait-and-redeploy.sh`` | No | No | Wait for deletions to complete, then redeploy with Terraform |
|
|
|
|
## backup
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| backup-chaindata.sh | ``scripts/backup/backup-chaindata.sh`` | No | No | Backup chaindata script for Besu nodes |
|
|
| restore-chaindata.sh | ``scripts/backup/restore-chaindata.sh`` | No | No | Restore chaindata script for Besu nodes |
|
|
|
|
## ccip
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| ccip-configure-destination.sh | ``scripts/ccip/ccip-configure-destination.sh`` | Yes | Yes | Add/update/remove destination chain mappings on CCIP WETH bridges |
|
|
| ccip-estimate-fee.sh | ``scripts/ccip/ccip-estimate-fee.sh`` | Yes | No | Estimate CCIP fee for a WETH bridge to a destination chain |
|
|
| ccip-send.sh | ``scripts/ccip/ccip-send.sh`` | Yes | Yes | Approve fee/token and call sendCrossChain for WETH bridge |
|
|
| ccip-status.sh | ``scripts/ccip/ccip-status.sh`` | Yes | No | Display CCIP WETH bridge configuration and status |
|
|
|
|
## ccip-deployment
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| deploy-all-ccip-mainnet.sh | ``scripts/ccip-deployment/deploy-all-ccip-mainnet.sh`` | No | No | Deploy all CCIP contracts to Ethereum Mainnet |
|
|
|
|
## configure-network-advanced.sh
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| configure-network-advanced.sh | ``scripts/configure-network-advanced.sh`` | No | No | Wrapper script for configure-network-advanced.py |
|
|
|
|
## configure-network-test.sh
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| configure-network-test.sh | ``scripts/configure-network-test.sh`` | No | No | Test script for configuration tool |
|
|
|
|
## configure-network.sh
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| configure-network.sh | ``scripts/configure-network.sh`` | No | No | Wrapper script for configure-network.py |
|
|
|
|
## deployment
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| add-cloudflare-env.sh | ``scripts/deployment/add-cloudflare-env.sh`` | No | No | Add Cloudflare credentials to .env file |
|
|
| apply-cloud-sovereignty.sh | ``scripts/deployment/apply-cloud-sovereignty.sh`` | No | No | Apply Cloud for Sovereignty Landing Zone Deployment |
|
|
| azure-login.sh | ``scripts/deployment/azure-login.sh`` | No | No | Azure Login Helper Script |
|
|
| begin-infrastructure-deployment.sh | ``scripts/deployment/begin-infrastructure-deployment.sh`` | No | No | Begin Chain-138 Infrastructure Deployment |
|
|
| calculate-costs-consolidated.sh | ``scripts/deployment/calculate-costs-consolidated.sh`` | Yes | Yes | Calculate deployment costs using costs.sh (supports JSON and text outputs) |
|
|
| check-all-deployment-sources.sh | ``scripts/deployment/check-all-deployment-sources.sh`` | No | No | Check all possible sources for deployment addresses |
|
|
| check-and-proceed.sh | ``scripts/deployment/check-and-proceed.sh`` | No | No | Check infrastructure status and proceed with next steps if ready |
|
|
| check-deployment-status.sh | ``scripts/deployment/check-deployment-status.sh`` | No | No | Check Deployment Status |
|
|
| check-existing-deployments.sh | ``scripts/deployment/check-existing-deployments.sh`` | No | No | Check for existing contract deployments on Ethereum Mainnet and Chain-138 |
|
|
| check-infrastructure-status.sh | ``scripts/deployment/check-infrastructure-status.sh`` | No | No | Check Infrastructure Deployment Status |
|
|
| check-mainnet-balances.sh | ``scripts/deployment/check-mainnet-balances.sh`` | No | No | Check Mainnet ETH and LINK balances for deployment |
|
|
| check-mainnet-deployment-status.sh | ``scripts/deployment/check-mainnet-deployment-status.sh`` | No | No | Check what contracts need Mainnet deployment and their dependencies |
|
|
| check-rpc-status.sh | ``scripts/deployment/check-rpc-status.sh`` | No | No | Check RPC Status for Chain ID 138 |
|
|
| check-terraform-status.sh | ``scripts/deployment/check-terraform-status.sh`` | No | No | Quick Terraform status checker |
|
|
| check-wallet-balances.sh | ``scripts/deployment/check-wallet-balances.sh`` | No | No | Pre-deployment wallet balance checker |
|
|
| cloudflare-dns.sh | ``scripts/deployment/cloudflare-dns.sh`` | No | No | Cloudflare DNS Configuration Script |
|
|
| compile-test-mainnet-contracts.sh | ``scripts/deployment/compile-test-mainnet-contracts.sh`` | No | No | Compile and test all Mainnet contracts |
|
|
| complete-all-deployment.sh | ``scripts/deployment/complete-all-deployment.sh`` | No | No | Phase 1: Key Vaults |
|
|
| complete-all-next-steps.sh | ``scripts/deployment/complete-all-next-steps.sh`` | No | No | Complete All Next Steps - Chain-138 and Cloud for Sovereignty |
|
|
| complete-all-phases-parallel.sh | ``scripts/deployment/complete-all-phases-parallel.sh`` | No | No | Complete All Phases - Full Parallel Execution |
|
|
| complete-all-tasks.sh | ``scripts/deployment/complete-all-tasks.sh`` | No | No | Complete all remaining tasks |
|
|
| complete-infrastructure-deployment.sh | ``scripts/deployment/complete-infrastructure-deployment.sh`` | No | No | Complete Chain-138 Infrastructure Deployment |
|
|
| complete-phase2.sh | ``scripts/deployment/complete-phase2.sh`` | No | No | Complete Phase 2: Foundation Infrastructure |
|
|
| configure-bridge-destinations.sh | ``scripts/deployment/configure-bridge-destinations.sh`` | No | No | Configure bridge destinations for cross-chain functionality |
|
|
| configure-weth10-bridge.sh | ``scripts/deployment/configure-weth10-bridge.sh`` | No | No | Configure CCIPWETH10Bridge destinations |
|
|
| configure-weth9-bridge.sh | ``scripts/deployment/configure-weth9-bridge.sh`` | No | No | Configure CCIPWETH9Bridge destinations |
|
|
| continue-infrastructure-deployment.sh | ``scripts/deployment/continue-infrastructure-deployment.sh`` | No | No | Continue Chain-138 Infrastructure Deployment |
|
|
| create-terraform-backend.sh | ``scripts/deployment/create-terraform-backend.sh`` | No | No | Create Terraform Backend Storage Account |
|
|
| cross-check-chain138.sh | ``scripts/deployment/cross-check-chain138.sh`` | No | No | Cross-check Chain-138 deployment across all components |
|
|
| delete-bad-clusters.sh | ``scripts/deployment/delete-bad-clusters.sh`` | No | No | Delete failed and canceled clusters so they can be recreated properly |
|
|
| deploy-36-region-infrastructure.sh | ``scripts/deployment/deploy-36-region-infrastructure.sh`` | No | No | Deploy 36-Region Cloud for Sovereignty Infrastructure |
|
|
| deploy-all-mainnet.sh | ``scripts/deployment/deploy-all-mainnet.sh`` | No | No | Comprehensive Mainnet deployment script |
|
|
| deploy-all-ordered.sh | ``scripts/deployment/deploy-all-ordered.sh`` | No | Yes | Deploy All Contracts in Proper Order |
|
|
| deploy-all-phases.sh | ``scripts/deployment/deploy-all-phases.sh`` | No | No | Master deployment script for Chain-138 multi-region network |
|
|
| deploy-all.sh | ``scripts/deployment/deploy-all.sh`` | Yes | No | Deploy All - Complete deployment automation for ChainID 138 |
|
|
| deploy-bridges-chain138.sh | ``scripts/deployment/deploy-bridges-chain138.sh`` | No | No | Deploy bridges on Chain-138 |
|
|
| deploy-bridges-mainnet.sh | ``scripts/deployment/deploy-bridges-mainnet.sh`` | No | No | Deploy CCIP WETH Bridges on Ethereum Mainnet |
|
|
| deploy-cacti.sh | ``scripts/deployment/deploy-cacti.sh`` | No | No | Deploy Hyperledger Cacti |
|
|
| deploy-ccip-router.sh | ``scripts/deployment/deploy-ccip-router.sh`` | No | Yes | Deploy CCIP Router Contract |
|
|
| deploy-ccip-weth10-bridge.sh | ``scripts/deployment/deploy-ccip-weth10-bridge.sh`` | No | No | Deploy CCIPWETH10Bridge to ChainID 138 |
|
|
| deploy-ccip-weth9-bridge.sh | ``scripts/deployment/deploy-ccip-weth9-bridge.sh`` | No | No | Deploy CCIPWETH9Bridge to ChainID 138 |
|
|
| deploy-chain138-complete.sh | ``scripts/deployment/deploy-chain138-complete.sh`` | No | No | Complete Chain-138 deployment script |
|
|
| deploy-chain138-infrastructure.sh | ``scripts/deployment/deploy-chain138-infrastructure.sh`` | No | No | Deploy Chain-138 Infrastructure |
|
|
| deploy-cloud-sovereignty-auto.sh | ``scripts/deployment/deploy-cloud-sovereignty-auto.sh`` | No | No | Automated Cloud for Sovereignty Landing Zone Deployment |
|
|
| deploy-cloud-sovereignty-foundation.sh | ``scripts/deployment/deploy-cloud-sovereignty-foundation.sh`` | No | No | Deploy Cloud for Sovereignty Landing Zone Foundation |
|
|
| deploy-contracts-ordered.sh | ``scripts/deployment/deploy-contracts-ordered.sh`` | No | Yes | Deploy Contracts in Proper Order |
|
|
| deploy-firefly.sh | ``scripts/deployment/deploy-firefly.sh`` | No | No | Deploy Hyperledger Firefly |
|
|
| deploy-infrastructure-all-phases.sh | ``scripts/deployment/deploy-infrastructure-all-phases.sh`` | No | No | Deploy All Infrastructure Phases |
|
|
| deploy-infrastructure-phase1.sh | ``scripts/deployment/deploy-infrastructure-phase1.sh`` | No | No | Phase 1: Deploy Azure Infrastructure |
|
|
| deploy-infrastructure-phase2.sh | ``scripts/deployment/deploy-infrastructure-phase2.sh`` | No | No | Phase 2: Deploy Kubernetes Resources |
|
|
| deploy-infrastructure-phase3.sh | ``scripts/deployment/deploy-infrastructure-phase3.sh`` | No | No | Phase 3: Deploy Besu Network |
|
|
| deploy-infrastructure-phase4.sh | ``scripts/deployment/deploy-infrastructure-phase4.sh`` | No | No | Phase 4: Deploy Monitoring and Explorer |
|
|
| deploy-keyvaults-only.sh | ``scripts/deployment/deploy-keyvaults-only.sh`` | No | No | Check if terraform.tfvars.36regions exists |
|
|
| deploy-multicall.sh | ``scripts/deployment/deploy-multicall.sh`` | No | No | Deploy Multicall contract to ChainID 138 |
|
|
| deploy-multisig.sh | ``scripts/deployment/deploy-multisig.sh`` | No | No | Deploy multi-sig wallet for admin operations |
|
|
| deploy-parallel-consolidated.sh | ``scripts/deployment/deploy-parallel-consolidated.sh`` | Yes | Yes | Unified parallel deployment runner for infra/k8s/besu/contracts/verify |
|
|
| deploy-phase1.sh | ``scripts/deployment/deploy-phase1.sh`` | No | No | Phase 1: Prerequisites & Setup - Complete automation |
|
|
| deploy-phase2.sh | ``scripts/deployment/deploy-phase2.sh`` | No | No | Phase 2: Foundation Infrastructure - Terraform Setup |
|
|
| deploy-tokenization-service.sh | ``scripts/deployment/deploy-tokenization-service.sh`` | No | No | Deploy Financial Tokenization Service |
|
|
| deploy-weth-with-ccip.sh | ``scripts/deployment/deploy-weth-with-ccip.sh`` | No | No | Deploy all WETH contracts (WETH9, WETH10) and CCIP bridges to ChainID 138 |
|
|
| deploy-weth.sh | ``scripts/deployment/deploy-weth.sh`` | No | No | Deploy WETH contract to ChainID 138 |
|
|
| deploy-weth10.sh | ``scripts/deployment/deploy-weth10.sh`` | No | No | Deploy WETH10 contract to ChainID 138 |
|
|
| deploy-without-quota.sh | ``scripts/deployment/deploy-without-quota.sh`` | No | No | Deploy resources that don't require additional vCPUs |
|
|
| deployment-readiness-report.sh | ``scripts/deployment/deployment-readiness-report.sh`` | No | No | Comprehensive deployment readiness report |
|
|
| dry-run-mainnet-deployment.sh | ``scripts/deployment/dry-run-mainnet-deployment.sh`` | No | No | End-to-end dry-run for Ethereum Mainnet deployment |
|
|
| execute-all-phases.sh | ``scripts/deployment/execute-all-phases.sh`` | No | No | Phase 1: Key Vault Deployment |
|
|
| execute-bridge-config.sh | ``scripts/deployment/execute-bridge-config.sh`` | No | No | Execute bridge destination configuration |
|
|
| execute-cross-chain-test.sh | ``scripts/deployment/execute-cross-chain-test.sh`` | No | No | Execute cross-chain transfer test |
|
|
| execute-infrastructure-deployment.sh | ``scripts/deployment/execute-infrastructure-deployment.sh`` | No | No | Execute Chain-138 Infrastructure Deployment |
|
|
| extract-contract-address.sh | ``scripts/deployment/extract-contract-address.sh`` | No | No | Extract Contract Address from Forge Deployment |
|
|
| final-mainnet-deployment-report.sh | ``scripts/deployment/final-mainnet-deployment-report.sh`` | No | No | Final comprehensive Mainnet deployment report |
|
|
| fix-aks-deployment.sh | ``scripts/deployment/fix-aks-deployment.sh`` | No | No | Fix AKS Deployment Issues |
|
|
| fix-cluster-state.sh | ``scripts/deployment/fix-cluster-state.sh`` | No | No | Fix cluster state by deleting failed/canceled clusters and recreating them |
|
|
| fix-configuration-issues.sh | ``scripts/deployment/fix-configuration-issues.sh`` | No | No | Fix Configuration Issues |
|
|
| fix-resource-groups-and-keyvaults.sh | ``scripts/deployment/fix-resource-groups-and-keyvaults.sh`` | No | No | Fix Resource Groups and Key Vaults |
|
|
| force-unlock-terraform.sh | ``scripts/deployment/force-unlock-terraform.sh`` | No | No | Force unlock Terraform state (use only if process is stuck) |
|
|
| generate-deployment-status-report.sh | ``scripts/deployment/generate-deployment-status-report.sh`` | No | No | Generate comprehensive deployment status report |
|
|
| generate-genesis-with-validators.sh | ``scripts/deployment/generate-genesis-with-validators.sh`` | No | No | Generate Genesis with Validator Addresses for QBFT 2.0 |
|
|
| generate-mainnet-deployment-plan.sh | ``scripts/deployment/generate-mainnet-deployment-plan.sh`` | No | No | Generate comprehensive Mainnet deployment plan |
|
|
| generate-prioritized-deployment-plan.sh | ``scripts/deployment/generate-prioritized-deployment-plan.sh`` | No | No | Generate prioritized deployment plan based on wallet balance |
|
|
| generate-static-nodes.sh | ``scripts/deployment/generate-static-nodes.sh`` | No | No | Generate static-nodes.json from deployed node information |
|
|
| get-app-gateway-ip.sh | ``scripts/deployment/get-app-gateway-ip.sh`` | No | No | Get Application Gateway IP |
|
|
| get-env-values.sh | ``scripts/deployment/get-env-values.sh`` | No | No | Get environment variable values from Azure CLI |
|
|
| get-wallet-address.sh | ``scripts/deployment/get-wallet-address.sh`` | No | No | Get wallet address from private key in .env file |
|
|
| import-all-resources.sh | ``scripts/deployment/import-all-resources.sh`` | Yes | Yes | Import existing Azure resources into state; supports old/new region codes |
|
|
| import-existing-clusters.sh | ``scripts/deployment/import-existing-clusters.sh`` | No | No | Import existing AKS clusters into Terraform state |
|
|
| init-terraform.sh | ``scripts/deployment/init-terraform.sh`` | No | No | Initialize Terraform with proper backend configuration |
|
|
| list-mainnet-contracts.sh | ``scripts/deployment/list-mainnet-contracts.sh`` | No | No | List all smart contracts that need Ethereum Mainnet deployment |
|
|
| list-remaining-mainnet-contracts.sh | ``scripts/deployment/list-remaining-mainnet-contracts.sh`` | No | No | List all remaining smart contracts that need Mainnet deployment |
|
|
| monitor-deployment-consolidated.sh | ``scripts/deployment/monitor-deployment-consolidated.sh`` | Yes | No | Unified deployment monitoring tool supporting modes: status continuous live complete fix dashboard |
|
|
| next-steps-summary.sh | ``scripts/deployment/next-steps-summary.sh`` | No | No | Summary of all next steps for deployment |
|
|
| parse-deployment-output.sh | ``scripts/deployment/parse-deployment-output.sh`` | No | No | Parse Deployment Output |
|
|
| populate-env.sh | ``scripts/deployment/populate-env.sh`` | Yes | No | Populate .env with Azure & Cloudflare values; prompts and checks prerequisites |
|
|
| prepare-all-phases.sh | ``scripts/deployment/prepare-all-phases.sh`` | No | No | Prepare All Deployment Phases |
|
|
| prioritize-mainnet-deployments.sh | ``scripts/deployment/prioritize-mainnet-deployments.sh`` | No | No | Prioritize Mainnet deployments based on wallet balance |
|
|
| resolve-aks-issue.sh | ``scripts/deployment/resolve-aks-issue.sh`` | No | No | Resolve AKS Deployment Issue |
|
|
| run-all-next-steps.sh | ``scripts/deployment/run-all-next-steps.sh`` | No | No | Run all next steps after infrastructure deployment |
|
|
| run-all-tests.sh | ``scripts/deployment/run-all-tests.sh`` | No | No | Run all deployment tests |
|
|
| run-next-steps-with-available.sh | ``scripts/deployment/run-next-steps-with-available.sh`` | No | No | Run next steps with available infrastructure (even if not all clusters ready) |
|
|
| setup-chain138-env.sh | ``scripts/deployment/setup-chain138-env.sh`` | No | No | Setup Chain-138 environment configuration |
|
|
| setup-monitoring-complete.sh | ``scripts/deployment/setup-monitoring-complete.sh`` | No | No | Complete monitoring setup |
|
|
| setup-monitoring.sh | ``scripts/deployment/setup-monitoring.sh`` | No | No | Set up monitoring and alerting for deployed contracts |
|
|
| setup-terraform-backend.sh | ``scripts/deployment/setup-terraform-backend.sh`` | No | No | Setup Terraform Backend Storage Account |
|
|
| start-local-testnet.sh | ``scripts/deployment/start-local-testnet.sh`` | No | No | Start Local Anvil Testnet |
|
|
| start-stopped-clusters.sh | ``scripts/deployment/start-stopped-clusters.sh`` | No | No | Start all stopped AKS clusters |
|
|
| submit-ethereum-lists-pr.sh | ``scripts/deployment/submit-ethereum-lists-pr.sh`` | No | No | Submit Ethereum Lists PR Script |
|
|
| submit-token-list.sh | ``scripts/deployment/submit-token-list.sh`` | No | No | Submit Token List Script |
|
|
| test-cross-chain.sh | ``scripts/deployment/test-cross-chain.sh`` | No | No | Test cross-chain WETH transfers |
|
|
| update-rpc-security.sh | ``scripts/deployment/update-rpc-security.sh`` | No | No | Update RPC Security Configuration |
|
|
| update-token-list.sh | ``scripts/deployment/update-token-list.sh`` | No | No | Update Token List Script |
|
|
| validate-deployment-config.sh | ``scripts/deployment/validate-deployment-config.sh`` | No | No | Validate Deployment Configuration |
|
|
| verify-36-region-clusters.sh | ``scripts/deployment/verify-36-region-clusters.sh`` | No | No | Verify 36-Region AKS Clusters Status |
|
|
| verify-chain138-complete.sh | ``scripts/deployment/verify-chain138-complete.sh`` | No | No | Complete Chain-138 verification - runs all checks |
|
|
| verify-chain138-full-deployment.sh | ``scripts/deployment/verify-chain138-full-deployment.sh`` | No | No | Comprehensive Chain-138 deployment verification |
|
|
| verify-chain138-services.sh | ``scripts/deployment/verify-chain138-services.sh`` | No | No | Verify all Chain-138 services |
|
|
| verify-contract-etherscan.sh | ``scripts/deployment/verify-contract-etherscan.sh`` | No | No | Verify deployed contracts on Etherscan using ETHERSCAN_API_KEY |
|
|
| verify-deployment.sh | ``scripts/deployment/verify-deployment.sh`` | Yes | No | Run verification checks for deployed infrastructure and contracts |
|
|
| verify-env.sh | ``scripts/deployment/verify-env.sh`` | No | No | Verify .env file configuration |
|
|
| verify-mainnet-deployments.sh | ``scripts/deployment/verify-mainnet-deployments.sh`` | No | No | Verify all Mainnet deployments |
|
|
| verify-on-chain-deployments.sh | ``scripts/deployment/verify-on-chain-deployments.sh`` | No | No | Verify contract deployments on-chain |
|
|
| wait-and-complete-all.sh | ``scripts/deployment/wait-and-complete-all.sh`` | No | No | Wait for Phase 2 completion and then execute all remaining phases |
|
|
| wait-and-run-all-next-steps.sh | ``scripts/deployment/wait-and-run-all-next-steps.sh`` | No | No | Wait for Terraform to complete, then run all next steps automatically |
|
|
| wait-and-run-next-steps.sh | ``scripts/deployment/wait-and-run-next-steps.sh`` | No | No | Wait for infrastructure to be ready, then run all next steps |
|
|
| wait-for-terraform.sh | ``scripts/deployment/wait-for-terraform.sh`` | No | No | Wait for Terraform to complete and monitor progress |
|
|
|
|
## etherscan-138
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| get-balance.sh | ``scripts/etherscan-138/get-balance.sh`` | Yes | No | Query balance on ChainID 138 via Etherscan-like API |
|
|
| get-contract-tx.sh | ``scripts/etherscan-138/get-contract-tx.sh`` | Yes | No | Query contract transactions on ChainID 138 via Etherscan-like API |
|
|
| verify-contract.sh | ``scripts/etherscan-138/verify-contract.sh`` | Yes | No | Submit contract verification to ChainID 138 Etherscan-like API |
|
|
|
|
## failover
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| region-failover.sh | ``scripts/failover/region-failover.sh`` | No | No | Region failover script for multi-region deployment |
|
|
|
|
## fix-image-versions.sh
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| fix-image-versions.sh | ``scripts/fix-image-versions.sh`` | No | No | Fix image versions - Replace :latest with specific versions |
|
|
|
|
## generate-genesis-proper.sh
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| generate-genesis-proper.sh | ``scripts/generate-genesis-proper.sh`` | No | No | Generate Genesis for ChainID 138 with proper QBFT extraData |
|
|
|
|
## generate-genesis.sh
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| generate-genesis.sh | ``scripts/generate-genesis.sh`` | No | No | Generate Genesis for ChainID 138 - DeFi Oracle Meta Mainnet |
|
|
|
|
## generate-region-codes.sh
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| generate-region-codes.sh | ``scripts/generate-region-codes.sh`` | No | No | Generate region codes for all non-US Commercial Azure regions |
|
|
|
|
## generate-secrets.sh
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| generate-secrets.sh | ``scripts/generate-secrets.sh`` | No | No | Generate Kubernetes secrets securely |
|
|
|
|
## genesis
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| add-predeployed-weth-mainnet.sh | ``scripts/genesis/add-predeployed-weth-mainnet.sh`` | No | No | Script to add predeployed WETH9 and WETH10 to genesis.json using Mainnet bytecode |
|
|
| add-predeployed-weth.sh | ``scripts/genesis/add-predeployed-weth.sh`` | No | No | Script to add predeployed WETH9 and WETH10 to genesis.json |
|
|
| add-weth-to-genesis.sh | ``scripts/genesis/add-weth-to-genesis.sh`` | No | No | Add WETH9 and WETH10 to genesis.json via alloc |
|
|
|
|
## integration
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| setup-firefly-cacti.sh | ``scripts/integration/setup-firefly-cacti.sh`` | No | No | Setup Firefly-Cacti Integration |
|
|
| test-connectors.sh | ``scripts/integration/test-connectors.sh`` | No | No | Test Connectors |
|
|
|
|
## key-management
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| azure-keyvault-setup.sh | ``scripts/key-management/azure-keyvault-setup.sh`` | Yes | No | Set up Azure Key Vaults with RBAC/access policies and AKS managed identity access |
|
|
| check-keyvault-status.sh | ``scripts/key-management/check-keyvault-status.sh`` | No | No | Check Key Vault deployment status |
|
|
| generate-oracle-keys.sh | ``scripts/key-management/generate-oracle-keys.sh`` | No | No | Generate oracle keys for EthSigner |
|
|
| generate-validator-keys.sh | ``scripts/key-management/generate-validator-keys.sh`` | No | No | Generate validator keys for QBFT 2.0 |
|
|
| grant-keyvault-permissions-parallel.sh | ``scripts/key-management/grant-keyvault-permissions-parallel.sh`` | No | No | Grant Key Vault permissions in parallel for faster execution |
|
|
| grant-keyvault-permissions.sh | ``scripts/key-management/grant-keyvault-permissions.sh`` | No | No | Grant Key Vault permissions using the provided Azure CLI method |
|
|
| manage-keyvaults.sh | ``scripts/key-management/manage-keyvaults.sh`` | Yes | Yes | Manage Key Vault lifecycle: deploy, status, permissions, store-keys, verify, list, complete |
|
|
| rotate-keys.sh | ``scripts/key-management/rotate-keys.sh`` | No | No | Key rotation script for validator and oracle keys |
|
|
| store-nodes-in-keyvault.sh | ``scripts/key-management/store-nodes-in-keyvault.sh`` | No | Yes | Store validator node keys in Azure Key Vaults |
|
|
|
|
## lib
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| cli.sh | ``scripts/lib/azure/cli.sh`` | No | No | Azure CLI wrapper functions |
|
|
| colors.sh | ``scripts/lib/common/colors.sh`` | No | No | Common color definitions for scripts |
|
|
| env.sh | ``scripts/lib/common/env.sh`` | No | No | Environment loader and profile support |
|
|
| logging.sh | ``scripts/lib/common/logging.sh`` | No | No | Common logging functions for scripts |
|
|
| metadata.sh | ``scripts/lib/common/metadata.sh`` | Yes | No | Metadata and help utilities for scripts |
|
|
| paths.sh | ``scripts/lib/common/paths.sh`` | No | No | Common path definitions for scripts |
|
|
| utils.sh | ``scripts/lib/common/utils.sh`` | No | Yes | Common utility functions |
|
|
| env.sh | ``scripts/lib/config/env.sh`` | No | No | Environment configuration loader |
|
|
| regions.sh | ``scripts/lib/config/regions.sh`` | No | No | Region code mapping - Single source of truth |
|
|
| costs.sh | ``scripts/lib/deployment/costs.sh`` | No | No | Cost calculation library |
|
|
| init.sh | ``scripts/lib/init.sh`` | No | No | Initialize common libraries |
|
|
|
|
## security
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| formal-verification.sh | ``scripts/security/formal-verification.sh`` | No | No | Formal verification script for smart contracts |
|
|
| mythril-scan.sh | ``scripts/security/mythril-scan.sh`` | No | No | Mythril dynamic analysis for Solidity contracts |
|
|
| penetration-testing.sh | ``scripts/security/penetration-testing.sh`` | No | No | Penetration testing script for smart contracts and infrastructure |
|
|
| slither-scan.sh | ``scripts/security/slither-scan.sh`` | No | No | Slither static analysis for Solidity contracts |
|
|
| verify-resource-limits.sh | ``scripts/security/verify-resource-limits.sh`` | No | No | Verify all containers have resource limits |
|
|
|
|
## setup
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| install-all-tools.sh | ``scripts/setup/install-all-tools.sh`` | No | No | Install All Required Tools |
|
|
| install-helm.sh | ``scripts/setup/install-helm.sh`` | No | No | Install Helm 3.x |
|
|
| install-kubectl.sh | ``scripts/setup/install-kubectl.sh`` | No | No | Install kubectl |
|
|
| install-terraform.sh | ``scripts/setup/install-terraform.sh`` | No | No | Install Terraform |
|
|
|
|
## validation
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| disaster-recovery-test.sh | ``scripts/validation/disaster-recovery-test.sh`` | No | No | Disaster Recovery Test Script |
|
|
| load-test.sh | ``scripts/validation/load-test.sh`` | No | No | Load Test Script |
|
|
| run-all-validations.sh | ``scripts/validation/run-all-validations.sh`` | No | No | Run All Validations |
|
|
| security-scan.sh | ``scripts/validation/security-scan.sh`` | No | No | Security Scan Script |
|
|
| validate-deployment.sh | ``scripts/validation/validate-deployment.sh`` | No | No | Validate Deployment |
|
|
| validate-genesis.sh | ``scripts/validation/validate-genesis.sh`` | No | No | Validate Genesis File |
|
|
| validate-hpa.sh | ``scripts/validation/validate-hpa.sh`` | No | No | Validate HPA Configuration |
|
|
| validate-monitoring.sh | ``scripts/validation/validate-monitoring.sh`` | No | No | Validate Monitoring Setup |
|
|
| validate-network-policies.sh | ``scripts/validation/validate-network-policies.sh`` | No | No | Validate Network Policies |
|
|
| validate-rbac.sh | ``scripts/validation/validate-rbac.sh`` | No | No | Validate RBAC Configuration |
|
|
|
|
## vm-deployment
|
|
|
|
| Script | Path | Help | Dry-run | Purpose |
|
|
|--------|------|------|---------|---------|
|
|
| backup-vm.sh | ``scripts/vm-deployment/backup-vm.sh`` | No | No | Backup VM data script |
|
|
| deploy-vm-network.sh | ``scripts/vm-deployment/deploy-vm-network.sh`` | No | No | Deploy Besu network on VMs/VMSS across multiple regions |
|
|
| get-vm-ips.sh | ``scripts/vm-deployment/get-vm-ips.sh`` | No | No | Get VM IP addresses |
|
|
| health-check-vm.sh | ``scripts/vm-deployment/health-check-vm.sh`` | No | No | Health check script for VM-based Besu nodes |
|
|
| monitor-vm.sh | ``scripts/vm-deployment/monitor-vm.sh`` | No | No | Monitor Besu nodes on VMs |
|
|
| restore-vm.sh | ``scripts/vm-deployment/restore-vm.sh`` | No | No | Restore VM data script |
|
|
| run-all-checks.sh | ``scripts/vm-deployment/run-all-checks.sh`` | No | No | Run all VM deployment checks |
|
|
| scale-vmss.sh | ``scripts/vm-deployment/scale-vmss.sh`` | No | No | Scale VM Scale Set |
|
|
| setup-cloud-init.sh | ``scripts/vm-deployment/setup-cloud-init.sh`` | No | No | Setup cloud-init script for Besu nodes |
|
|
| setup-vm.sh | ``scripts/vm-deployment/setup-vm.sh`` | No | No | Setup script for Besu node on VM |
|
|
| update-vm-config.sh | ``scripts/vm-deployment/update-vm-config.sh`` | No | No | Update Besu configuration on VM |
|
|
| validate-vm-deployment.sh | ``scripts/vm-deployment/validate-vm-deployment.sh`` | No | No | Validate VM deployment |
|
|
|