Skip to main content
FDX is a command-line interface to the Finance District MCP wallet server. It gives AI agents crypto wallet capabilities — hold, send, swap, and earn yield on assets across multiple chains — without managing private keys. FDX is built for advanced users and environments where agents have access to CLI tooling and bash — Docker containers, CI pipelines, remote servers, and scripted automation. Agents invoke fdx wallet <method> or fdx prism <method> from the command line and parse JSON output. FDX also powers the Agent Wallet CLI Skills, which plug it directly into OpenClaw, GitHub Copilot, and 40+ other agentic platforms.
  • No Key Management — Email OTP authentication. No seed phrases. No private key files.
  • Agent-Native — Structured JSON input/output designed for tool-calling agents.
  • Multi-Chain — Ethereum, BSC, Arbitrum, Base, Solana, Bitcoin, Sui. One wallet, all chains.
  • DeFi Enabled — Transfer, swap, and earn yield through integrated DeFi protocols.
For full documentation, architecture details, and development instructions, see the FDX GitHub repository.

Quick Start

Install globally:
Register a new account:
Enter the 8-digit OTP sent to your email:
Check that authentication succeeded:
For subsequent sessions, sign in with:
To remove stored credentials:
Watch this install and login flow at 09:20 in the Agent Wallet setup tutorial.

Authentication

FDX uses email one-time passcode (OTP) authentication via Microsoft Entra External ID. No browser is required — the entire flow runs headlessly, making it ideal for autonomous agents, Docker containers, CI pipelines, and remote servers.

Register (first time)

Login (returning users)

Token storage

Tokens are stored in the OS credential store where available: If no credential store is available (e.g. a minimal container), tokens fall back to plaintext in ~/.fdx/auth.json with a SecurityWarning emitted. Tokens are refreshed automatically using the stored refresh token.

Logging out

Removes stored tokens from the OS credential store and clears ~/.fdx/auth.json.

Usage

Wallet tools use the fdx wallet subcommand and Prism tools use fdx prism:
All output is JSON, making it easy for agents to parse:
Run fdx wallet without arguments to see all available wallet methods. Run fdx services to see all available services.
fdx call <method> was deprecated in v0.4.0 and now exits with an error. Use fdx wallet <method> for wallet tools or fdx prism <method> for Prism tools.

Services

Two services are available:

Configuration

FDX reads configuration from three sources, in order of precedence:
  1. Environment variables (highest priority — see fdx --help for the full list)
  2. Persistent config file at ~/.fdx/config.json
  3. Built-in defaults (lowest priority)

Inspect current config

Prints the resolved values for Entra auth, MCP service URLs, and storage/log paths. Each value is labeled with its source — (env), (config), or (default).

Persist a value

Writes the value to ~/.fdx/config.json. Useful when you don’t want to set an environment variable for every session — for example, pointing a long-running agent at a custom gateway URL.

Read or remove a persisted value

Supported keys

Using FDX with Agent Frameworks

FDX is designed to work with agent frameworks where the agent can execute shell commands.

Tool-calling agents

Most agent frameworks let you define custom tools. Wrap FDX as a shell tool:

Script-based automation

For deeper integration patterns with specific frameworks, see Agent Frameworks.

FDX vs. MCP Server

FDX and MCP server connect to the same backend and offer the same capabilities: Choose MCP when your agent or AI client supports MCP natively. Choose FDX when you need terminal access or are integrating with a framework that runs shell commands.
Last modified on August 3, 2026