Skip to content

Coinbase Agentic Wallet (awal CLI) does not support arbitrary ERC-20 tokens #42

Description

@fjv006

Subject: Coinbase Agentic Wallet (awal CLI) does not support arbitrary ERC-20 tokens

Issue Summary:
The Coinbase Agentic Wallet (awal) CLI lacks support for arbitrary ERC-20 tokens (e.g., VELVET) on the
Base network. While the CLI can successfully read balances of supported assets (USDC, ETH, etc.), it
fails to process trade or send commands for unsupported tokens, even when provided with the correct contract address.

I was able to trade USDC to VELVET using the CLI, but now I am stuck as it doesnt allow me to trade back from VELVET to USDC.

Error reported here:
run 'awal' trade 5 0xbF927b841994731C573BDF09ceB0c6B0Aa887cDd usdc --slippage 200
Swap failed: Failed to fetch 0XBF927B841994731C573BDF09CEB0C6B0AA887CDD balance

Specific Failure Modes:
1. awal trade: Fails immediately with "Unsupported asset" or similar errors because the CLI attempts to
pre-fetch the source token balance against an internal hard-coded registry before quoting or executing a swap.
2. awal send: Rejects valid contract addresses for non-standard assets, stating they are unsupported.

Workaround Status:
- The underlying cdp CLI can read contract state for unsupported tokens via cdp evm token-balances get.
- However, performing a transfer or swap manually via the cdp CLI requires an external Wallet Secret
authorization (not accessible via the standard awal authenticated session). 
- Currently, users are forced to either use an external wallet app (Coinbase Wallet) or interact directly
with DEX routers (e.g., Aerodrome) to move/trade unsupported assets.

Request:
Please add support for custom/arbitrary ERC-20 tokens in the awal CLI, specifically by allowing users
to provide a contract address and ABI for tokens not in the default registry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions