CLI Guide

Command-line interface for FundTracer. Analyze wallets directly from your terminal.

Overview

The FundTracer CLI allows you to analyze wallet addresses directly from your terminal. It's perfect for automation, batch processing, and integrating into your workflows.

Prerequisites

Node.js 18+ and npm or yarn installed on your system.

Installation

# Install globally via npm
npm install -g fundtracer-cli

# Or via yarn
yarn global add fundtracer-cli

# Verify installation
fundtracer --version

Commands

Analyze a Wallet

fundtracer analyze 0x742d35Cc6634C0532925a3b844Bc9e7595f5b2a1 --chain ethereum

Get Funding Tree

fundtracer funding-tree 0x742d35Cc6634C0532925a3b844Bc9e7595f5b2a1 --depth 3

Compare Wallets

fundtracer compare 0x123... 0x456...

Export Results

fundtracer analyze 0x742d... --format json --output results.json

Configuration

Set your API key using the FT_API_KEY environment variable or configure it in the CLI settings:

# Set API key
fundtracer config set-api-key ft_live_your_api_key

# View current config
fundtracer config show