Function deploy_eigenlayer

Source
pub async fn deploy_eigenlayer(
    rpc_url: Option<String>,
    contracts_path: Option<String>,
    ordered_deployment: bool,
    network: String,
    devnet: bool,
    keystore_path: Option<PathBuf>,
) -> Result<()>
Expand description

Deploy an AVS to Eigenlayer

§Arguments

  • rpc_url - The RPC URL to connect to
  • contracts_path - Path to the contracts directory
  • ordered_deployment - Whether to deploy contracts in an interactive ordered manner
  • network - The target chain type (local, testnet, mainnet). Local mainnet is inferred by URL.
  • devnet - Whether to start a local devnet
  • keystore_path - Path to the keystore

§Returns

A Result indicating success or an error

§Errors

Returns a color_eyre::Report if an error occurs during deployment.