Elytro LogoElytro

CLI Reference

Complete command reference for the Elytro CLI.

Account Commands

elytro init

Initialize the wallet. Creates vault key in macOS Keychain and encrypted keyring. Run once per machine.

elytro init

elytro account create

Create a new smart account on a chain. Computes counterfactual address via CREATE2.

elytro account create --chain <chainId> --alias <name>
# Example
elytro account create --chain 11155111 --alias myWallet

elytro account list

List all accounts.

elytro account list # All accounts
elytro account list --chain <chainId> # Filter by chain

elytro account info

Get live on-chain data: balance, deployment status, recovery status.

elytro account info <alias|address>

elytro account switch

Change the active account.

elytro account switch <alias|address>

elytro account activate

Deploy the smart contract wallet on-chain. Fund the address first if sponsorship might fail.

elytro account activate <alias|address>
elytro account activate <alias> --no-sponsor # Self-pay gas

Query Commands

All query commands output structured JSON: { "success": true, "result": {...} }

elytro query balance

# ETH balance
elytro query balance <account>
# ERC-20 token balance
elytro query balance <account> --token <tokenAddress>

elytro query tokens

List all ERC-20 token holdings. Requires Alchemy key.

elytro query tokens <account>

elytro query tx

Look up transaction by hash.

elytro query tx <hash>

elytro query chain

Show current chain info: ID, name, block number, gas price.

elytro query chain

Transaction Commands

Transaction spec format: --tx "to:0xAddr,value:0.1,data:0x"

elytro tx send

# ETH transfer
elytro tx send --tx "to:0xRecipient,value:0.01"
# Contract call
elytro tx send --tx "to:0xContract,data:0xa9059cbb..."
# Batch multiple calls
elytro tx send --tx "to:0xA,value:0.1" --tx "to:0xB,data:0xab"
# Skip sponsorship
elytro tx send --tx "to:0xAddr,value:0.01" --no-sponsor
# Skip 2FA hook
elytro tx send --tx "to:0xAddr,value:0.01" --no-hook

elytro tx simulate

Dry-run showing gas breakdown, sponsor status, and balance warnings. Does not send.

elytro tx simulate --tx "to:0xAddr,value:0.1"

elytro tx build

Build unsigned UserOp JSON for inspection.

elytro tx build --tx "to:0xAddr,value:0.1" <account>

Security Commands

Requires the account to be deployed first.

elytro security status

View current security settings.

elytro security status

elytro security 2fa

# Install 2FA (capability: 1=sig, 2=userop, 3=both)
elytro security 2fa install --capability 2
# Uninstall 2FA
elytro security 2fa uninstall
elytro security 2fa uninstall --force # Start force-uninstall countdown
elytro security 2fa uninstall --execute # Execute after safety delay

elytro security email

elytro security email bind <email> # Bind email for OTP
elytro security email change <email> # Change bound email

elytro security spending-limit

elytro security spending-limit # View current limit
elytro security spending-limit 100 # Set to $100/day

Configuration

elytro config show

Display current endpoint config, masked API keys.

elytro config show

elytro config set

elytro config set alchemy-key <KEY>
elytro config set pimlico-key <KEY>

elytro config remove

elytro config remove alchemy-key
elytro config remove pimlico-key