Overview
Sign in to the wallet via email OTP. Use when you or the user want to log in, sign in, connect, or set up the wallet, or when any wallet operation fails with authentication errors. This skill is a prerequisite before sending, trading, or funding.Authentication flow
Authentication uses a two-step email OTP process.1. Initiate login
flowId.
2. Verify OTP
flowId from step 1 and the 6-digit code from the user’s email to complete authentication.
If the agent has access to the user’s email, it can read the OTP code directly. Otherwise, the agent should ask the user for the code.
Checking authentication status
Example session
CLI commands
| Command | Purpose |
|---|---|
npx awal@latest status | Check server health and auth status |
npx awal@latest auth login <email> | Send OTP code to email, returns flowId |
npx awal@latest auth verify <flowId> <otp> | Complete authentication with OTP code |
npx awal@latest balance | Get USDC wallet balance |
npx awal@latest address | Get wallet address |
npx awal@latest show | Open the wallet companion window |
JSON output
All commands support--json for machine-readable output: