app
Manage applications including creating, operating, and terminating.
Available Commands
Global Options
Options available for all app subcommands are:
--environment <env> (string)
Deployment environment to use. One of
mainnet-alphaandsepolia.
--rpc-url value (URL)
RPC URL to connect to blockchain. Can be set using environment variable
$EIGENX_RPC_URL.
--private-key value (string)
Private key for signing transactions. Can be set using environment variable
$EIGENX_PRIVATE_KEY.
--env-file value (string)
Environment file to use. Default is the
.envfile.
create
Create an application project from a template with all necessary configuration files. For more information on creating applications, refer to the Quickstart.
Synopsis
eigenx app create [name] [language] [template-name] [--template-repo <url>] [--template-version <version>] [global options]
Arguments
name (string)
Name for your application directory. Prompted for if not provided.
language (string)
Language to use for template. Prompted for if not provided. Options are:
typescript- use for Web services, APIs, botspython- use for ML/AI, data processing, scriptsgolang- use for high-performance servicesrust- use for systems programming, performance-critical apps
template-name (string)
Name of template from which to create application. Prompted for if not provided.
Options
--template-repo <url> (string)
Custom template repository URL.
--template-version <version> (string)
Template version/tag to use.
deploy
Deploy a new application to a Trusted Execution Environment (TEE).
If you don't have an EigenCompute subscription, the CLI will prompt you for billing details in our payment portal.
Synopsis
eigenx app deploy [--dockerfile value, -f value] [--log-visibility value] [--resource-usage-monitoring value] [--instance-type value] [--name value] [--website value] [--description value] [--x-url value] [--image value] [global options] [image_ref]
Arguments
image_ref (string)
Pre-built Docker image reference. Optional.
Options
--dockerfile <path>, -f <path> (string)
Path to Dockerfile. If not provided, the Dockerfile in the current directory is used. Your Dockerfile must include the
EXPOSEdirective to specify which port(s) your application listens on, see the Port Exposure Guide.
--log-visibility <setting> (string)
Log visibility. One of
public,private, oroff. If set topublic, logs are displayed on the Verifiability Dashboard for Mainnet or Sepolia testnet. Prompted for if not provided.
--resource-usage-monitoring value (string)
Resource use monitoring. One of
enableordisable. Prompted for if not provided.
--instance-type <value> (string)
Machine instance type to use. One of
g1-standard-4torg1-standard-8t. Prompted for if not provided.
--name <name> (string)
Display name for the application. Used by developer to manage application and displayed on the Verifiability Dashboard for Mainnet or Sepolia testnet. Prompted for if not provided.
--website <URL> (string)
Application website URL. Displayed on the Verifiability Dashboard for Mainnet or Sepolia testnet. Optional.
--description <value> (string)
Application description. Displayed on the Verifiability Dashboard for Mainnet or Sepolia testnet. Optional.
--x-url <URL> (string)
X (Twitter) profile. Displayed on the Verifiability Dashboard for Mainnet or Sepolia testnet. Optional.
upgrade
Update an existing application with new code, configuration, or environment variables.
Synopsis
eigenx app upgrade [--dockerfile value, -f value] [--log-visibility value] [--resource-usage-monitoring value] [--instance-type value] [global options] [<app-id|name>] [<image_ref>]
Arguments
app-id|name (string)
Application ID or display name. Prompted for if not provided.
image_ref (string)
Pre-built Docker image reference. Optional.
Options
--dockerfile <path>, -f <path> (string)
Path to Dockerfile. If not provided, the Dockerfile in the current directory is used.
--log-visibility <setting> (string)
Log visibility. One of
public,private, oroff. If set topublic, logs are displayed on the Verifiability Dashboard for Mainnet or Sepolia testnet. Prompted for if not provided.
--resource-usage-monitoring value (string)
Resource use monitoring. One of
enableordisable. Prompted for if not provided.
--instance-type <value> (string)
Machine instance type to use. One of
g1-standard-4torg1-standard-8t. Prompted for if not provided.
start
Start a previously stopped application.
Synopsis
eigenx app start [global options] [<app-id|name>]
Arguments
app-id|name (string)
Application ID or display name. Prompted for if not provided.
stop
Stop a running application without removing it.
Synopsis
eigenx app stop [global options] [<app-id|name>]
Arguments
app-id|name (string)
Application ID or display name. Prompted for if not provided.
terminate
Permanently remove an application and all its resources.
Termination is permanent and irreversible. The TEE wallet mnemonic becomes inaccessible. Any funds in the wallet will be lost forever.