Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

2.4 KB
Raw Blame

Signing Commands

Use wallet sign-message and wallet sign-typed-data to produce cryptographic signatures with the active wallet.

wallet sign-message Command

Sign a plaintext message with the active wallet.

Syntax

mm wallet sign-message --message <text> --chain-id <id> [--wait] [--password <password>]

Supported Flags

Name Required Description
--chain-id Yes EVM chain ID as a positive integer (e.g. 1, 137). If not mentioned, ask the user.
--message Yes Plain-text message to sign
--wait No Block until the signature request completes (server-wallet mode only; BYOK returns immediately)
--password No Password to unlock the BYOK mnemonic (BYOK mode only) [env: MM_PASSWORD]

Example

mm wallet sign-message --message "Hello, world!" --chain-id 1
mm wallet sign-message --message "Hello" --chain-id 1 --wait

wallet sign-typed-data Command

Sign EIP-712 typed data with the active wallet.

Syntax

mm wallet sign-typed-data --chain-id <id> --payload '<JSON>' [--wait] [--password <password>]

Supported Flags

Name Required Description
--chain-id Yes EVM chain ID as a positive integer (e.g. 1, 137)
--payload Yes EIP-712 typed data as a JSON string with domain, types, primaryType, and message
--wait No Block until the signature request completes (server-wallet mode only; BYOK returns immediately)
--intent No Human-readable summary of what is being signed, forwarded with the request
--password No Password to unlock the BYOK mnemonic (BYOK mode only) [env: MM_PASSWORD]

Example

mm wallet sign-typed-data --chain-id 1 --payload '{"types":...,"primaryType":...,"domain":...,"message":...}'
mm wallet sign-typed-data --chain-id 137 --payload '{"types":...}' --wait --intent "Approve 10 USDC"

EIP-712 Typed Data

The --payload must be valid JSON with these required fields:

  • types -- type definitions
  • primaryType -- the main type being signed
  • domain -- domain separator (name, version, chainId, verifyingContract)
  • message -- the actual data to sign

Notes

  • If the Chain is not mentioned by the user, ask for the chain.
  • In server-wallet mode, signing returns a pollingId when --wait is omitted. See references/polling.md to track requests.