← Back to all products

Vault Deployer CLI

$8

CLI tool to deploy, configure, and manage vaults across EVM chains with multi-chain support.

📁 15 files
YAMLTOMLPythonMarkdown

📁 File Structure 15 files

vault-deployer-cli/ ├── LICENSE ├── README.md ├── config/ │ ├── arbitrum.yaml │ ├── base.yaml │ ├── mainnet.yaml │ └── vault_template.yaml ├── pyproject.toml ├── security-notes.md └── src/ ├── abi.py ├── cli.py ├── config_loader.py ├── deployer.py ├── manager.py ├── monitor.py └── utils.py

📖 Documentation Preview README excerpt

vault-deployer-cli

CLI tool to deploy, configure, and manage CryptoForge ERC-4626 vaults across EVM chains.

Price: $7.99 | Store: vault-forge | Product #6


Overview

vault-deployer-cli is a Python CLI that wraps all on-chain operations for the CryptoForge vault system. Instead of writing Forge scripts for every operation, use this tool to deploy factories, create vaults, manage strategies, update fees, and monitor status — all from your terminal.

Features

FeatureDescription
Deploy factoryDeploy CryptoForgeVaultFactory with default fee config
Deploy vaultsCreate vaults via factory using YAML config files
Manage strategiesApprove/revoke strategies on the factory whitelist
Update feesQueue timelocked fee changes, update fee recipients
MonitorView vault status, TVL, share price, pending timelocks
Multi-chainPre-configured for Ethereum, Arbitrum, Base
EIP-1559Automatic gas estimation with priority fee support

Installation


# Install from source
pip install -e .

# Or install dependencies manually
pip install click web3 rich pyyaml python-dotenv

Prerequisites

  • Python 3.10+
  • An RPC endpoint (Alchemy, Infura, or self-hosted)
  • Deployer private key (for write operations)

Quick Start

1. Configure your chain

Edit config/mainnet.yaml with your RPC URL:


rpc_url: "https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY"

2. Set environment variables


export DEPLOYER_PRIVATE_KEY=0x...
export RPC_URL=https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY

... continues with setup instructions, usage examples, and more.

📄 Code Sample .py preview

src/abi.py """ vault-deployer-cli — ABI constants for CryptoForge factory + vault contracts Contains minimal ABI definitions needed for CLI operations. Full ABIs are available in the erc4626-base-vault and vault-factory-contract products. Note: FACTORY_BYTECODE is a placeholder. In production, compile the contracts with Foundry and reference the artifact JSON, or paste the bytecode here. """ # --------------------------------------------------------------------------- # CryptoForgeVaultFactory ABI — functions used by the deployer CLI # --------------------------------------------------------------------------- FACTORY_ABI = [ # Constructor { "type": "constructor", "inputs": [ {"name": "owner_", "type": "address"}, { "name": "defaultFees_", "type": "tuple", "components": [ {"name": "managementFee", "type": "uint16"}, {"name": "performanceFee", "type": "uint16"}, {"name": "feeRecipient", "type": "address"}, ], }, ], }, # createVault { "name": "createVault", "type": "function", "stateMutability": "nonpayable", "inputs": [ {"name": "asset", "type": "address"}, {"name": "strategy", "type": "address"}, {"name": "name", "type": "string"}, {"name": "symbol", "type": "string"}, { "name": "fees", "type": "tuple", "components": [ {"name": "managementFee", "type": "uint16"}, {"name": "performanceFee", "type": "uint16"}, {"name": "feeRecipient", "type": "address"}, ], }, # ... 166 more lines ...
Buy Now — $8 Back to Products