# Scripts Inventory

Generated: 2025-11-15T21:26:09-08:00

Total scripts (excluding scripts/lib): 211

## By directory

- generate-region-codes.sh: 1
- configure-network.sh: 1
- security: 5
- configure-network-advanced.sh: 1
- failover: 1
- key-management: 9
- generate-genesis.sh: 1
- configure-network-test.sh: 1
- validation: 10
- generate-secrets.sh: 1
- backup: 2
- genesis: 3
- deployment: 124
- azure: 17
- vm-deployment: 12
- setup: 4
- integration: 2
- generate-genesis-proper.sh: 1
- fix-image-versions.sh: 1
- ccip-deployment: 1
- automation: 10
- assets: 3

## Top 40 scripts by line count

| # | Script | Lines | Uses lib | Color vars | Manual az checks |
|---:|:------|------:|:--------:|:----------:|:----------------:|
 1 | scripts/deployment/deploy-all.sh | `548` | deployment | yes | no | yes |
 2 | scripts/deployment/monitor-deployment-consolidated.sh | `388` | deployment | yes | no | no |
 3 | scripts/deployment/deploy-all-ordered.sh | `361` | deployment | yes | no | no |
 4 | scripts/deployment/verify-deployment.sh | `355` | deployment | yes | no | no |
 5 | scripts/deployment/validate-deployment-config.sh | `351` | deployment | yes | no | no |
 6 | scripts/deployment/populate-env.sh | `336` | deployment | yes | no | yes |
 7 | scripts/azure/check-azure-prerequisites.sh | `291` | azure | no | no | yes |
 8 | scripts/deployment/verify-chain138-full-deployment.sh | `291` | deployment | no | no | no |
 9 | scripts/azure/check-ai-ml-providers.sh | `273` | azure | no | no | yes |
10 | scripts/deployment/deploy-parallel-consolidated.sh | `270` | deployment | yes | no | no |
11 | scripts/deployment/deploy-contracts-ordered.sh | `257` | deployment | yes | no | no |
12 | scripts/vm-deployment/setup-vm.sh | `254` | vm-deployment | yes | no | yes |
13 | scripts/azure/list-all-resources.sh | `234` | azure | yes | no | no |
14 | scripts/deployment/fix-resource-groups-and-keyvaults.sh | `232` | deployment | yes | no | no |
15 | scripts/deployment/dry-run-mainnet-deployment.sh | `229` | deployment | yes | no | no |
16 | scripts/assets/download-azure-icons.sh | `225` | assets | yes | no | no |
17 | scripts/key-management/manage-keyvaults.sh | `225` | key-management | yes | no | yes |
18 | scripts/deployment/azure-login.sh | `218` | deployment | yes | no | yes |
19 | scripts/validation/disaster-recovery-test.sh | `215` | validation | yes | no | no |
20 | scripts/deployment/deploy-chain138-complete.sh | `205` | deployment | no | no | no |
21 | scripts/deployment/calculate-costs-consolidated.sh | `202` | deployment | yes | no | no |
22 | scripts/deployment/check-existing-deployments.sh | `202` | deployment | no | no | no |
23 | scripts/deployment/final-mainnet-deployment-report.sh | `200` | deployment | no | no | no |
24 | scripts/deployment/deploy-chain138-infrastructure.sh | `199` | deployment | no | no | yes |
25 | scripts/validation/load-test.sh | `199` | validation | yes | no | no |
26 | scripts/deployment/prepare-all-phases.sh | `197` | deployment | yes | no | no |
27 | scripts/azure/fix-deployment-issues.sh | `192` | azure | no | no | no |
28 | scripts/key-management/store-nodes-in-keyvault.sh | `191` | key-management | yes | no | no |
29 | scripts/azure/check-naming-conventions.sh | `188` | azure | yes | no | no |
30 | scripts/deployment/verify-env.sh | `188` | deployment | yes | no | no |
31 | scripts/deployment/setup-terraform-backend.sh | `186` | deployment | yes | no | yes |
32 | scripts/deployment/cloudflare-dns.sh | `185` | deployment | no | no | no |
33 | scripts/deployment/submit-token-list.sh | `184` | deployment | yes | no | no |
34 | scripts/assets/create-diagram-stencil.sh | `182` | assets | yes | no | no |
35 | scripts/deployment/check-wallet-balances.sh | `180` | deployment | yes | no | no |
36 | scripts/deployment/cross-check-chain138.sh | `177` | deployment | no | no | no |
37 | scripts/deployment/check-rpc-status.sh | `176` | deployment | yes | no | no |
38 | scripts/deployment/parse-deployment-output.sh | `176` | deployment | no | no | no |
39 | scripts/deployment/verify-chain138-services.sh | `170` | deployment | no | no | no |
40 | scripts/deployment/submit-ethereum-lists-pr.sh | `168` | deployment | yes | no | no |

