Trust Engine create-wallet

Create a new wallet for a user
The create-wallet command allows you to create a new managed wallet for a user in the Trust Engine system. Each user should only run this command once and reuse the generated wallet for all future operations. To use it, run the following command from your terminal
trust-engine-cli create-wallet [options]

Options

OptionDescription
-u, --userID <id>User ID for the new wallet (alphanumeric string)
--jsonOutput the result as JSON

Example

Create a new wallet for a user:
trust-engine-cli create-wallet --userID "user_12345"
After running the command, you’ll see a confirmation message with wallet details:
✅ Success! Your managed wallet has been created and linked to your user ID.

Wallet Details:
  - User ID: user_12345
  - Wallet Address: 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM
  - Chain: solana
  - Transaction Signature: 5J7X2vK8mWzNfEtY2jDw5mVpL1WzNfEtYKJH2mNqR3pB
  - Explorer URL: https://explorer.solana.com/address/5J7X2vK8mWzNfEtY2jDw5mVpL1WzNfEtYKJH2mNqR3pB?cluster=devnet
You can also get the output in JSON format for automation purposes:
trust-engine-cli create-wallet --userID "user_12345" --json
This will return:
{
  "message": "Success! Your managed wallet has been created and linked to your user ID.",
  "details": {
    "userID": "user_12345",
    "walletAddress": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
    "chain": "solana",
    "transactionId": "5J7X2vK8mWzNfEtY2jDw5mVpL1WzNfEtYKJH2mNqR3pB",
    "explorerUrl": "https://explorer.solana.com/address/5J7X2vK8mWzNfEtY2jDw5mVpL1WzNfEtYKJH2mNqR3pB?cluster=devnet"
  }
}