This guide explains how to migrate from eigenx to the ecloud CLI for managing your EigenCompute application.
npm install -g @layr-labs/ecloud-cliTo verify that the installation was successful, run:
ecloud versionYou should see output similar to the following:
Version: 0.0.1
Commit: be757436b79faff7959b8375dbb051cc47cb0895Note
For simplicity, the ecloud CLI only supports storing one key for all environments. To use a different key, you can use the --private-key flag or set the ECLOUD_PRIVATE_KEY environment variable.
Run the migrate command:
ecloud auth migrateYou should see output similar to the following:
Use the up/down arrow keys to select the wallet you want to migrate.
After selecting the key you want to migrate, you should see something like this:
Note
We recommend keeping your eigenx keys intact and not deleting them until you have verified that the migrated key work correctly.
Once the migration is complete, you will see a message like this:
Run the following command to view the migrated key:
ecloud auth whoamiYou should see output similar to the following:
Address: 0x7Dd787AEEbE6A95CCd53a60B0BEebaF3F4f68D7F
Source: stored credentials
Note: This key is used for all environments (mainnet, sepolia, etc.)