## Library adoption status

- With lib/init.sh: 131 / 211
- Without lib/init.sh: 80

## Script call graph (edges)

Format: caller -> callee
- scripts/assets/setup-assets.sh -> scripts/assets/download-azure-icons.sh
- scripts/automation/create-deployment-checklist.sh -> scripts/automation/prepare-deployment.sh
- scripts/automation/create-deployment-checklist.sh -> scripts/deployment/check-mainnet-balances.sh
- scripts/automation/create-deployment-checklist.sh -> scripts/deployment/check-mainnet-deployment-status.sh
- scripts/automation/create-deployment-checklist.sh -> scripts/deployment/check-rpc-status.sh
- scripts/automation/create-deployment-checklist.sh -> scripts/deployment/check-wallet-balances.sh
- scripts/automation/create-deployment-checklist.sh -> scripts/deployment/deploy-bridges-chain138.sh
- scripts/automation/fix-script-errors.sh -> scripts/automation/validate-all-scripts.sh
- scripts/automation/fix-script-errors.sh -> scripts/deployment/check-mainnet-deployment-status.sh
- scripts/automation/fix-script-errors.sh -> scripts/deployment/deploy-all.sh
- scripts/automation/fix-script-errors.sh -> scripts/deployment/validate-deployment-config.sh
- scripts/automation/generate-scripts-incubator.sh -> scripts/lib/init.sh
- scripts/automation/generate-scripts-inventory.sh -> scripts/lib/init.sh
- scripts/automation/prepare-deployment.sh -> scripts/deployment/check-mainnet-balances.sh
- scripts/automation/prepare-deployment.sh -> scripts/deployment/check-rpc-status.sh
- scripts/automation/prepare-deployment.sh -> scripts/deployment/get-wallet-address.sh
- scripts/automation/run-all-automated-tasks.sh -> scripts/automation/scope-review.sh
- scripts/automation/run-all-automated-tasks.sh -> scripts/automation/validate-all-scripts.sh
- scripts/automation/run-all-automated-tasks.sh -> scripts/deployment/verify-env.sh
- scripts/azure/check-and-continue.sh -> scripts/deployment/wait-and-run-all-next-steps.sh
- scripts/azure/check-quotas.sh -> scripts/azure/check-quotas.sh
- scripts/azure/fix-deployment-issues.sh -> scripts/azure/analyze-deployment-failures.sh
- scripts/azure/fix-deployment-issues.sh -> scripts/deployment/wait-and-run-all-next-steps.sh
- scripts/azure/monitor-fix-progress.sh -> scripts/azure/delete-all-problematic-clusters-parallel.sh
- scripts/azure/monitor-fix-progress.sh -> scripts/azure/wait-and-redeploy.sh
- scripts/azure/wait-and-redeploy.sh -> scripts/azure/analyze-deployment-failures.sh
- scripts/azure/wait-and-redeploy.sh -> scripts/deployment/wait-and-run-all-next-steps.sh
- scripts/deployment/add-cloudflare-env.sh -> scripts/deployment/add-cloudflare-env.sh
- scripts/deployment/begin-infrastructure-deployment.sh -> scripts/deployment/deploy-chain138-infrastructure.sh
- scripts/deployment/check-deployment-status.sh -> scripts/deployment/deploy-contracts-ordered.sh
- scripts/deployment/check-mainnet-balances.sh -> scripts/deployment/deploy-bridges-mainnet.sh
- scripts/deployment/check-rpc-status.sh -> scripts/deployment/deploy-all-ordered.sh
- scripts/deployment/check-rpc-status.sh -> scripts/deployment/start-local-testnet.sh
- scripts/deployment/check-wallet-balances.sh -> scripts/deployment/deploy-bridges-chain138.sh
- scripts/deployment/check-wallet-balances.sh -> scripts/deployment/deploy-bridges-mainnet.sh
- scripts/deployment/complete-all-deployment.sh -> scripts/key-management/store-nodes-in-keyvault.sh
- scripts/deployment/complete-all-next-steps.sh -> scripts/deployment/verify-chain138-complete.sh
- scripts/deployment/complete-all-phases-parallel.sh -> scripts/deployment/monitor-36-region-deployment.sh
- scripts/deployment/complete-all-phases-parallel.sh -> scripts/deployment/verify-36-region-clusters.sh
- scripts/deployment/complete-all-tasks.sh -> scripts/automation/scope-review.sh
- scripts/deployment/complete-all-tasks.sh -> scripts/automation/validate-all-scripts.sh
- scripts/deployment/complete-all-tasks.sh -> scripts/deployment/calculate-accurate-deployment-costs.sh
- scripts/deployment/complete-all-tasks.sh -> scripts/deployment/check-existing-deployments.sh
- scripts/deployment/complete-all-tasks.sh -> scripts/deployment/cross-check-chain138.sh
- scripts/deployment/complete-all-tasks.sh -> scripts/deployment/deploy-chain138-complete.sh
- scripts/deployment/complete-all-tasks.sh -> scripts/deployment/final-mainnet-deployment-report.sh
- scripts/deployment/complete-all-tasks.sh -> scripts/deployment/get-mainnet-gas-prices.sh
- scripts/deployment/complete-all-tasks.sh -> scripts/deployment/setup-chain138-env.sh
- scripts/deployment/complete-infrastructure-deployment.sh -> scripts/deployment/deploy-infrastructure-phase2.sh
- scripts/deployment/complete-infrastructure-deployment.sh -> scripts/deployment/deploy-infrastructure-phase3.sh
- scripts/deployment/complete-infrastructure-deployment.sh -> scripts/deployment/deploy-infrastructure-phase4.sh
- scripts/deployment/complete-infrastructure-deployment.sh -> scripts/deployment/verify-chain138-complete.sh
- scripts/deployment/complete-phase2.sh -> scripts/deployment/init-terraform.sh
- scripts/deployment/complete-phase2.sh -> scripts/setup/install-terraform.sh
- scripts/deployment/deploy-all-mainnet.sh -> scripts/deployment/check-wallet-balances.sh
- scripts/deployment/deploy-all.sh -> scripts/deployment/azure-login.sh
- scripts/deployment/deploy-all.sh -> scripts/deployment/cloudflare-dns.sh
- scripts/deployment/deploy-all.sh -> scripts/deployment/submit-ethereum-lists-pr.sh
- scripts/deployment/deploy-all.sh -> scripts/deployment/submit-token-list.sh
- scripts/deployment/deploy-bridges-mainnet.sh -> scripts/deployment/check-wallet-balances.sh
- scripts/deployment/deploy-ccip-weth10-bridge.sh -> scripts/deployment/configure-weth10-bridge.sh
- scripts/deployment/deploy-ccip-weth9-bridge.sh -> scripts/deployment/configure-weth9-bridge.sh
- scripts/deployment/deploy-chain138-complete.sh -> scripts/deployment/verify-chain138-complete.sh
- scripts/deployment/deploy-chain138-complete.sh -> scripts/generate-genesis.sh
- scripts/deployment/deploy-chain138-infrastructure.sh -> scripts/generate-genesis.sh
- scripts/deployment/deploy-infrastructure-all-phases.sh -> scripts/deployment/deploy-infrastructure-phase2.sh
- scripts/deployment/deploy-infrastructure-all-phases.sh -> scripts/deployment/deploy-infrastructure-phase3.sh
- scripts/deployment/deploy-infrastructure-all-phases.sh -> scripts/deployment/deploy-infrastructure-phase4.sh
- scripts/deployment/deploy-infrastructure-all-phases.sh -> scripts/deployment/verify-chain138-complete.sh
- scripts/deployment/deploy-infrastructure-phase3.sh -> scripts/deployment/deploy-infrastructure-phase2.sh
- scripts/deployment/deploy-keyvaults-only.sh -> scripts/key-management/store-nodes-in-keyvault.sh
- scripts/deployment/deploy-phase1.sh -> scripts/azure/check-azure-prerequisites.sh
- scripts/deployment/deploy-phase1.sh -> scripts/deployment/populate-env.sh
- scripts/deployment/deploy-phase1.sh -> scripts/generate-genesis.sh
- scripts/deployment/deploy-phase1.sh -> scripts/key-management/generate-oracle-keys.sh
- scripts/deployment/deploy-phase1.sh -> scripts/key-management/generate-validator-keys.sh
- scripts/deployment/deploy-phase2.sh -> scripts/deployment/populate-env.sh
- scripts/deployment/deploy-weth-with-ccip.sh -> scripts/deployment/configure-weth10-bridge.sh
- scripts/deployment/deploy-weth-with-ccip.sh -> scripts/deployment/configure-weth9-bridge.sh
- scripts/deployment/deployment-readiness-report.sh -> scripts/deployment/deploy-all-mainnet.sh
- scripts/deployment/execute-all-phases.sh -> scripts/key-management/store-nodes-in-keyvault.sh
- scripts/deployment/execute-infrastructure-deployment.sh -> scripts/deployment/deploy-infrastructure-phase2.sh
- scripts/deployment/execute-infrastructure-deployment.sh -> scripts/deployment/deploy-infrastructure-phase3.sh
- scripts/deployment/execute-infrastructure-deployment.sh -> scripts/deployment/deploy-infrastructure-phase4.sh
- scripts/deployment/execute-infrastructure-deployment.sh -> scripts/deployment/verify-chain138-complete.sh
- scripts/deployment/final-mainnet-deployment-report.sh -> scripts/deployment/check-mainnet-balances.sh
- scripts/deployment/final-mainnet-deployment-report.sh -> scripts/deployment/compile-test-mainnet-contracts.sh
- scripts/deployment/final-mainnet-deployment-report.sh -> scripts/deployment/get-mainnet-gas-prices.sh
- scripts/deployment/fix-configuration-issues.sh -> scripts/generate-genesis.sh
- scripts/deployment/fix-configuration-issues.sh -> scripts/key-management/generate-validator-keys.sh
- scripts/deployment/generate-genesis-with-validators.sh -> scripts/key-management/generate-validator-keys.sh
- scripts/deployment/generate-mainnet-deployment-plan.sh -> scripts/deployment/check-mainnet-balances.sh
- scripts/deployment/generate-mainnet-deployment-plan.sh -> scripts/deployment/compile-test-mainnet-contracts.sh
- scripts/deployment/generate-mainnet-deployment-plan.sh -> scripts/deployment/get-mainnet-gas-prices.sh
- scripts/deployment/generate-mainnet-deployment-plan.sh -> scripts/deployment/prioritize-mainnet-deployments.sh
- scripts/deployment/generate-prioritized-deployment-plan.sh -> scripts/deployment/calculate-accurate-deployment-costs.sh
- scripts/deployment/generate-prioritized-deployment-plan.sh -> scripts/deployment/check-mainnet-balances.sh
- scripts/deployment/get-env-values.sh -> scripts/deployment/get-env-values.sh
- scripts/deployment/get-env-values.sh -> scripts/deployment/populate-env.sh
- scripts/deployment/init-terraform.sh -> scripts/deployment/populate-env.sh
- scripts/deployment/init-terraform.sh -> scripts/setup/install-terraform.sh
- scripts/deployment/next-steps-summary.sh -> scripts/deployment/deploy-all-phases.sh
- scripts/deployment/populate-env.sh -> scripts/deployment/azure-login.sh
- scripts/deployment/prepare-all-phases.sh -> scripts/deployment/populate-env.sh
- scripts/deployment/prepare-all-phases.sh -> scripts/generate-genesis.sh
- scripts/deployment/prepare-all-phases.sh -> scripts/key-management/generate-oracle-keys.sh
- scripts/deployment/prepare-all-phases.sh -> scripts/key-management/generate-validator-keys.sh
- scripts/deployment/prepare-all-phases.sh -> scripts/setup/install-terraform.sh
- scripts/deployment/prioritize-mainnet-deployments.sh -> scripts/deployment/check-mainnet-balances.sh
- scripts/deployment/prioritize-mainnet-deployments.sh -> scripts/deployment/get-mainnet-gas-prices.sh
- scripts/deployment/setup-chain138-env.sh -> scripts/deployment/verify-chain138-complete.sh
- scripts/deployment/setup-chain138-env.sh -> scripts/deployment/verify-chain138-full-deployment.sh
- scripts/deployment/start-local-testnet.sh -> scripts/deployment/deploy-all-ordered.sh
- scripts/deployment/update-token-list.sh -> scripts/deployment/submit-token-list.sh
- scripts/deployment/validate-deployment-config.sh -> scripts/deployment/check-deployment-status.sh
- scripts/deployment/validate-deployment-config.sh -> scripts/deployment/check-rpc-status.sh
- scripts/deployment/validate-deployment-config.sh -> scripts/deployment/deploy-all-ordered.sh
- scripts/deployment/validate-deployment-config.sh -> scripts/deployment/start-local-testnet.sh
- scripts/deployment/verify-chain138-complete.sh -> scripts/deployment/cross-check-chain138.sh
- scripts/deployment/verify-chain138-complete.sh -> scripts/deployment/verify-chain138-full-deployment.sh
- scripts/deployment/verify-chain138-complete.sh -> scripts/deployment/verify-chain138-services.sh
- scripts/deployment/verify-deployment.sh -> scripts/deployment/verify-deployment.sh
- scripts/deployment/verify-env.sh -> scripts/deployment/populate-env.sh
- scripts/deployment/wait-and-complete-all.sh -> scripts/deployment/complete-all-phases-parallel.sh
- scripts/genesis/add-weth-to-genesis.sh -> scripts/genesis/add-predeployed-weth-mainnet.sh
- scripts/key-management/manage-keyvaults.sh -> scripts/deployment/deploy-keyvaults-only.sh
- scripts/key-management/store-nodes-in-keyvault.sh -> scripts/deployment/deploy-keyvaults-only.sh
- scripts/validation/disaster-recovery-test.sh -> scripts/backup/backup-chaindata.sh
- scripts/validation/disaster-recovery-test.sh -> scripts/backup/restore-chaindata.sh
- scripts/validation/disaster-recovery-test.sh -> scripts/key-management/rotate-keys.sh
- scripts/validation/validate-genesis.sh -> scripts/generate-genesis-proper.sh
