<!-- XE-0086 · cli: `xe send` defaults to asset XUSD, so the documented "send XE" flow fails with "insufficient XUSD" (Minor) · testnet -->
*Markdown view of <https://bounty.xe.network/XE-0086>. The page is the record; this is the same page for reading.*

XE-0086 · Bounty

# cli: \`xe send\` defaults to asset XUSD, so the documented "send XE" flow fails with "insufficient XUSD" (Minor)

Triaging
claimed Minor
[xe#130](https://github.com/xeprotocol/xe/issues/130)
filed 2026-10-28 12:16 UTC
by BoomGone

Verdict
:   published when the fix ships

Tier
:   published when the fix ships

Claimed
:   Minor

Area
:   SDK / docs / web

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-10 00:11 UTC

Told
:   2026-11-08 20:19 UTC

### Patches

- [xe#131](https://github.com/xeprotocol/xe/pull/131) open by arturbarszcz78
  fix(cli): default xe send to native asset XE and align help text (#130)

### History

- [43840](https://bounty.xe.network/log/43840) 2026-11-08 20:19 UTC github.labels
- [43823](https://bounty.xe.network/log/43823) 2026-11-08 20:19 UTC reply.mirrored
- [43787](https://bounty.xe.network/log/43787) 2026-11-08 20:18 UTC proposal.adopted
- [43786](https://bounty.xe.network/log/43786) 2026-11-08 20:18 UTC reply.sent
- [43277](https://bounty.xe.network/log/43277) 2026-11-08 20:18 UTC proposal.adopted
- [43276](https://bounty.xe.network/log/43276) 2026-11-08 20:18 UTC ticket.facts area
- [43275](https://bounty.xe.network/log/43275) 2026-11-08 20:18 UTC proposal.adopted
- [43274](https://bounty.xe.network/log/43274) 2026-11-08 20:18 UTC ticket.facts
- [43273](https://bounty.xe.network/log/43273) 2026-11-08 20:18 UTC proposal.adopted
- [43272](https://bounty.xe.network/log/43272) 2026-11-08 20:18 UTC ticket.facts
- [43271](https://bounty.xe.network/log/43271) 2026-11-08 20:18 UTC proposal.adopted
- [43270](https://bounty.xe.network/log/43270) 2026-11-08 20:18 UTC ticket.facts

[Full history](https://bounty.xe.network/log?ref=XE-0086) · [JSON](https://bounty.xe.network/v1/tickets/XE-0086) · [markdown](https://bounty.xe.network/XE-0086.md)

### Report

## Summary

`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.

## Steps to reproduce

1. Build the CLI from source (`make build`).
2. Create a wallet, request XE from the faucet, receive it (balance shows XE).
3. Run `xe send <dest> 0.5` with no `--asset`.
4. Observe `error: insufficient XUSD: have 0, need 0.5`.
5. `xe send <dest> 0.5 --asset XE` works.

## Evidence

- `cmd/xe/main.go:674` in `cmdSend`: `asset := "XUSD"` is the default before `--asset` is parsed.
- `cmd/xe/main.go:170` help: `send <addr> <amount> [--asset XE|XUSD]` does not state which is the default.
- Faucet grants XE, confirmed live: `HTTP 201 {"amount":1000000,"asset":"XE",...}`.

## Suggested fix

Default `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.

## Suggested tier

Minor (UX / consistency). Code read against public master 9787859, confirmed live on testnet-0005.

XE address for any reward: 6591eab453dbd93b27e2cd674712f94b42d9e7e4d52980b966fa6da4ccd832dc

### Thread

**Joseph Denne**team2026-11-08 20:19 UTCgithub

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.
