Account Management

The cre account commands manage your linked public key addresses for workflow operations. These commands allow you to link wallet addresses to your CRE account, list linked addresses, and unlink them when needed.

Links a public key address to your account for workflow operations. This command reads your private key from the .env file (for EOA) or uses your configuration (for multi-sig), derives the public address, and registers it onchain in the Workflow Registry contract.

For a complete step-by-step guide with examples, see Linking Wallet Keys.

Usage:

cre account link-key [flags]

Flags:

FlagDescription
-l, --owner-labelLabel for the workflow owner
--unsignedReturn the raw transaction instead of sending it to the network
--yesSkip the confirmation prompt and proceed with the operation

Interactive flow:

When you run this command, the CLI will:

  1. Extract your public address from the private key in your .env file
  2. Prompt you to provide a label for this address (e.g., "Production Wallet")
  3. Check if the address is already linked
  4. Display transaction details (chain, contract, estimated gas cost)
  5. Ask for confirmation to execute the transaction
  6. Submit the transaction and provide a block explorer link

Examples:

  • Interactive mode (recommended)

    cre account link-key
    
  • Non-interactive mode with label

    cre account link-key --owner-label "My Production Wallet" --yes
    

cre account list-key

Lists all public key addresses linked to your organization. This shows the verification status, chain information, and contract addresses for each linked key.

For a complete guide on linking and managing keys, see Linking Wallet Keys.

Usage:

cre account list-key

Example output:

Workflow owners retrieved successfully:

Linked Owners:

  1. my-production-wallet
     Owner Address:     <your_public_address>
     Status:            VERIFICATION_STATUS_SUCCESSFULL
     Verified At:       <timestamp>
     Chain Selector:    <chain_selector>
     Contract Address:  <Workflow_Registry_address>

Unlinks a previously linked public key address from your account. This is a destructive operation that removes the address from the Workflow Registry contract and deletes all workflows registered under that address.

For a complete guide on linking and unlinking keys, see Linking Wallet Keys.

Usage:

cre account unlink-key [flags]

Flags:

FlagDescription
--unsignedReturn the raw transaction instead of sending it to the network
--yesSkip the confirmation prompt and proceed with the operation

Interactive flow:

When you run this command, the CLI will:

  1. Extract your public address from the private key in your .env file (for EOA) or use your configuration (for multi-sig)
  2. Display a destructive action warning about deleting all workflows
  3. Ask for first confirmation to proceed with unlinking
  4. Display transaction details (chain, contract, estimated gas cost)
  5. Ask for second confirmation to execute the transaction
  6. Submit the transaction and provide a block explorer link

Get the latest Chainlink content straight to your inbox.