{"id":"XE-0086","kind":"bounty","visibility":"public","source":"github","source_repo":"xeprotocol/xe","source_ref":"130","source_url":"https://github.com/xeprotocol/xe/issues/130","reporter_id":25,"title":"cli: `xe send` defaults to asset XUSD, so the documented \"send XE\" flow fails with \"insufficient XUSD\" (Minor)","area":"sdk-docs-web","claimed_tier":"minor","assessed_tier":null,"verdict":null,"duplicate_of":null,"tracked":false,"internal_ref":"","internal_url":null,"status":"triaging","closed_reason":null,"github_state":"open","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-10-29T13:57:25.147034+00:00","updated_at":"2026-11-10T00:11:52.854231+00:00","source_created_at":"2026-10-28T12:16:50+00:00","told_at":"2026-11-08T20:19:17+00:00","status_changed_at":"2026-11-08T20:18:37.756369+00:00","url":"https://bounty.xe.network/XE-0086","body":"## Summary\n\n`xe send` defaults to asset XUSD when `--asset` is not given. The testnet's primary asset is XE: the faucet grants XE, and the official guide's first action is \"Send and receive XE\". A user who follows the guide and runs `xe send <addr> <amount>` therefore hits `insufficient XUSD: have 0, need <amount>` even though they hold XE. The default is not stated in the command help.\n\n## Steps to reproduce\n\n1. Build the CLI from source (`make build`).\n2. Create a wallet, request XE from the faucet, receive it (balance shows XE).\n3. Run `xe send <dest> 0.5` with no `--asset`.\n4. Observe `error: insufficient XUSD: have 0, need 0.5`.\n5. `xe send <dest> 0.5 --asset XE` works.\n\n## Evidence\n\n- `cmd/xe/main.go:674` in `cmdSend`: `asset := \"XUSD\"` is the default before `--asset` is parsed.\n- `cmd/xe/main.go:170` help: `send <addr> <amount> [--asset XE|XUSD]` does not state which is the default.\n- Faucet grants XE, confirmed live: `HTTP 201 {\"amount\":1000000,\"asset\":\"XE\",...}`.\n\n## Suggested fix\n\nDefault `xe send` to XE (matching the faucet, the guide and the native asset), or state the default asset explicitly in the help text. Defaulting to the asset a new user actually holds removes a confusing first-send failure.\n\n## Suggested tier\n\nMinor (UX / consistency). Code read against public master 9787859, confirmed live on testnet-0005.\n\nXE address for any reward: 6591eab453dbd93b27e2cd674712f94b42d9e7e4d52980b966fa6da4ccd832dc","patch_refs":[{"id":152,"repo":"xeprotocol/xe","kind":"pr","ref":"131","title":"fix(cli): default xe send to native asset XE and align help text (#130)","url":"https://github.com/xeprotocol/xe/pull/131","note":"","state":"open","author":"arturbarszcz78","added_by":"desk","created_at":"2026-10-29T13:57:30.091343+00:00"}],"thread":[{"id":1180,"source":"github","source_ref":"6726601156","author":"Joseph Denne","team":true,"body":"Thanks for the report. We have confirmed the behaviour you describe and it is being handled; we will update this ticket when there is more to share.","created_at":"2026-11-08T20:19:17+00:00"}]}