diff --git a/agent-wallet/reference/commands.md b/agent-wallet/reference/commands.md index 6671ce284b3..d88c23dd1d3 100644 --- a/agent-wallet/reference/commands.md +++ b/agent-wallet/reference/commands.md @@ -19,6 +19,12 @@ All `mm` commands accept global flags unless noted. Many signing and transfer commands also accept `--password` (environment variable: `MM_PASSWORD`) in bring your own wallet mode to unlock an encrypted mnemonic. +Commands that take an `--amount` accept a positive, human-readable decimal such as `100` or `0.5`. +Scientific notation such as `1e3` is allowed, and grouping and decimal separators follow the host +locale, so both `1,000.50` and `1.000,50` are valid. Plain ASCII decimals like `0.5` are accepted in +every locale. An unparseable or non-positive value returns `INVALID_AMOUNT`. See +[Error codes](error-codes.md). + ## `mm doctor` Inspect CLI version, installed skills, environment, and session health. diff --git a/agent-wallet/reference/error-codes.md b/agent-wallet/reference/error-codes.md index fe745089e49..e9566041f66 100644 --- a/agent-wallet/reference/error-codes.md +++ b/agent-wallet/reference/error-codes.md @@ -62,25 +62,26 @@ Run `mm --help` for command-specific validation rules. ## Wallet errors (`WalletError`) -| Code | Meaning | -| ----------------------- | ------------------------------------------------- | -| `MISSING_MNEMONIC` | Bring your own wallet mode is missing a mnemonic | -| `MNEMONIC_LOCKED` | Mnemonic unlock failed after the maximum attempts | -| `WRONG_PASSWORD` | Mnemonic password is incorrect | -| `WALLET_NOT_FOUND` | Wallet not found | -| `WALLET_NOT_REGISTERED` | BYOK wallet registration failed during `mm init` | -| `WALLET_ERROR` | Wallet operation failed | -| `NO_AUTH_TOKEN` | Missing authentication token | -| `NO_PROJECT_ID` | Project ID not configured | -| `NO_HISTORY_WALLETS` | No EVM wallets found for `mm tx history` | -| `TX_NOT_FOUND` | Transaction hash not found onchain | -| `INVALID_TX_HASH` | Malformed transaction hash | -| `UNSUPPORTED_CHAIN` | Chain not supported for this operation | -| `INVALID_AMOUNT` | Non-positive amount; value must be positive | -| `TX_REVERTED` | Transaction reverted onchain | -| `TX_DENIED` | Transaction was rejected during 2FA approval | -| `TX_EXPIRED` | 2FA approval for the transaction expired | -| `TX_FAILED` | Transaction failed after submission | +| Code | Meaning | +| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `MISSING_MNEMONIC` | Bring your own wallet mode is missing a mnemonic | +| `MNEMONIC_LOCKED` | Mnemonic unlock failed after the maximum attempts | +| `WRONG_PASSWORD` | Mnemonic password is incorrect | +| `WALLET_NOT_FOUND` | Wallet not found | +| `WALLET_NOT_REGISTERED` | BYOK wallet registration failed during `mm init` | +| `WALLET_ERROR` | Wallet operation failed | +| `WALLET_LIMIT_EXCEEDED` | Project has reached the maximum of 100 wallets. Run `mm wallet list` to see existing wallets | +| `NO_AUTH_TOKEN` | Missing authentication token | +| `NO_PROJECT_ID` | Project ID not configured | +| `NO_HISTORY_WALLETS` | No EVM wallets found for `mm tx history` | +| `TX_NOT_FOUND` | Transaction hash not found onchain | +| `INVALID_TX_HASH` | Malformed transaction hash | +| `UNSUPPORTED_CHAIN` | Chain not supported for this operation | +| `INVALID_AMOUNT` | Amount is not a positive, parseable number. Use a positive decimal like `100` or `0.5`. Scientific notation such as `1e3` is allowed, and grouping and decimal separators follow the host locale, so both `1,000.50` and `1.000,50` are valid | +| `TX_REVERTED` | Transaction reverted onchain | +| `TX_DENIED` | Transaction was rejected during 2FA approval | +| `TX_EXPIRED` | 2FA approval for the transaction expired | +| `TX_FAILED` | Transaction failed after submission | ## Swap errors (`SwapCommandError`) diff --git a/agent-wallet/reference/supported-chains.md b/agent-wallet/reference/supported-chains.md index f2f3ef45e4e..4d85cbb2805 100644 --- a/agent-wallet/reference/supported-chains.md +++ b/agent-wallet/reference/supported-chains.md @@ -61,6 +61,7 @@ Use `mm chains list --json` to inspect feature availability programmatically. | MegaETH | `4326` | Covered | | Hemi | `43111` | No | | Robinhood Chain | `4663` | Covered | +| Arc | `5042` | Covered | | Palm | `11297108109` | No | :::caution Chains without Transaction Shield support @@ -99,6 +100,7 @@ Treat that as a basic safeguard, not a replacement for threat scanning. | MegaETH Testnet | `6343` | | Hemi Testnet | `743111` | | Robinhood Chain Testnet | `46630` | +| Arc Testnet | `5042002` | For chains not in the preconfigured list, `mm wallet balance` falls back to direct RPC queries via Multicall3.