Wallets and signing

What a site asks an XE wallet for to sign cross-chain blocks, what the review shows, which signers run it, and the MCP tools for agents.

Every cross-chain action on XE starts with a block an XE account signs: a dispatch, a route_transfer, a service_request. Sites ask the person's wallet through XE Connect. Agents act through the XE MCP server, with keys the person delegated. Either way, xe-core, the Rust core every XE signer shares, reviews the block before anyone signs.

See the same request in every signer

#XE Connect capabilities

A site connects with @xe-network/connect and asks for what it needs in request. These capabilities say which cross-chain block kinds the wallet can review and sign for a site:

CapabilityBlock kinds
xe:crossChain@1dispatch (a message out, with its interchain account calls and the relayer's fee) and message_receive (a message in, with the ISM's proof)
xe:services@1service_request, service_subscribe (open, top-up, cancel)
xe:swaps@1swap_open: a taker's swap at a maker's quote
xe:credits@1credit_redeem
xe:routes@1route_transfer: an asset sent to another chain
xe:delegateRemote@1A session key with a remote section: calls on other chains within limits (Agents)

They're capabilities of the wallet, not permissions. A wallet that runs xe-core's full review grants them without a choice in the dialog, so a site learns before it asks whether the wallet can sign that kind. Each block is still reviewed on its own screen.

typescript
import { connect, signBlock } from "@xe-network/connect"; const { granted } = await connect(config, { request: ["xe:crossChain@1", "xe:routes@1"] });if (!granted.includes("xe:crossChain@1")) {  // this wallet can't review dispatches: offer another wallet} const { signatures } = await signBlock(config, {  network: "xenet:xe-sim-0002",  prepared, // { block, hash } built by your server, e.g. from remoteCallRequest}); // the wallet decodes and reviews the block itself

signBlock resolves only after the library has re-hashed the block and verified every signature. A wallet without the full review refuses these kinds (4200 unsupported-block).

Which networks a wallet signs them on is a policy switch (all, test-only or off). It's all today, because XE has no mainnet yet, and it's on the checklist to tighten before a mainnet launch.

#What the review shows

The wallet decodes the block with xe-core and shows what it will do, in words. Warnings must be acknowledged one by one before the person can sign.

BlockThe review shows
dispatch to an ICA routerThe chain, which of the account's interchain accounts runs the calls (the account's own, or an agent's), and each call: target, function, decoded token transfers and approvals, native value. Unknown calls appear as raw data under a warning
dispatch to xe-signer (Solana)System transfers and SPL TransferChecked decoded. A token recipient by name only when the owner hint proves it. Any other instruction under "This can move funds in your Solana wallet" (Solana wallets)
dispatch, anything elseThe destination, the recipient and the body as bytes, under a warning
message_receiveThe origin, the sender and the body. A receive never moves value
route_transferAsset, amount, the route fee, destination, recipient and router
service_requestThe service, the most it can cost, the deadline and the input
A remote section in a grantEvery chain, router, target, function and cap, plus the three things the limits don't cover

#Signers

The review is the same code in every XE signer, so the same request reads the same way everywhere.

SignerWhere
XE Web Walletwallet.xe.marketized.io: signs every kind above for sites
XE browser extensionWallet Standard in the browser
MetaMask with the XE SnapXE accounts inside MetaMask
LedgerXE's Ledger app reviews on the device
XE VaultThe air-gapped signer, over QR
XE Wallet on a phoneThrough the platform's encrypted relay

Signing support for each block kind arrives in each signer's build separately. A signer on an older xe-core shows a block it can't decode as bytes, under a warning that must be acknowledged.

#MCP tools for agents

The XE MCP server never holds a person's main key. It signs with keys the person delegated, whose limits the XE nodes enforce, and with the agent's own wallets, within a local spending policy. It runs hosted at https://mcp.xe.marketized.io/mcp, or locally over stdio or on 127.0.0.1.

ToolsHostWhat
xe_icas, xe_ica_callBothThe agent's own accounts on other chains, and calls from them within its limits (Agents)
xe_remote_limits, xe_remote_checkBothA key's remote section, and a dry run against the node
xe_remote_dispatchLocalCalls from the person's own interchain account, signed by a delegated key with the remote permission
xe_services, xe_service_quote, xe_service_events, xe_service_resultBothFind, price, follow and read service requests
xe_attestationBothThe validators' attestation of an outcome, and hook data for XEGuardHook
xe_service_request, xe_service_publishLocalAsk a service from an agent wallet; send a settled outcome to a contract on another chain
xe_routes, xe_route_transferBoth / LocalRoutes and their quotes; send tokens through a route
xe_composeLocalPreview a multi-step cross-chain plan, then execute it with the person's approval of its hash
xe_pay_request, xe_evm_wallets, xe_evm_wallet_createBoth / LocalPay x402 invoices, including XE Pay from an agent's EVM wallet in USDC
xe_solana_wallet, xe_solana_send, xe_solana_executeLocalAn account's Solana wallet; send SOL or USDC; run instructions (only with XE_SOLANA_EXECUTE=on)
xe_e2ee_keys, xe_e2ee_seal, xe_e2ee_openLocalSealed inference: keys, seal to an attested key, verify the receipt and open (Private AI)
xe_networks, xe_account, xe_balance, xe_history, xe_blockBothChain reads; xe_networks lists interop for XE Sim Interop

Local settings that bound agents: XE_LOCAL_SOL_* and XE_LOCAL_USDC_* for Solana and EVM spending, XE_SOLANA=off and XE_COMPOSE=off to hide tools, and XE_MIN_GRADE for private inference.

To run the local server against XE Sim Interop:

shell
XE_INTEROP_URL=https://xe-sim-interop.enter-38b.workers.dev XE_NETWORK=interop node agent/build/xe-local-mcp.mjs

The MCP package isn't published to npm yet. It ships from the xe-kit workspace.