Parent PRD
#75
What to build
Add a "Create Sub-Account" button to the sub-account management view. Clicking it opens a dialog with a single text input for the sub-account name. The name must be 1–16 characters (enforced by the Hyperliquid API schema); the UI validates this live and shows a character counter. Submitting calls exchange.createSubAccount({ name }). On success the dialog closes and the sub-account list refreshes to show the new account. On failure the dialog stays open and shows the error message.
Acceptance criteria
Blocked by
User stories addressed
- User story 2 (create a new sub-account by name)
- User story 20 (loading, success, error feedback on create)
- User story 23 (list refreshes after create)
Parent PRD
#75
What to build
Add a "Create Sub-Account" button to the sub-account management view. Clicking it opens a dialog with a single text input for the sub-account name. The name must be 1–16 characters (enforced by the Hyperliquid API schema); the UI validates this live and shows a character counter. Submitting calls
exchange.createSubAccount({ name }). On success the dialog closes and the sub-account list refreshes to show the new account. On failure the dialog stays open and shows the error message.Acceptance criteria
Blocked by
User stories addressed